numpy error

Ryan Schmidt ryandesign at macports.org
Tue Jun 17 02:01:34 PDT 2008


On Jun 16, 2008, at 1:26 PM, Lenore Horner wrote:

> I'm installing Gnumeric as the first port on a brand new MacPorts
> installation on an Intel iMac.  The ProblemsHotlist and
> LeopardProblems pages have gotten me through several hiccups, but now
> I've got something I don't remember seeing on this mailing list.
>
> Numpy failed so I was going to clean and install which has fixed
> problems 2 or 3 times.  However I get the following error that doesn't
> make sense to me.
>
> sudo port clean --all py25-numpy
> Password:
> --->  Cleaning py25-numpy
> Warning: Distfiles directory '/opt/local/var/macports/distfiles/
> python' may contain distfiles needed for other ports, use the -f flag
> to force removal
>
> Why is it going to python rather than phython/py25-numpy?
>
> Thanks,
> Lenore
>
> Here's the barf that caused me to try cleaning.  (I think it's the
> usual problem with Leopard.)

It does look like the usual Leopard environment variables issue, yes.

You don't need to clean --all (which also cleans the downloaded  
distfiles, which are not corrupted and don't need to be cleaned). You  
just need to clean --work (which cleans only the work area).

> --->  Verifying checksum(s) for py25-numpy
> --->  Checksumming numpy-1.1.0.tar.gz
> --->  Extracting py25-numpy
> --->  Extracting numpy-1.1.0.tar.gz
> --->  Applying patches to py25-numpy
> --->  Applying /opt/local/var/macports/sources/rsync.macports.org/
> release/ports/python/py25-numpy/files/patch-g95_link.diff
> patching file numpy/distutils/fcompiler/g95.py
> --->  Configuring py25-numpy
> --->  Building py25-numpy with target build
> Running from numpy source directory.
> non-existing path in 'numpy/distutils': 'site.cfg'
> F2PY Version 2_5237
> blas_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/
> vecLib.framework/Headers']
>
> lapack_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-msse3']
>
> running build
> running scons
> customize UnixCCompiler
> Could not locate executable -DNDEBUG
> error: Could not find compiler executable info for scons
> 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-numpy/work/numpy-1.1.0" && /
> opt/local/bin/python2.5 setup.py build " returned error 1
> Command output: Running from numpy source directory.
> non-existing path in 'numpy/distutils': 'site.cfg'
> F2PY Version 2_5237
> blas_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/
> vecLib.framework/Headers']
>
> lapack_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-msse3']
>
> running build
> running scons
> customize UnixCCompiler
> Could not locate executable -DNDEBUG
> error: Could not find compiler executable info for scons
>
> Warning: the following items did not execute (for py25-numpy):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: The following dependencies failed to build: py25-gtk py25-cairo
> py25-numpy
> Error: Status 1 encountered during processing.



More information about the macports-users mailing list