[SciPy-user] weave and mingw on win xp sp2 bug?

mani sabri mani.sabri@gmail....
Sat Dec 29 03:08:18 CST 2007



Yeah, exactly. do you know where is the code responsible for it? I wasn't
able to find the code for -c option because it does not exist in "-c " form
in any .py file in weave subdir. May be it is in makefile.in. imho this will
be solved by putting quotes around the file path. 


p.s: numpy.distutils.tests() runs without this problem from the same path.!
("C:\program files\Python24..")



From: scipy-user-bounces@scipy.org [mailto:scipy-user-bounces@scipy.org] On
Behalf Of Matthieu Brucher
Sent: Saturday, December 29, 2007 12:06 PM
To: SciPy Users List
Subject: Re: [SciPy-user] weave and mingw on win xp sp2 bug?



The problem is the space in the name of the folder. It should not be there
(Python is usually not installed in Program Files). This problem arises
regularly with Linux too for inclusion paths with some tools.


2007/12/29, mani sabri <mani.sabri@gmail.com>:

CompileError: error: Command "g++ -mno-cygwin -O2 -Wall -I"C:\program
files\Python24\lib\site-packages\scipy\weave" -I"C:\program
files\Python24\lib\site-packages\scipy\weave\scxx" -I"C:\program
files\Python24\lib\site-packages\numpy\core\include" -I"C:\program
files\Python24\include" -I"C:\program files\Python24\PC" -c C:\program
files\Python24\lib\site-packages\scipy\weave\scxx\weave_imp.cpp -o
files\python24\lib\site-packages\scipy\weave\scxx\weave_imp.o" failed with
exit status 1

IMHO When I put quotes around -c argument  in above command (-c "C:\program
files\Python24\lib\site-packages\scipy\weave\scxx\weave_imp.cpp") every
thing is fine.

Can anyone help me to hack this around?



SciPy-user mailing list

French PhD student
Website : http://matthieu-brucher.developpez.com/ 
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071229/721f2a31/attachment.html 

More information about the SciPy-user mailing list