#15865: py25-numpy build error ------------------------------------+--------------------------------------- Reporter: nelson.uhan@gmail.com | Owner: ram@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Comment (by blb@macports.org): Replying to [comment:10 blb@macports.org]:
To those for whom this is failing, how is fftw-3 installed on your machine (use {{{port installed fftw-3}}})? The default install of that appears to not require any sort of fortran compiler, so perhaps without one installed, f2py isn't built?
Ignore that, that isn't the issue. The issue is in {{{numpy/f2py/setup.py}}}, in {{{generate_f2py_py}}} it generates the name for f2py with: {{{ f2py_exe = 'f2py'+os.path.basename(sys.executable)[6:] }}} so if python2.5 is being used, 2.5 is appended to it; if just python, no version is appended. Sounds like the post-destroot should check to see if it's already installed as f2py2.5 and if so, do nothing, otherwise rename it. The big question is why some don't append 2.5? My older version which is currently installed (1.0.4) installed fine, but trying to build 1.1.0 hit this same issue; could be related to the fact that I have an older python25 (2.5.2_2) installed? Or perhaps using python_select, which I don't have installed? -- Ticket URL: <http://trac.macports.org/ticket/15865#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS