This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smartmobili
Recipients smartmobili
Date 2009-06-24.13:10:10
SpamBayes Score 1.4855339e-12
Marked as misclassified No
Message-id <1245849042.65.0.399048729588.issue6335@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I can see that python still doesn't support mingw environnment whil
during past years some people provided some patch.
I wanted recently to compile Python-3.0.1 on mingw and I have found a
patch in a svn repository of a opensource project(don't remember which
one)- So I attach it and I hope it will studied by python dev.
Generally it's not very difficult, you should add some #ifdef
__MINGW32__ when needeed and hack around these lines.
Don't understand you still don't support it.

So this patch is a first step because it doesn't work very well, I mean
I had to copy manually errmap.h from PC to include folder.
And after I get an issue :

gcc -L/usr/local/lib  -o python.exe \
                Modules/python.o \
                libpython3.0.a    -lm
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module named encodings.utf_8

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
make: *** [sharedmods] Error 3
History
Date User Action Args
2009-06-24 13:10:43smartmobilisetrecipients: + smartmobili
2009-06-24 13:10:42smartmobilisetmessageid: <1245849042.65.0.399048729588.issue6335@psf.upfronthosting.co.za>
2009-06-24 13:10:40smartmobililinkissue6335 messages
2009-06-24 13:10:40smartmobilicreate