[SciPy-user] Fortran issue with Building Python on Mac os X panther!

rajb rajb at cs.rice.edu
Tue Jul 12 10:44:29 CDT 2005


Hi, while building scipy on Mac OS X (G5 processor), I get a bunch of  
errors as given below

The latter part of the errors has to do with the fact that uses the  
Nagware f95 compiler to compile stuff. How can I make the building  
process try some other compiler, or at least skip the Nagware  
compiler? I've been racking my head over this for a while, so please  
help!

Raj
-------------------------------------------------------------
building library "superlu_src" sources
running build_py
copying build/src/scipy/scipy/config.py -> build/lib.darwin-7.9.0- 
Power_Macintosh-2.4/scipy
package init file 'Lib/tests/__init__.py' not found (or not a regular  
file)
package init file '/Users/rajb/research/TelescopingCode/ 
SciPy_complete-0.3.2/Lib/cluster/tests/__init__.py' not found (or not  
a regular file)
package init file '/Users/rajb/research/TelescopingCode/ 
SciPy_complete-0.3.2/Lib/fftpack/tests/__init__.py' not found (or not  
a regular file)
package init file '/Users/rajb/research/TelescopingCode/ 
SciPy_complete-0.3.2/Lib/fftpack/tests/__init__.py' not found (or not  
a regular file)
package init file '/Users/rajb/research/TelescopingCode/ 
SciPy_complete-0.3.2/Lib/gui_thread/tests/__init__.py' not found (or  
not a regular file)

followed by

customize UnixCCompiler using build_clib
customize NAGFCompiler
customize NAGFCompiler
customize NAGFCompiler using build_clib
building 'mach' library
compiling Fortran sources
f95(f77) options: '-fixed -O4'
f95(f90) options: '-O4'
f95(fix) options: '-fixed -O4'
compile options: '-c'
f95:f77: Lib/special/mach/r1mach.f
-c option specified twice, continuing
Note: On some machines, -ieee=full may be needed for best performance
Obsolescent: Lib/special/mach/r1mach.f, line 1: Fixed source form
Error: Lib/special/mach/r1mach.f, line 173: Inconsistent structure  
for arg 1 in call to I1MCRA
[f95 error termination]
error: Command "f95 -fixed -O4 -c -c Lib/special/mach/r1mach.f -o  
build/temp.darwin-7.9.0-Power_Macintosh-2.4/Lib/special/mach/ 
r1mach.o" failed with exit status 2




More information about the SciPy-user mailing list