Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53362 - dev-python/wxPython-2.4.2.4 compilation failed, searchig for GL
Summary: dev-python/wxPython-2.4.2.4 compilation failed, searchig for GL
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 16:23 UTC by dario
Modified: 2005-01-09 01:37 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 dario 2004-06-08 16:23:17 UTC
As subj, I get this output

building 'glcanvasc' extension
creating build-gtk2/temp.linux-ppc-2.3/contrib
creating build-gtk2/temp.linux-ppc-2.3/contrib/glcanvas
creating build-gtk2/temp.linux-ppc-2.3/contrib/glcanvas/gtk
gcc -fno-strict-aliasing -DNDEBUG -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char -mpowerpc-gfxopt -fno-strict-aliasing -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c contrib/glcanvas/gtk/glcanvas.cpp -o build-gtk2/temp.linux-ppc-2.3/contrib/glcanvas/gtk/glcanvas.o -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
In file included from /usr/include/wx/glcanvas.h:15,
                 from contrib/glcanvas/gtk/glcanvas.cpp:62:
/usr/include/wx/gtk/glcanvas.h:23:19: GL/gl.h: No such file or directory
/usr/include/wx/gtk/glcanvas.h:24:20: GL/glx.h: No such file or directory
In file included from /usr/include/wx/gtk/glcanvas.h:25,
                 from /usr/include/wx/glcanvas.h:15,
                 from contrib/glcanvas/gtk/glcanvas.cpp:62:
/usr/X11R6/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from /usr/include/wx/gtk/glcanvas.h:25,
                 from /usr/include/wx/glcanvas.h:15,
                 from contrib/glcanvas/gtk/glcanvas.cpp:62:
/usr/X11R6/include/GL/glu.h:260: error: `_GLUfuncptr' was not declared in this
   scope
/usr/X11R6/include/GL/glu.h:260: error: typedef `GLvoid' is initialized (use
   __typeof__ instead)
/usr/X11R6/include/GL/glu.h:269: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:270: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:271: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:272: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:273: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:274: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:275: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:276: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:276: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:280: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:280: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:285: error: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:286: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:286: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:287: error: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:288: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:288: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:289: error: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:290: error: `GLdouble' was not declared in this
   scope
/usr/X11R6/include/GL/glu.h:290: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:294: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:294: error: syntax error before `)' token
/usr/X11R6/include/GL/glu.h:295: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:295: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:298: error: type specifier omitted for parameter `
   GLint'
/usr/X11R6/include/GL/glu.h:298: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:299: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:299: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:300: error: type specifier omitted for parameter `
   GLint'
/usr/X11R6/include/GL/glu.h:300: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:301: error: `GLdouble' was not declared in this
   scope
/usr/X11R6/include/GL/glu.h:301: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:302: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:302: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:303: error: `GLdouble' was not declared in this
   scope
/usr/X11R6/include/GL/glu.h:303: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:304: error: `GLdouble' was not declared in this
   scope
/usr/X11R6/include/GL/glu.h:304: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:305: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:306: error: type specifier omitted for parameter `
   GLint'
/usr/X11R6/include/GL/glu.h:306: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:307: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:307: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:308: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:308: error: syntax error before `)' token
/usr/X11R6/include/GL/glu.h:309: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:309: error: syntax error before `)' token
/usr/X11R6/include/GL/glu.h:310: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:310: error: syntax error before `)' token
/usr/X11R6/include/GL/glu.h:311: error: type specifier omitted for parameter `
   GLboolean'
/usr/X11R6/include/GL/glu.h:311: error: syntax error before `)' token
/usr/X11R6/include/GL/glu.h:312: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:313: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:313: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:316: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:316: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:319: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:319: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:320: error: type specifier omitted for parameter `
   GLenum'
/usr/X11R6/include/GL/glu.h:320: error: syntax error before `,' token
/usr/X11R6/include/GL/glu.h:321: error: type specifier omitted for parameter `
   GLdouble'
