Opened 15 years ago
Closed 14 years ago
#24018 closed defect (fixed)
gsl1.13 breaks py-gsl and py25-gsl
Reported by: | glen.henshaw@… | Owned by: | jochen@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | michaelld (Michael Dickens), glen.henshaw@… | |
Port: | py-gsl py25-gsl |
Description (last modified by mf2k (Frank Schima))
py-gsl will not build. It halts with the following error:
---> Building py25-gsl 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-gsl/work/pygsl-0.9.1" && /opt/local/bin/python2.5 setup.py --no-user-cfg build --array-object=numpy " returned error 1 Command output: building 'const' extension C compiler: /usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/gsl -I/opt/local/include/python2.5 -I/opt/local/include compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=0 -DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/opt/local/include -IInclude -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c' gcc-4.2: src/constmodule.c In file included from src/constmodule.c:62: src/const_cgs_array.c:17: error: 'GSL_CONST_CGS_BOHR_MAGNETON' undeclared here (not in a function) src/const_cgs_array.c:18: error: 'GSL_CONST_CGS_NUCLEAR_MAGNETON' undeclared here (not in a function) src/const_cgs_array.c:19: error: 'GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT' undeclared here (not in a function) src/const_cgs_array.c:20: error: 'GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT' undeclared here (not in a function) src/const_cgs_array.c:79: error: 'GSL_CONST_CGS_FARADAY' undeclared here (not in a function) src/const_cgs_array.c:80: error: 'GSL_CONST_CGS_ELECTRON_CHARGE' undeclared here (not in a function) src/const_cgs_array.c:81: error: 'GSL_CONST_CGS_GAUSS' undeclared here (not in a function) In file included from src/constmodule.c:76: src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared here (not in a function) src/const_cgsm_array.c:80: error: initializer element is not constant src/const_cgsm_array.c:80: error: (near initialization for 'cgsm_array[79].value') In file included from src/constmodule.c:62: src/const_cgs_array.c:17: error: 'GSL_CONST_CGS_BOHR_MAGNETON' undeclared here (not in a function) src/const_cgs_array.c:18: error: 'GSL_CONST_CGS_NUCLEAR_MAGNETON' undeclared here (not in a function) src/const_cgs_array.c:19: error: 'GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT' undeclared here (not in a function) src/const_cgs_array.c:20: error: 'GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT' undeclared here (not in a function) src/const_cgs_array.c:79: error: 'GSL_CONST_CGS_FARADAY' undeclared here (not in a function) src/const_cgs_array.c:80: error: 'GSL_CONST_CGS_ELECTRON_CHARGE' undeclared here (not in a function) src/const_cgs_array.c:81: error: 'GSL_CONST_CGS_GAUSS' undeclared here (not in a function) In file included from src/constmodule.c:76: src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared here (not in a function) src/const_cgsm_array.c:80: error: initializer element is not constant src/const_cgsm_array.c:80: error: (near initialization for 'cgsm_array[79].value') error: Command "/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/gsl -I/opt/local/include/python2.5 -I/opt/local/include -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=0 -DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/opt/local/include -IInclude -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/constmodule.c -o build/temp.macosx-10.6-i386-2.5/src/constmodule.o" failed with exit status 1 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
A quick Google search indicates that this is caused by an incompatibility between gsl 1.13 and py-gsl:
http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg31697.html
Change History (4)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | gsl removed |
Owner: | changed from macports-tickets@… to jochen@… |
Port: | py-gsl added |
comment:2 Changed 15 years ago by michaelld (Michael Dickens)
Cc: | michaelld@… added |
---|
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!