[SciPy-dev] scipy distutils from CVS does not build code for fortran libraries

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


Hello,

I tried to compile a project of ours under solaris5. I gave

PYTHONPATH="/home/hoel/work/GLPy/lib:/home/hoel/work/GLPy/build/lib.solaris-2.8-sun4u-2.2:" python setup_Engmodel.py config_fc --fcompiler=sun build_src build_clib build_ext
...
customize SunFCompiler
customize SunFCompiler using build_clib
********************************************************************************
scipy_distutils.sunfcompiler.SunFCompiler
archiver        = ['ar', '-cr']
version_cmd     = ['f90', '-V']
compiler_f77    = ['f90', '-f77', '-ftrap=%none', '-xcode=pic32']
linker_so       = ['f90', '-Bdynamic', '-G']
compiler_fix    = ['f90', '-fixed', '-xcode=pic32']
ranlib          = ['ranlib']
compiler_f90    = ['f90', '-xcode=pic32']
version         = None
libraries       = ['fsu', 'sunmath', 'mvec', 'f77compat']
library_dirs    = []
object_switch   = '-o '
compile_switch  = '-c'
include_dirs    = []
********************************************************************************
building 'engforcegen' library
compling Fortran sources
creating build.Engmodel/temp.solaris-2.8-sun4u-2.2
creating build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib
creating build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen
f90:f77: lib/engforcegen/engforcelib.f
f90:f77: lib/engforcegen/totalforces.f
f90:f77: lib/engforcegen/foucoefftable.f
f90:f77: lib/engforcegen/esrheader.f
f90:f77: lib/engforcegen/pphase.f
f90:f77: lib/engforcegen/excnodes.f
f90:f77: lib/engforcegen/fourier.f
f90:f77: lib/engforcegen/cylphase.f
f90:f77: lib/engforcegen/esrdata.f
f90:f77: lib/engforcegen/normangle.f
f90:f77: lib/engforcegen/cylforces.f
ar: adding 11 object files to build.Engmodel/temp.solaris-2.8-sun4u-2.2/libengforcegen.a
error: Command "ar -cr build.Engmodel/temp.solaris-2.8-sun4u-2.2/libengforcegen.a build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/engforcelib.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/cylforces.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/cylphase.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/esrdata.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/esrheader.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/excnodes.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/foucoefftable.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/fourier.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/pphase.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/totalforces.o build.Engmodel/temp.solaris-2.8-sun4u-2.2/lib/engforcegen/normangle.o" failed with exit status 1

all the ".o" files are missing. Just another problem with "exec_command"?

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