[MacPorts] #15865: py25-numpy build error
MacPorts
noreply at macports.org
Tue Jul 22 22:38:43 PDT 2008
#15865: py25-numpy build error
------------------------------------+---------------------------------------
Reporter: nelson.uhan at gmail.com | Owner: ram at macports.org
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by blb at macports.org):
Replying to [comment:10 blb at 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
More information about the macports-tickets
mailing list