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

Berthold Höllmann hoel at gl-group.com
Fri Mar 26 03:02:07 CST 2004

Pearu Peterson <pearu at cens.ioc.ee> writes:

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

I did a "cvs update" in scipy and "python setup.py install" in
scipy_core but still get

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         = None
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
make: *** [build] Error 1

My cygwin does find the DF executable:

hoel at PC021358 ~/work/GLPy/test
$ DF /what
Compaq Visual Fortran Optimizing Compiler Version 6.1 (Update A)
Copyright 2000 Compaq Computer Corp. All rights reserved.

Compaq Visual Fortran 6.1-970-42A1L
c:\Programme\Microsoft Visual Studio\DF98\bin\decfor90.exe

hoel at PC021358 ~/work/GLPy/test
$ which DF
/cygdrive/c/Programme/Microsoft Visual Studio/DF98/bin/DF

Mit freundlichen Grüßen
Kind regards

Berthold Höllmann
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: hoel at gl-group.com
Internet: http://www.gl-group.com 
This e-mail contains confidential information for the exclusive attention of the intended addressee. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail.  
GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc.  

More information about the Scipy-dev mailing list