[SciPy-dev] Re: scipy_distutils under cygwin using DF

Pearu Peterson pearu at cens.ioc.ee
Thu Mar 25 09:29:29 CST 2004


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

> Thanks a lot, the fortran compilation works now, but! I can't compile
> C source files anymore:
> 
> ********************************************************************************
> scipy_distutils.compaqfcompiler.CompaqVisualFCompiler
> version_cmd     = ['DF', '/what']
> compiler_fix    = ['DF', '/fixed', '/nologo', '/MD', '/WX', '/iface=(cref,nomixed_str_len_arg)', '/names:lowercase', '/assume:underscore', '/Ox', '/fast', '/optimize:5', '/unroll:0', '/math_library:fast', '/threads']
> ranlib          = None
> archiver        = ['C:\\Programme\\Microsoft Visual Studio\\VC98\\BIN\\lib.exe', '/OUT:']
> compiler_f77    = ['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']
> linker_so       = ['DF']
> compiler_f90    = ['DF', '/nologo', '/MD', '/WX', '/iface=(cref,nomixed_str_len_arg)', '/names:lowercase', '/assume:underscore', '/Ox', '/fast', '/optimize:5', '/unroll:0', '/math_library:fast', '/threads']
> version         = LooseVersion ('6.1')
> libraries       = []
> library_dirs    = ['c:\\Python23\\libs', 'c:\\Python23\\PCBuild', 'build\\temp.win32-2.3']
> object_switch   = '/object:'
> compile_switch  = '/compile_only'
> include_dirs    = ['c:\\Python23\\include', 'c:\\Python23\\PC']
> ********************************************************************************
> building 'SXFPyBase' extension
> compling C sources
> C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -DDEBUG -DVISUAL_CPLUSPLUS -Ilib\SXFPyBase -I"f:\DATA\FBE\ESC\Devel\include" -Ibuild\src -Ic:\Python23\include-Ic:\Python23\PC /Tcbuild\src\lib\SXFPyBase\SXFPyBasemodule.c /Fobuild\temp.win32-2.3\Release\build\src\lib\SXFPyBase\SXFPyBasemodule.obj
> Could not locate executable "C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe"
> Executable "C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe" does not exist
> "C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe" /c /nologo /Ox /MD /W3 /GX /DNDEBUG -DDEBUG -DVISUAL_CPLUSPLUS -Ilib\SXFPyBase -I"f:\DATA\FBE\ESC\Devel\include" -Ibuild\src -Ic:\Python23\include -Ic:\Python23\PC /Tcbuild\src\lib\SXFPyBase\SXFPyBasemodule.c /Fobuild\temp.win32-2.3\Release\build\src\lib\SXFPyBase\SXFPyBasemodule.obj
> 
> error: Command ""C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe" /c /nologo /Ox /MD /W3 /GX /DNDEBUG -DDEBUG -DVISUAL_CPLUSPLUS -Ilib\SXFPyBase -I"f:\DATA\FBE\ESC\Devel\include" -Ibuild\src -Ic:\Python23\include -Ic:\Python23\PC /Tcbuild\src\lib\SXFPyBase\SXFPyBasemodule.c /Fobuild\temp.win32-2.3\Release\build\src\lib\SXFPyBase\SXFPyBasemodule.obj" failed with exit status 1
> 
> Is this a related problem, than can be solved equally fast?

Yes, it appears that path to a C compiler is double quoted. This is now
fixed in CVS.

Thanks,
Pearu




More information about the Scipy-dev mailing list