Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
amiel
n00b
n00b


Joined: 27 Mar 2005
Posts: 5
Location: Australia

PostPosted: Sun Mar 27, 2005 6:46 am    Post subject: Xorg won't compile Reply with quote

I went 'emerge xorg-x11' and what happened is listed below.
Any ideas? I've just installed 2005.0. (stage 1 install)
(btw. /usr/share/zoneinfo/ was empty and I have no idea why! therefore no timezone is set)

Thanks a lot for your help.


i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o pswstring.o pswstring.c
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o pswsemantics.o pswsemantics.c
rm -f pswrap
i686-pc-linux-gnu-gcc -o pswrap -O3 -march=athlon-xp -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib main.o pswparser.o lexer.o pswdict.o pswfile.o systemnames.o psw.o pswstring.o pswsemantics.o -lfl -Wl,-rpath-link,../../exports/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
make[4]: *** [pswrap] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/config/pswrap'
make[3]: *** [../../config/pswrap/pswrap] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib/dps'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed.
!!! Function build, Line 951, Exitcode 2
!!! make World failed
Back to top
View user's profile Send private message
Lews_Therin
l33t
l33t


Joined: 03 Oct 2003
Posts: 657
Location: Banned

PostPosted: Sun Mar 27, 2005 7:16 am    Post subject: Reply with quote

Check that /usr/lib/libfl.a exists. If it doesn't, re-emerge sys-devel/flex
Back to top
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Wed Apr 27, 2005 10:15 pm    Post subject: Reply with quote

If you don't, you should try:

USE="-build" emerge flex
env-update
emerge x11

This did the job here on my end :-P
_________________
mb
Back to top
View user's profile Send private message
CSllama
n00b
n00b


Joined: 28 Mar 2005
Posts: 5
Location: Bowling Green, KY

PostPosted: Fri Apr 29, 2005 4:33 pm    Post subject: Thanks.. Reply with quote

I had the same error and it really through me off. I've done at least 15 stage 1 installs and never had such a problem. Thanks for the fix!

:D
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun May 08, 2005 9:20 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-295915.html

Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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