Message89663
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 |
|
Date |
User |
Action |
Args |
2009-06-24 13:10:43 | smartmobili | set | recipients:
+ smartmobili |
2009-06-24 13:10:42 | smartmobili | set | messageid: <1245849042.65.0.399048729588.issue6335@psf.upfronthosting.co.za> |
2009-06-24 13:10:40 | smartmobili | link | issue6335 messages |
2009-06-24 13:10:40 | smartmobili | create | |
|