View previous topic :: View next topic |
Author |
Message |
TuxeyM Tux's lil' helper
Joined: 27 Mar 2007 Posts: 85
|
Posted: Wed Jun 27, 2007 2:16 am Post subject: Mesa Fails to compile! [SOLVED]: Emerge Xdamage first! |
|
|
Ok guys, so I am installing Xorg on a laptop with a Mobility Radeon 9000.
In the kernel I have enabled Intel-AGP controller along with Xfree DRM w/radeon support.
I am trying to compile mesa but it keeps failing.
Here is my make.conf Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aac alsa amarok asf asm automount bluetooth cairo cardbus cdaudio
cdb cdda cddb cdf cdparanoia cdr cdrom cdsound cvs dbus dhcp dts dv dvb
dvbplayer dvd dvdnav dvdr dvdread encode ffmpeg firefox gaim gkrellm
glitz glx gmail gstreamer gtk h323 hal hald hddtemp http ieee1394 jpeg jpeg2k
kde kdm lame matroska mime mimencode mmx mp2 mp3 mp4 mp4live mpeg mpeg2
mplayer opengl png qt3 qt4 rdesktop real realmedia samba sse sse2 usb
visualization win32codecs wma wmf wmp"
INPUT_DEVICES="keyboard mouse synaptics"
VIDEO_CARDS="radeon"
FEATURES="distcc"
|
and here is the debug...
Code: | ^[[33;01m*^[[0m QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-6.5.3
^[[33;01m*^[[0m QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-6.5.3
>>> Unpacking source...
>>> Unpacking MesaLib-6.5.3.tar.bz2 to /var/tmp/portage/media-libs/mesa-6.5.3/work
^[[32;01m*^[[0m Applying mesa-6.5.3-pthread.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Removing DO_DEBUG defs in dri drivers...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3 ...
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3'
make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src'
Making sources for linux-dri-x86
mkdir ../lib
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src/glx/x11'
Makefile:91: depend: No such file or directory
touch depend
makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi$
../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../.$
makedepend: warning: glcontextmodes.c (reading /usr/include/bits/types.h, line 31): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"
not in ./stddef.h
not in ../../../include/stddef.h
not in ../../../include/GL/internal/stddef.h
not in ../../../src/mesa/main/stddef.h
not in ../../../src/mesa/glapi/stddef.h
not in /usr/include/drm/stddef.h
not in /usr/include/stddef.h
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src/glx/x11'
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src/glx/x11'
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
i686-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/$
glxext.c:52:36: error: X11/extensions/Xdamage.h: No such file or directory
distcc[8012] ERROR: compile glxext.c on 192.168.1.101 failed
make[3]: *** [glxext.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.3/work/Mesa-6.5.3'
make: *** [linux-dri-x86] Error 2
!!! ERROR: media-libs/mesa-6.5.3 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
mesa-6.5.3.ebuild, line 236: Called die
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/mesa-6.5.3/temp/build.log'.
|
Any suggestions? My only thinking is that when I first started emerging xorg I hadn't created the X11 SYMLINK, so I ctrl-C'd made the link and started emerging again....
Last edited by TuxeyM on Thu Jun 28, 2007 7:23 am; edited 1 time in total |
|
Back to top |
|
|
TuxeyM Tux's lil' helper
Joined: 27 Mar 2007 Posts: 85
|
Posted: Wed Jun 27, 2007 4:47 am Post subject: |
|
|
nobody |
|
Back to top |
|
|
ausmusj1 Tux's lil' helper
Joined: 02 Jan 2004 Posts: 121
|
Posted: Wed Jun 27, 2007 8:02 am Post subject: Re: Mesa Fails to compile??? NEW BUG? |
|
|
TuxeyM wrote: |
<snip>
glxext.c:52:36: error: X11/extensions/Xdamage.h: No such file or directory
<snip>
|
Looks like a package that mesa depends on didn't get installed. On my system, /usr/include/X11/extensions/Xdamage.h is provided by the x11-libs/libXdamage-1.1.1 package. Try doing an emerge libXdamage, then try mesa again.
HTH-
James _________________ "XML is like violence: if it doesn't solve your problem, you're not using enough of it." |
|
Back to top |
|
|
TuxeyM Tux's lil' helper
Joined: 27 Mar 2007 Posts: 85
|
Posted: Wed Jun 27, 2007 11:46 am Post subject: |
|
|
Ok, I see what you mean. I am gonna try that as soon as possible... |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Thu Jun 28, 2007 5:57 am Post subject: |
|
|
ausmusj1 wrote: | Looks like a package that mesa depends on didn't get installed. On my system, /usr/include/X11/extensions/Xdamage.h is provided by the x11-libs/libXdamage-1.1.1 package. Try doing an emerge libXdamage, then try mesa again. | If doing so does resolve the problem, please file a bug report. |
|
Back to top |
|
|
TuxeyM Tux's lil' helper
Joined: 27 Mar 2007 Posts: 85
|
Posted: Thu Jun 28, 2007 7:19 am Post subject: |
|
|
Alright guys, I just rebooted the laptop, and syncd with portage...
Code: | Emerge -Dvat xorg-x11 |
Same Error///
Now I am going to Code: | emerge the x11-libs/libXdamage . | Xdamage compiled successfully, I am now going to re attempt mesa compile....
It is working so far... I wonder why it would compile mesa before it had the necessary headers from Xdamage...
WOOT! It compiled!
THANK YOU SOOO MUCH! I am going to definitely fill a bug report. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Jun 29, 2007 5:00 am Post subject: |
|
|
TuxeyM wrote: | I am going to definitely fill a bug report. | Thanks for filing the bug report, once it is resolved it should be safe to remove x11-libs/libXdamage from /var/lib/portage/world. |
|
Back to top |
|
|
|