Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mesa + Xorg 7.0 + nvidia problem (glibc 2.4 not found)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Tue Jul 04, 2006 5:37 pm    Post subject: Mesa + Xorg 7.0 + nvidia problem (glibc 2.4 not found) Reply with quote

Hi !

I'm trying to emerge xorg 7.0 for my binaries nvidia drivers ... but I have this error while compiling mesa

Code:
find: /lib/libc.so.6: version `GLIBC_2.4' not found (required by find)
sed: can't read -: No such file or directory
 * sed for dprintf to __mesa_dprintf...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2 ...
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2'
make[2]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src'
Making sources for linux-dri-x86
mkdir ../lib
make[3]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11'
Makefile:94: depend: No such file or directory
touch depend
/usr/bin/makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/main/dispatch.c glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c  ../../../src/mesa/x86/glapi_x86.S
/bin/sh: /usr/bin/makedepend: No such file or directory
make[3]: *** [depend] Error 127
make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2'
make: *** [linux-dri-x86] Error 2

!!! ERROR: media-libs/mesa-6.4.2-r2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  mesa-6.4.2-r2.ebuild, line 235:   Called die


It says that I need glibc 2.4 ... but do I really need it to install xorg 7.0 ? (Mesa is one of the 4 dependencies I need to emerge xorg 7.0)

Thanks
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Jul 04, 2006 7:56 pm    Post subject: Re: Mesa + Xorg 7.0 + nvidia problem (glibc 2.4 not found) Reply with quote

Fruitwoot wrote:
Hi !

I'm trying to emerge xorg 7.0 for my binaries nvidia drivers ... but I have this error while compiling mesa

[code]find: /lib/libc.so.6: version `GLIBC_2.4' not found (required by find)
sed: can't read -: No such file or directory

Sounds like you were upgraded for a bit, then downgraded. Try rebuilding findutils.
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Tue Jul 04, 2006 8:16 pm    Post subject: Reply with quote

I'm trying this, let's check :)
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Tue Jul 04, 2006 9:02 pm    Post subject: Reply with quote

8O

Got this error while compiling it (2.4)

cp: cannot stat `/var/tmp/portage/glibc-2.4-r3/temp/strip-backup/*': No such file or directory

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_install
ebuild.sh, line 1019: Called src_install
glibc-2.4-r3.ebuild, line 1251: Called src_strip
glibc-2.4-r3.ebuild, line 1216: Called die

!!! restoring non-stripped libs


This is FUBAR ? :S
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Jul 04, 2006 9:07 pm    Post subject: Reply with quote

Could be the same problem again. Try rebuilding findutils.
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Tue Jul 04, 2006 9:24 pm    Post subject: Reply with quote

Thanks for replying :)

compiling for now glibc 2.4 is compiling first as a dependencies ... so I guess it should work
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Tue Jul 04, 2006 10:25 pm    Post subject: Reply with quote

same thing again :S

cp: cannot stat `/var/tmp/portage/glibc-2.4-r3/temp/strip-backup/*': No such file or directory

Glibc compilation finished .. it didn't compile findutils cuz Glibc is a dependency :roll:

I will try to mask glibc then emerge findutils ...

EDIT: for now it compile findutils as one package witout any dependencies ...

EDIT: findutils installed fine ... now compiling glibc 2.4
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Wed Jul 05, 2006 2:18 am    Post subject: Reply with quote

Oki well I got some similar problems ...

Code:
>>> Compiling source in /var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2 ...
(cd configs && rm -f current && ln -s linux-dri-x86 current)
make default
make[1]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2'
make[2]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src'
Making sources for linux-dri-x86
mkdir ../lib
make[3]: Entering directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11'
Makefile:94: depend: No such file or directory
touch depend
/usr/bin/makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/main/dispatch.c glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c  ../../../src/mesa/x86/glapi_x86.S
/bin/sh: /usr/bin/makedepend: No such file or directory
make[3]: *** [depend] Error 127
make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2'
make: *** [linux-dri-x86] Error 2

!!! ERROR: media-libs/mesa-6.4.2-r2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  mesa-6.4.2-r2.ebuild, line 235:   Called die


I will try to analyse that but some help can be really appreciate :S
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Wed Jul 05, 2006 4:03 am    Post subject: Reply with quote

Well now I'm getting more far on my mesa compilation by doing these things:

Code:
emerge -u to the latest version of mesa (who now emerge libX11 as well)


+ debugging the error msg by checking wich files is missing then ...

Code:
equery belongs put_the_name_of_the_missing_file_here


then unmerge the file ...

Code:
emerge -C name_of_the_package_shown_by_equery


and re-emerge it ...

Code:
emerge -u name_of_the_package_shown_by_equery

_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Wed Jul 05, 2006 4:17 am    Post subject: Reply with quote

I'm now getting this sticky error ...

mklib: Making Linux shared library: libGL.so.1.2
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../lib
mv: cannot stat `libGL.so.1.2': No such file or directory
make[3]: *** [../../../lib/libGL.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/mesa-6.5-r3/work/Mesa-6.5/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.5-r3/work/Mesa-6.5/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.5-r3/work/Mesa-6.5'
make: *** [linux-dri-x86] Error 2

I try

Code:
equery belongs libgl.so.1.2


then reemerge emul-linux-x86-xlibs-7.0-r1 but mesa compilation can't go any further :S

EDIT: I can't believe I've tried everything and I get stuck there that's impossible.
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Fruitwoot
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 93
Location: Canada

PostPosted: Wed Jul 05, 2006 5:19 am    Post subject: Reply with quote

after debugging over and over again. I came to the conclusion that'S something strange appears on those error a 'dri' related error ... but I'm a nvidia user so I check on http://www.gentoo-wiki.com/HOWTO_Modular_Xorg and it is says:

Quote:
Note: Add dri USE flag to make.conf if you want Direct Rendering support. Needed by fglrx (ati-drivers)


But that's not really as clear as it appear ... does it mean nvidia user don't need DRI/should not used it or is it a ati-only things ?

btw, I disabled it as a flag and I'm recompiling x11 ...
_________________
Things Fall Apart, The Center Cannot Hold
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum