Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg / pswrap compile error [SOLVED}
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
hicsuget
n00b
n00b


Joined: 07 Mar 2005
Posts: 17
Location: Suburban MD

PostPosted: Sat Apr 09, 2005 3:28 am    Post subject: xorg / pswrap compile error [SOLVED} Reply with quote

I am unable to get xorg-x11 compiled on my desktop. emerge x11 consistently fails in the /var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/config/pswrap directory. I cd'd to that directory and typed make, and I got the following output:
Code:
rm -f pswrap
i686-pc-linux-gnu-gcc -o pswrap -02 -mcpu=i686 -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: *** [pswrap] Error 1

So then I try
Code:

compy pswrap # cat Makefile | grep lfl
LEXLIB = -lfl
EXTRA_LIBRARIES = 'lfl


Does anybody have any idea what any of this means? I just installed gentoo on this particular box yesterday, so it's quite possible I'm missing a dependency or a library or something.


Last edited by hicsuget on Sat Apr 09, 2005 1:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sat Apr 09, 2005 11:07 am    Post subject: Reply with quote

Try to emerge sys-devel/flex. It should provide this library.
Back to top
View user's profile Send private message
hicsuget
n00b
n00b


Joined: 07 Mar 2005
Posts: 17
Location: Suburban MD

PostPosted: Sat Apr 09, 2005 1:25 pm    Post subject: Reply with quote

Thanks for the advice, but I already did "ACCEPT_KEYWORDS="~x86" emerge -u x11, and that worked.
Back to top
View user's profile Send private message
legaultp
n00b
n00b


Joined: 31 Jul 2004
Posts: 28

PostPosted: Sun May 08, 2005 8:27 pm    Post subject: info about emerge flex Reply with quote

i have the same error. tried emerge flex and the error is still there. im going to try the ACCEPT_KEYWORDS="~x86" emerge x11 and i will put my results after.
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:19 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