Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 pysl fails to install dependent on gsl version

open
nobody
setup tool (4)
5
2010-01-25
2010-01-25
Anonymous
No

pygsyl 0.9.4 installs on gsl 1.12
pygsyl 0.9.4 fails to instal on gsl.1.13

A portion of the error message follows:

compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/home/jupiter/rps/baseline2010/gsl-1.13/pkg/include -IInclude -I. -I/home/jupiter/rps/baseline2010/python-2.6.2/pkg/lib/python2.6/site-packages/numpy/core/include -I/home/jupiter/rps/baseline2010/python-2.6.2/pkg/include/python2.6 -c'
gcc: src/constmodule.c
In file included from src/constmodule.c:58:
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:72:
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:58:
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:72:
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 "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/home/jupiter/rps/baseline2010/gsl-1.13/pkg/include -IInclude -I. -I/home/jupiter/rps/baseline2010/python-2.6.2/pkg/lib/python2.6/site-packages/numpy/core/include -I/home/jupiter/rps/baseline2010/python-2.6.2/pkg/include/python2.6 -c src/constmodule.c -o build/temp.linux-i686-2.6/src/constmodule.o" failed with exit status 1

Discussion