[SciPy-dev] scipy_distutils under cygwin using DF

Pearu Peterson pearu at scipy.org
Wed Mar 24 13:38:50 CST 2004



On Wed, 24 Mar 2004, [ISO-8859-15] Berthold Höllmann wrote:

> Hello,
> 
> I try to compile some python extension libraries under
> WinXP/cygwin. The fortran codes need DF, no chance for g77. But I get:
> 
> changing "compile_switch" in fcompiler.py from '/compile_only ' to
> '/compile_only'  solves this problem, but now I get:

Ok, thanks for this information. This is now also in CVS.


> DF:f77: lib\numfort\NB.F
> DF /f77rtl /fixed /nologo /MD /WX /iface=(cref,nomixed_str_len_arg) /names:lowercase /assume:undersc
> ore /Ox /fast /optimize:5 /unroll:0 /math_library:fast /threads -Ilib\numfort -c /compile_only lib\n
> umfort\NB.F /object:build\temp.win32-2.3\lib\numfort\NB.o
> Visual
> lib\numfort\NB.F
> f90: Severe: No such file or directory
> ... file is 'Visual'
> error: Command "DF /f77rtl /fixed /nologo /MD /WX /iface=(cref,nomixed_str_len_arg) /names:lowercase
>  /assume:underscore /Ox /fast /optimize:5 /unroll:0 /math_library:fast /threads -Ilib\numfort -c /co
> mpile_only lib\numfort\NB.F /object:build\temp.win32-2.3\lib\numfort\NB.o" failed with exit status 1
> 
> make: *** [build] Error 1
> 
> I have no idea where the "Visual" is coming from. Is there anyone who
> can help me?

Yes, the current scipy_distutils.exec_command had issues on Windows when a 
the full path of an executable (like of DF) contains spaces. This is now 
fixed in CVS.

Pearu




More information about the Scipy-dev mailing list