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

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


 

Hi

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?

 

Hi,

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.

Matthieu

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
c:\docume~1\man\locals~1\temp\man\python24_intermediate\compiler_12e837eb1ea
3ab5199fbcc0e83015e3f\Release\program
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
SciPy-user@scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user




-- 
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