MacPorts py-gsl installation failure
Jochen Küpper
jochen at fhi-berlin.mpg.de
Sat Apr 14 08:23:19 PDT 2007
Hi,
sorry to come in with so many problems, I am generally quite please
with MacPorts. However, it seems that the Python/Science ports I am
trying to install these days somehow don't work for me...
Anyway, that's what I get:
> sudo port install py-gsl
---> Fetching py-gsl
---> Verifying checksum(s) for py-gsl
---> Extracting py-gsl
---> Configuring py-gsl
---> Building py-gsl with target build
Error: Target com.apple.build returned: shell command "cd "/opt/local/
var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_python_py-gsl/work/pygsl-0.2.0" && CFLAGS="-I/opt/local/include -
I/opt/local/include/gsl" LDFLAGS=-L/opt/local/lib /opt/local/bin/
python2.4 setup.py build" returned error 1
Command output: swig_src/block_wrap.c: In function 'SWIG_ConvertPtr':
swig_src/block_wrap.c:450: warning: suggest explicit braces to avoid
ambiguous 'else'
swig_src/block_wrap.c: In function '_wrap_gsl_vector_complex_set_all':
swig_src/block_wrap.c:16391: warning: unused variable 'tmp2'
swig_src/block_wrap.c: In function '_wrap_gsl_matrix_complex_set_all':
swig_src/block_wrap.c:17102: warning: unused variable 'tmp2'
swig_src/block_wrap.c: At top level:
swig_src/block_wrap.c:170: warning: 'SWIG_TypeDynamicCast' defined
but not used
swig_src/block_wrap.c:182: warning: 'SWIG_TypeName' defined but not used
swig_src/block_wrap.c:188: warning: 'SWIG_TypeQuery' defined but not
used
swig_src/block_wrap.c:370: warning: 'SWIG_addvarlink' defined but not
used
swig_src/block_wrap.c:423: warning: 'SWIG_ConvertPtr' defined but not
used
swig_src/block_wrap.c:515: warning: 'SWIG_ConvertPacked' defined but
not used
/usr/bin/gcc-4.0 -bundle -undefined dynamic_lookup -L/opt/local/lib -
I/opt/local/include -I/opt/local/include/gsl build/temp.darwin-8.9.1-
i386-2.4/swig_src/block_wrap.o -L/opt/local/lib -Lbuild/
temp.darwin-8.9.1-i386-2.4 -lpygsl -lgsl -lgslcblas -lm -lpygsl -o
build/lib.darwin-8.9.1-i386-2.4/pygsl/__block.so
building '_siman' extension
creating build/temp.darwin-8.9.1-i386-2.4/src
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I/opt/local/include -I/opt/local/include/gsl -
DSWIG_COBJECT_TYPES=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 -
DPYGSL_GSL_MINOR_VERSION=9 -UNDEBUG -I/opt/local/include -IInclude -
I. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
include/python2.4 -I/opt/local/include/python2.4 -c src/simanmodule.c
-o build/temp.darwin-8.9.1-i386-2.4/src/simanmodule.o
src/simanmodule.c: In function 'PyGSL_siman_efunc':
src/simanmodule.c:129: error: array initialized from non-constant
array expression
src/simanmodule.c: In function 'PyGSL_siman_step':
src/simanmodule.c:189: error: array initialized from non-constant
array expression
src/simanmodule.c: In function 'PyGSL_siman_metric':
src/simanmodule.c:243: error: array initialized from non-constant
array expression
src/simanmodule.c: In function 'PyGSL_siman_print':
src/simanmodule.c:302: error: array initialized from non-constant
array expression
src/simanmodule.c: In function 'PyGSL_siman_copy':
src/simanmodule.c:352: error: array initialized from non-constant
array expression
src/simanmodule.c: In function 'PyGSL_siman_solve':
src/simanmodule.c:551: error: array initialized from non-constant
array expression
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Status 1 encountered during processing.
Greetings,
Jochen
--
Fritz-Haber-Institut der MPG -- Department of Molecular Physics
Faradayweg 4-6 (C1.03)
D-14195 Berlin, Germany
phone: +49-30-84135686
fax: +49-30-84135892
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070414/b2e0a3c5/PGP.bin
More information about the macports-users
mailing list