.... building '_gslwrap' extension C compiler: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=penti um-m -fPIC compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION= 1 -DPYGSL_GSL_MINOR_VERSION=10 -UNDEBUG -I/usr/include -IInclude -I. -I/usr/lib/python2.4 /site-packages/numpy/core/include -I/usr/include/python2.4 -c' i686-pc-linux-gnu-gcc: swig_src/gslwrap_wrap.c swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv2_get': swig_src/gslwrap_wrap.c:23491: error: 'gsl_eigen_francis_workspace' has no member named ' hv2' swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv3_get': swig_src/gslwrap_wrap.c:23512: error: 'gsl_eigen_francis_workspace' has no member named ' hv3' swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv2_get': swig_src/gslwrap_wrap.c:23491: error: 'gsl_eigen_francis_workspace' has no member named ' hv2' swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv3_get': swig_src/gslwrap_wrap.c:23512: error: 'gsl_eigen_francis_workspace' has no member named ' hv3' error: Command "i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=p entium-m -fPIC -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 - DPYGSL_GSL_MINOR_VERSION=10 -UNDEBUG -I/usr/include -IInclude -I. -I/usr/lib/python2.4/si te-packages/numpy/core/include -I/usr/include/python2.4 -c swig_src/gslwrap_wrap.c -o bui ld/temp.linux-i686-2.4/swig_src/gslwrap_wrap.o" failed with exit status 1 Reproducible: Always
Hi Andrey, What is the gsl version? gsl-1.10 (in the science overlay only) had some changes in the eigen value decomp. routines. Sébastien.
Yes, it's gsl-1.10 from the overlay. Should I downgrade?
Created attachment 132480 [details, diff] pygsl-0.9.1.ebuild.patch Could you try this patch on the ebuild? It forces swig regeneration.
Now it compiles without errors, but I still cannot use it: grozin@gandalf ~ $ python Python 2.4.4 (#1, Sep 6 2007, 02:07:07) [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygsl.math Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/pygsl/math.py", line 6, in ? import pygsl._gslwrap ImportError: /usr/lib/python2.4/site-packages/pygsl/_gslwrap.so: undefined symbol: t_output_helper
(In reply to comment #4) > Now it compiles without errors, but I still cannot use it: Yes you're right and many tests fail. I contacted upstream. Other distribs seem to have the problem. Meanwhile, I added pygsl-0.9.0 which builds fine with gsl-1.9 and gsl-1.10 on my boxes. I forced pygsl-0.9.1 to depend on earlier versions than gsl-1.9 and masked it.
pygsl-0.9 works OK. Thanks.