Bug 199961 - dev-python/pyopengl-2.0.1.09-r1 fails to build
|
Bug#:
199961
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: python@gentoo.org
|
Reported By: jarausch@igpm.rwth-aachen.de
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: dev-python/pyopengl-2.0.1.09-r1 fails to build
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-11-22 10:54 0000
|
Building pyopengl-2.0.1.09-r1 it fails
first with
SWIG Version 1.3.32
...
WARNING!!! wrong swig version. Need 1.3.13, continuing anyway.
and that fails lateron, first error being
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=i686 -pipe -fPIC
-DGLX_PLATFORM -DNUMERIC -I/usr/include/python2.5 -I/usr/include
-I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include
-I/usr/include/python2.5/pygsl -I/usr/include/python2.5/numarray
-I/usr/include/python2.5/Numeric -I/usr/include -I/usr/local/include
-I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.5/pygsl
-I/usr/include/python2.5/numarray -I/usr/include/python2.5/Numeric -c
src/interface_util/interface_util.c -o
build/temp.linux-i686-2.5/src/interface_util/interface_util.o
src/interface_util/interface_util.c: In function
'_PyObject_FromUnsignedCharArray':
src/interface_util/interface_util.c:124: error: 'PyArray_API' undeclared (first
use in this function)
The ancient 1.3.13 ofr swig is no longer available in GenToo, Furthermore
it's ugly to temporarily downgrade for just one package.
Is there another solution?
Thanks,
Helmut.
Reproducible: Always
(In reply to comment #0)
> The ancient 1.3.13 ofr swig is no longer available in GenToo, Furthermore
> it's ugly to temporarily downgrade for just one package.
> Is there another solution?
This swig message is just a warning and unrelated to the real problem here.
Please, post the output of:
# emerge -pv numarray numeric numpy
(In reply to comment #2)
> Please, post the output of:
> # emerge -pv numarray numeric numpy
>
emerge -pv numarray numeric numpy
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-python/numarray-1.5.2-r1 [1.3.1] USE="doc%* -lapack%" 1,367
kB
[ebuild R ] dev-python/numeric-24.2-r6 USE="doc -lapack (-debug%)" 0 kB
[ebuild R ] dev-python/numpy-1.0.4 USE="-lapack" 0 kB
Helmut, do you have python-2.4 installed? If so try to unmerge it and pyopengl
(do not forget to quickpkg it just in case) and try to install pyopengl again.
This helped me to workaround the same problem with
dev-python/pyopengl-2.0.0.44.
Ok, put pyopengl-3.0.0_beta1 in the tree.
Since PyOpenGL-3.x uses ctypes instead of swig, this problem is fixed.