/usr/X11R6/include/GL/glu.h:321: error: syntax error before `*' token
/usr/X11R6/include/GL/glu.h:322: error: syntax error before `(' token
/usr/X11R6/include/GL/glu.h:323: error: syntax error before `(' token
In file included from /usr/include/wx/glcanvas.h:15,
                 from contrib/glcanvas/gtk/glcanvas.cpp:62:
/usr/include/wx/gtk/glcanvas.h:86: error: `GLXContext' declared as an `inline'
   field
/usr/include/wx/gtk/glcanvas.h:86: error: syntax error before `(' token
/usr/include/wx/gtk/glcanvas.h:88: error: semicolon missing after declaration
   of `wxGLContext'
/usr/include/wx/gtk/glcanvas.h:88: error: syntax error before `public'
/usr/include/wx/gtk/glcanvas.h: In member function `wxPalette*
   wxGLContext::GetPalette() const':
/usr/include/wx/gtk/glcanvas.h:83: error: `m_palette' undeclared (first use
   this function)
/usr/include/wx/gtk/glcanvas.h:83: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
/usr/include/wx/gtk/glcanvas.h: In member function `wxWindow*
   wxGLContext::GetWindow() const':
/usr/include/wx/gtk/glcanvas.h:84: error: `m_window' undeclared (first use this
   function)
/usr/include/wx/gtk/glcanvas.h: In member function `GtkWidget*
   wxGLContext::GetWidget() const':
/usr/include/wx/gtk/glcanvas.h:85: error: `m_widget' undeclared (first use this
   function)
/usr/include/wx/gtk/glcanvas.h: At global scope:
/usr/include/wx/gtk/glcanvas.h:88: error: syntax error before `:' token
/usr/include/wx/gtk/glcanvas.h:91: error: `GtkWidget*m_widget' used prior to
   declaration
/usr/include/wx/gtk/glcanvas.h:92: error: `wxPalette m_palette' used prior to
   declaration
/usr/include/wx/gtk/glcanvas.h:93: error: `wxWindow*m_window' used prior to
   declaration
/usr/include/wx/gtk/glcanvas.h:95: error: syntax error before `private'
/usr/include/wx/gtk/glcanvas.h:96: error: virtual outside class declaration
/usr/include/wx/gtk/glcanvas.h:96: error: non-member function `wxClassInfo*
   GetClassInfo()' cannot have `const' method qualifier
/usr/include/wx/gtk/glcanvas.h: In function `wxClassInfo* GetClassInfo()':
/usr/include/wx/gtk/glcanvas.h:96: error: `sm_classwxGLContext' is not a member
   of type `wxGLContext'
/usr/include/wx/gtk/glcanvas.h: At global scope:
/usr/include/wx/gtk/glcanvas.h:97: error: syntax error before `}' token
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/wxPython-2.4.2.4 failed.
!!! Function src_compile, Line 84, Exitcode 1
!!! build failed





Reproducible: Always
Steps to Reproduce:
1. emerge dev-python/wxPython-2.4.2.4
2.
3.




He search in GL include, I have openGL not working with my ati.

this is my portage info:

giquattro root # emerge --info
Portage 2.0.50-r7 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5_rc2-benh1)
=================================================================
System uname: 2.6.5_rc2-benh1 ppc 7457, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char
-mpowerpc-gfxopt -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char
-mpowerpc-gfxopt -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec apache2 arts berkdb cdr cups divx4linux dvd encode esd
evo foomaticdb gdbm gif gnome gnome-libs gpm gtk gtk2 icq imlib java javascript
jpeg kde libwww mitshm motif mozilla moznocompose moznoirc moznomail moznoxft
mpeg ncurses nls oggvorbis opengl oss pam perl png ppc python qt quicktime
readline sdl slang ssl tcltk tcpd tiff truetype vi video_cards_radeon wmf xmms
xv xvid zlib"
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2004-07-09 15:48:00 UTC
GL/gl.h is provided by xorg-x11 or xfree. Please try: env-update; source /etc/profile; emerge wxPython
If that doesn't work, reemerge xorg-x11 or xfree and try again.

Please give feedback if it helped.
Comment 2 Luca Barbato gentoo-dev 2004-07-10 07:22:29 UTC
please issue an opengl-update xorg-x11 if you moved from xfree
Comment 3 dario 2004-07-10 12:27:03 UTC
Was a xfree-xorg problem solved with opengl-update.
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 13:20:26 UTC
Forgot to change the state of this bug.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-01-09 01:37:59 UTC
Just closing.