py25-scipy not compiling on Leopard
First of, many thanks to Eric for his efforts in putting py25-numpy, etc back to work on Leopard 10.5.1. Many thanks indeed. py25-scipy is now (to me, at least) the only last thorn; scipy fails asking for a Fortran compiler it cannot find. ... Could not locate executable f95 customize AbsoftFCompiler Could not locate executable f90 Could not locate executable f77 customize IBMFCompiler Could not locate executable xlf90 Could not locate executable xlf customize IntelFCompiler Could not locate executable ifort Could not locate executable ifc customize GnuFCompiler Could not locate executable g77 customize Gnu95FCompiler Could not locate executable gfortran customize G95FCompiler Could not locate executable g95 don't know how to compile Fortran code on platform 'posix' Traceback (most recent call last): File "setup.py", line 53, in <module> setup_package() File "setup.py", line 45, in setup_package configuration=configuration ) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/ core.py", line 176, in setup return old_setup(**new_attr) File "/opt/local/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/opt/local/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/opt/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/opt/local/lib/python2.5/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/opt/local/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/opt/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/opt/local/lib/python2.5/site-packages/numpy/distutils/ command/build_clib.py", line 83, in run self.fcompiler.customize(self.distribution) AttributeError: 'NoneType' object has no attribute 'customize' Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_python_py25-scipy/work/scipy-0.6.0" && / opt/local/bin/python2.5 setup.py build " returned error 1 Command output: Could not locate executable ifc customize GnuFCompiler Could not locate executable g77 customize Gnu95FCompiler Could not locate executable gfortran customize G95FCompiler Could not locate executable g95 don't know how to compile Fortran code on platform 'posix' Traceback (most recent call last): File "setup.py", line 53, in <module> setup_package() File "setup.py", line 45, in setup_package configuration=configuration ) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/ core.py", line 176, in setup return old_setup(**new_attr) File "/opt/local/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/opt/local/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/opt/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/opt/local/lib/python2.5/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/opt/local/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/opt/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/opt/local/lib/python2.5/site-packages/numpy/distutils/ command/build_clib.py", line 83, in run self.fcompiler.customize(self.distribution) AttributeError: 'NoneType' object has no attribute 'customize' Warning: the following items did not execute (for py25-scipy): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Could you correct this, please? Thanks in advance ---Luis
On 18/11/2007, Luís Beça <luis.beca@gmail.com> wrote:
First of, many thanks to Eric for his efforts in putting py25-numpy, etc back to work on Leopard 10.5.1. Many thanks indeed. py25-scipy is now (to me, at least) the only last thorn; scipy fails asking for a Fortran compiler it cannot find.
Which fortran compiler variant of py25-numpy have you built, g95 is the default? py25-scipy builds fine for me on Leopard using the gcc42 variant of py25-numpy. Cheers Adam
participants (2)
-
Adam Mercer
-
Luís Beça