Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80057 (PyOpenGL-ATI) - error occured when compiling pyopengl 2.0.0.44
Summary: error occured when compiling pyopengl 2.0.0.44
Status: RESOLVED FIXED
Alias: PyOpenGL-ATI
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2005-01-30 05:43 UTC by Christoph Ambichl
Modified: 2005-02-03 16:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Ambichl 2005-01-30 05:43:26 UTC
I use KDE-3.3.2 and the new ati-drivers (ati-drivers-3.14.6) from xorg (xorg-x11-6.7.0-r3).

Topmost build error:
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license'
  warnings.warn(msg)
running build
running build_w
swig -version
unable to execute swig: No such file or directory
warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source.
running build_py
gcc -pthread -fno-strict-aliasing -DNDEBUG -march=athlon-mp -O2 -pipe -fPIC -DGLX_PLATFORM -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c _configtest.c -o _configtest.o
In file included from _configtest.c:4:
src/config.h:59:20: GL/glx.h: No such file or directory
src/config.h:73:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from _configtest.c:4:
/usr/X11R6/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from _configtest.c:4:
/usr/X11R6/include/GL/glu.h:262: error: parse error before '*' token

and so on and the build of pyopengl failed.

I tried to update-opengl ati (and x11-xorg) with these results:
 * Detected X 6.7 series, revision 3
 * This version requires >=x11-base/xorg-x11-6.8.0-r4


Reproducible: Always
Steps to Reproduce:
1. [emerge ati-drivers]
2. emerge gimp
3.

Actual Results:  
[...]
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution
option is deprecated; use 'license'
  warnings.warn(msg)
running build
running build_w
swig -version
unable to execute swig: No such file or directory
warning: build_w: Can't find SWIG, will just have to do with the existing
wrapper source.
running build_py
gcc -pthread -fno-strict-aliasing -DNDEBUG -march=athlon-mp -O2 -pipe -fPIC
-DGLX_PLATFORM -I/usr/include -I/usr/local/include -I/usr/X11R6/include
-I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c _configtest.c
-o _configtest.o
In file included from _configtest.c:4:
src/config.h:59:20: GL/glx.h: No such file or directory
src/config.h:73:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from _configtest.c:4:
/usr/X11R6/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from _configtest.c:4:
/usr/X11R6/include/GL/glu.h:262: error: parse error before '*' token

[...]

and so on and the build of pyopengl failed.

Expected Results:  
a working version of Gimp 2

Notebook with ATI Radeon Mobility 9600

FROM ererge --info:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 29 2005, 02:16:13)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.4_p6, 1.9.4, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt
cupsdvd emacs encode f77 fam flac font-server foomaticdb fortran gdbm gif gpm
gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts
usb xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-02 15:39:59 UTC
Can you check that this is still happening with the latest pyopengl version?
If so, can you tell us which version of opengl-update and Xorg you're using? (like emerge -pv opengl-update xorg-x11).
Comment 2 James Le Cuirot gentoo-dev 2005-02-03 12:53:41 UTC
I got this on the latest version. Remerging glut fixed it.
Comment 3 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-03 16:48:04 UTC
Probably it was something wrong on other ebuild that was already fixed. Closing this one.