Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15704 closed defect (fixed)

py25-scipy should depend on swig

Reported by: tom.duck@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: py25-scipy swig Cc:
Port:

Description

My installation py25-scipy failed due to a missing dependency: swig. After installing swig, the py25-scipy installation succeeds. I have given the error message below (port command re-run to demonstrate the essential failure):


$ sudo port install py25-scipy +no_gnuplot Password: ---> Building py25-scipy with target build 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 config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-4.3 --f90exec /opt/local/bin/gfortran-mp-4.3 build " returned error 1 Command output: adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.

adding 'build/src.macosx-10.3-i386-2.5/build/src.macosx-10.3-i386-2.5/scipy/linalg/flapack-f2pywrappers.f' to sources.

building extension "scipy.linalg.clapack" sources

adding 'build/src.macosx-10.3-i386-2.5/scipy/linalg/clapack.pyf' to sources.

f2py options: []

adding 'build/src.macosx-10.3-i386-2.5/fortranobject.c' to sources. adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.

building extension "scipy.linalg._flinalg" sources f2py options: []

adding 'build/src.macosx-10.3-i386-2.5/fortranobject.c' to sources. adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.

building extension "scipy.linalg.calc_lwork" sources f2py options: []

adding 'build/src.macosx-10.3-i386-2.5/fortranobject.c' to sources. adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.

building extension "scipy.linalg.atlas_version" sources building extension "scipy.linalg._iterative" sources f2py options: []

adding 'build/src.macosx-10.3-i386-2.5/fortranobject.c' to sources. adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.

building extension "scipy.linsolve._zsuperlu" sources building extension "scipy.linsolve._dsuperlu" sources building extension "scipy.linsolve._csuperlu" sources building extension "scipy.linsolve._ssuperlu" sources building extension "scipy.linsolve.umfpack.umfpack" sources

adding 'scipy/linsolve/umfpack/umfpack.i' to sources.

swig: scipy/linsolve/umfpack/umfpack.i swig -python -o build/src.macosx-10.3-i386-2.5/scipy/linsolve/umfpack/_umfpack_wrap.c -outdir build/src.macosx-10.3-i386-2.5/scipy/linsolve/umfpack scipy/linsolve/umfpack/umfpack.i unable to execute swig: No such file or directory error: command 'swig' failed with exit status 1

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by skymoo (Adam Mercer)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to ram@…
Status: newassigned

Is this on Tiger?

comment:2 in reply to:  1 Changed 16 years ago by tom.duck@…

Replying to ram@macports.org:

Is this on Tiger?

Yes. And it is a fresh install of MacPorts, with the installation of py25-scipy preceded only by python25 itself. --Tom

comment:3 in reply to:  1 Changed 16 years ago by jmroot (Joshua Root)

MacPorts swig is version 1.3.35 as opposed to 1.3.31 for /usr/bin/swig on Leopard, so for consistency's sake the swig port should be a dependency everywhere.

comment:4 Changed 16 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

swig added as a dependency in r37753, thanks

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.