| View previous topic :: View next topic |
| Author |
Message |
chota n00b


Joined: 09 Sep 2004 Posts: 13 Location: Little Rock, AR
|
Posted: Wed Feb 16, 2005 4:37 am Post subject: Fresh Install, can't emerge xorg-x11! [SOLVED] |
|
|
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 |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
| Back to top |
|
 |
Sith_Happens Veteran


Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Wed Feb 16, 2005 5:08 am Post subject: |
|
|
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 |
|
 |
chota n00b


Joined: 09 Sep 2004 Posts: 13 Location: Little Rock, AR
|
Posted: Wed Feb 16, 2005 5:43 am Post subject: |
|
|
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 |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Wed Feb 16, 2005 6:59 am Post subject: |
|
|
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 |
|
 |
chota n00b


Joined: 09 Sep 2004 Posts: 13 Location: Little Rock, AR
|
Posted: Wed Feb 16, 2005 1:42 pm Post subject: |
|
|
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 |
|
 |
kimchi_sg Advocate

Joined: 26 Nov 2004 Posts: 3006
|
Posted: Wed Feb 16, 2005 1:45 pm Post subject: |
|
|
| 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.  |
|
| Back to top |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Thu Feb 17, 2005 5:51 am Post subject: |
|
|
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 |
|
 |
B7 n00b

Joined: 09 May 2005 Posts: 17
|
Posted: Thu May 12, 2005 1:29 am Post subject: |
|
|
| 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 |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Wed Jul 20, 2005 4:30 am Post subject: |
|
|
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 |
|
 |
Kamaji n00b

Joined: 25 Jul 2005 Posts: 9
|
Posted: Mon Jul 25, 2005 7:15 pm Post subject: |
|
|
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 |
|
 |
lami n00b


Joined: 09 Mar 2003 Posts: 23
|
Posted: Tue Aug 02, 2005 9:32 am Post subject: Bug posted |
|
|
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 |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Tue Aug 02, 2005 10:00 am Post subject: |
|
|
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 |
|
 |
Kamaji n00b

Joined: 25 Jul 2005 Posts: 9
|
Posted: Tue Aug 02, 2005 4:31 pm Post subject: problem is with --newuse |
|
|
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 |
|
 |
opentaka l33t


Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Tue Aug 02, 2005 8:34 pm Post subject: Re: problem is with --newuse |
|
|
| 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 |
|
 |
|