Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48782 - blender 2.32 won't compile
Summary: blender 2.32 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-23 06:46 UTC by Jukka Palko
Modified: 2004-04-27 12:15 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 Jukka Palko 2004-04-23 06:46:57 UTC
Trying to emerge blender 2.32, it fails on glx.h on a ~x86 system.

Reproducible: Always
Steps to Reproduce:
1. emerge -Dv blender
Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intern/string -I/usr/include/SDL
-I/usr/include/freetype2 -DWITH_FREETYPE2 -I/usr/include -I/usr/include
-I/usr/include/mozilla/nspr -O2 -mcpu=i686 -pipe -funsigned-char -MT
GHOST_EventPrinter.lo -MD -MP -MF .deps/GHOST_EventPrinter.Tpo -c
intern/GHOST_EventPrinter.cpp -o GHOST_EventPrinter.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intern/string -I/usr/include/SDL
-I/usr/include/freetype2 -DWITH_FREETYPE2 -I/usr/include -I/usr/include
-I/usr/include/mozilla/nspr -O2 -mcpu=i686 -pipe -funsigned-char -MT
GHOST_ISystem.lo -MD -MP -MF .deps/GHOST_ISystem.Tpo -c intern/GHOST_ISystem.cpp
-o GHOST_ISystem.o
In file included from intern/GHOST_ISystem.cpp:52:
intern/GHOST_SystemX11.h:40:20: GL/glx.h: No such file or directory
gmake[3]: *** [GHOST_ISystem.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
echo timestamp > GHOST_EventPrinter.lo
gmake[3]: Leaving directory
`/portage/tmp/portage/blender-2.32/work/blender-2.32/intern/ghost'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/portage/tmp/portage/blender-2.32/work/blender-2.32/intern'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/portage/tmp/portage/blender-2.32/work/blender-2.32'
make: *** [all] Error 2

!!! ERROR: media-gfx/blender-2.32 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)



Expected Results:  
Compiled and installed.

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2
-fomit-frame-pointer -frerun-loop-opt -pipe"
CHOST="i686-pc-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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm avi berkdb bonobo cdr crypt cups dga directfb
doc dvd dvdr encode esd fbcon foomaticdb freetype gdbm gif gnome gnutls gpm
gstreamer gtk gtk2 guile imap imlib ipv6 jabber java joystick jpeg kde kerberos
libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4
ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline sasl sdl slang slp spell sse ssl stroke svga tcltk tcpd tetex
tiff truetype type1 unicode usb vim-with-x wmf x86 xchattext xine xml2 xmms xv zlib"
Comment 1 Luca Barbato gentoo-dev 2004-04-27 03:36:38 UTC
Looks like that your X11 system isn't complete.
If you are using a non DRI implementation of opengl please make sure you have set it using opengl-update.
If the file does not exist you may have to remerge xfree or xorg-x11 and/or the ebuild provinding your opengl implementation (eg ati-drivers,nvidia-glx)
Comment 2 Jukka Palko 2004-04-27 03:52:16 UTC
Actually forgot to retry this after I noticed that my ati-drivers installation had gotten a bit botched. :)

This symlink was missing:
# ls -lart /usr/lib/opengl/ati/include
lrwxrwxrwx  1 root root 16 Apr 26 14:52 /usr/lib/opengl/ati/include -> ../xfree/include
Comment 3 Jukka Palko 2004-04-27 10:51:14 UTC
Compiled okay now, reason was that missing symlink in ati-drivers installation...
Comment 4 Luca Barbato gentoo-dev 2004-04-27 12:15:38 UTC
Closing