Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh Install, can't emerge xorg-x11! [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chota
n00b
n00b


Joined: 09 Sep 2004
Posts: 13
Location: Little Rock, AR

PostPosted: Wed Feb 16, 2005 4:37 am    Post subject: Fresh Install, can't emerge xorg-x11! [SOLVED] Reply with quote

This is really getting tiring...

I tried emerging every single ebuild in x11-base/xorg-x11 (xorg-x11-6.7.0-r3, xorg-x11-6.8.0-r3, xorg-x11-6.8.0-r4, xorg-x11-6.8.2, and xorg-x11-6.8.1.901-r1), using ACCEPT_KEYWORDS="~x86" when necessary, but NONE of them compile. Here's the error I get when I do

Code:
# ACCEPT_KEYWORDS="~x86" emerge xorg-x11


Quote:
i686-pc-linux-gnu-gcc -o pswrap -march=pentium3 -pipe -fomit-frame-pointer -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/work/xc/config/pswrap'
make[3]: *** [../../config/pswrap/pswrap] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc/lib/dps'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2 failed.
!!! Function build, Line 959, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

msca-cghotalinux root #


Here's my /etc/make.conf... I stripped out the -Ox flags, thinking that may work, but no...

Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -pipe -fomit-frame-pointer"

GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/"
USE="-gnome X xv freetype truetype fbcon gtk2 socks5 nls cjk pdflib tetex kde qt qt-mt alsa arts xmms oggvorbis jpeg png tiff gif mpeg mozsvg encode cups directfb pic cdr doc gb jikes opengl plotutils innodb cluster"


Last edited by chota on Thu Feb 17, 2005 5:14 am; edited 1 time in total
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Wed Feb 16, 2005 5:03 am    Post subject: Reply with quote

http://lists.gllug.org.uk/pipermail/gllug/2000-October/002886.html

You are missing flex.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Wed Feb 16, 2005 5:08 am    Post subject: Reply with quote

Edited: Answer given as I was posting.

In the future when you post something like a log or config file, or even commands try using the code tags, they format the text better. :)
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
chota
n00b
n00b


Joined: 09 Sep 2004
Posts: 13
Location: Little Rock, AR

PostPosted: Wed Feb 16, 2005 5:43 am    Post subject: Reply with quote

Thanks, you guys rock.

I did an "emerge flex" (hope that's the right package!!) and now did

ACCEPT_KEYWORDS="~x86" emerge xorg-x11

We'll see if it works (going to bed now, so I'll check it in the AM)

Just out of curiosity, how the HECK do you know that? It seems a bit esoteric in my book... Then again, I'm used to it "just working" on SPARC64 and PPC.

Oh well,

chris.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Wed Feb 16, 2005 6:59 am    Post subject: Reply with quote

Just did a Google search on "cannot find -lfl". After seeing compile errors a few hundred times you start to learn what to look for. And yeah, flex is the right package.

One other thing, it's a bad idea to use ACCEPT_KEYWORDS on the command line like that. You'll find out why when you go to do an emerge -uD world (do NOT use emerge -UD world, you can search the forums to find out why). So if you want to emerge something that's marked as ~ARCH on an otherwise "stable" system put it in /etc/portage/package.keywords. There's a description of how all that works in the handbook.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
chota
n00b
n00b


Joined: 09 Sep 2004
Posts: 13
Location: Little Rock, AR

PostPosted: Wed Feb 16, 2005 1:42 pm    Post subject: Reply with quote

Emerging flex and then emerging xorg-x11 worked, thanks to you both!

donjuan: that's funny about what you say about prepending ACCEPT_KEYWORDS to emerge like that; I could've sworn I got that "technique" from the last part of the install guide for x86 (working with portage)... but I could be hallucinating (just woke up), so I'll go re-read the portage info. It's just... so... massive. I think part of the problem is that I can't think of a good real-life analogy to what portage does, so it's taking me a while to get past the basics (emerge and emerge -u I'm fine on, though).

Anywho, thanks for all your help!

chris.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Wed Feb 16, 2005 1:45 pm    Post subject: Reply with quote

chota wrote:
Emerging flex and then emerging xorg-x11 worked, thanks to you both!

Anywho, thanks for all your help!

chris.

Please insert [SOLVED] into the title of your first post in this topic. :-)
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Thu Feb 17, 2005 5:51 am    Post subject: Reply with quote

chota: I wouldn't be surprised if you read about using ACCEPT_KEYWORDS on the commandline in the handbook. I think I read about it there when I first installed Gentoo, though I'm pretty sure that it doesn't anymore. I only learned about it being a bad idea when somebody on the forums mentioned it to me.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
B7
n00b
n00b


Joined: 09 May 2005
Posts: 17

PostPosted: Thu May 12, 2005 1:29 am    Post subject: Reply with quote

Emerging flex was exactly what I needed to get xorg working. Had the same exact error. Thanks a lot for the thread/post.
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Wed Jul 20, 2005 4:30 am    Post subject: Reply with quote

me too, was using vanilla-sources and had xorg-x11 emerge fail.
thanks
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
Kamaji
n00b
n00b


Joined: 25 Jul 2005
Posts: 9

PostPosted: Mon Jul 25, 2005 7:15 pm    Post subject: Reply with quote

I had this happen also, and whilst doing step 6.d. "Progressing from Stage2 to Stage3" of the gentoo system install guide.

It seems to me that the dependencies of the xorg package need to be updated to include flex...
Back to top
View user's profile Send private message
lami
n00b
n00b


Joined: 09 Mar 2003
Posts: 23

PostPosted: Tue Aug 02, 2005 9:32 am    Post subject: Bug posted Reply with quote

I reported a bug about it, hope it is not dup :). I pasted your error report, chota, because I lost mine and I already fixed it. See bug# 101072
_________________
Sometimes is best, let the sleeping dragons lie.
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Tue Aug 02, 2005 10:00 am    Post subject: Reply with quote

its dup.
i reported already before.
https://bugs.gentoo.org/show_bug.cgi?id=100433
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
Kamaji
n00b
n00b


Joined: 25 Jul 2005
Posts: 9

PostPosted: Tue Aug 02, 2005 4:31 pm    Post subject: problem is with --newuse Reply with quote

Bug 100433 https://bugs.gentoo.org/show_bug.cgi?id=100433
seems to be a duplicate of bug 87613 https://bugs.gentoo.org/show_bug.cgi?id=87613

In any case, the problem seems to be with --newuse. If you use --newuse, flex will be emerged *after* xorg, and xorg depends on flex.
They still don't seem to get that there is a problem.
Someone did post feedback to the primary bug (#87613) that the problem has to do with --newuse, which is in the install docs, so hopefully one of the maintainers will finally see the problem. It seems as though it would be a relatively easy to fix the dependency issue.

~Kamaji
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Tue Aug 02, 2005 8:34 pm    Post subject: Re: problem is with --newuse Reply with quote

Kamaji wrote:
Bug 100433 https://bugs.gentoo.org/show_bug.cgi?id=100433
seems to be a duplicate of bug 87613 https://bugs.gentoo.org/show_bug.cgi?id=87613

In any case, the problem seems to be with --newuse. If you use --newuse, flex will be emerged *after* xorg, and xorg depends on flex.
They still don't seem to get that there is a problem.
Someone did post feedback to the primary bug (#87613) that the problem has to do with --newuse, which is in the install docs, so hopefully one of the maintainers will finally see the problem. It seems as though it would be a relatively easy to fix the dependency issue.

~Kamaji


Yes i know, its in comments like 3-4days ago. I just didnt have that original URL but mine.
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
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