Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Fresh Install, can't emerge xorg-x11! [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
chota
n00b
n00b
User avatar
Posts: 13
Joined: Thu Sep 09, 2004 3:35 pm
Location: Little Rock, AR
Contact:
Contact chota
Website

Fresh Install, can't emerge xorg-x11! [SOLVED]

  • Quote

Post by chota » Wed Feb 16, 2005 4:37 am

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: Select all

# ACCEPT_KEYWORDS="~x86" emerge xorg-x11
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: Select all

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.
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Wed Feb 16, 2005 5:03 am

http://lists.gllug.org.uk/pipermail/gll ... 02886.html

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

The Stage 1 on 3 Install
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

  • Quote

Post by Sith_Happens » Wed Feb 16, 2005 5:08 am

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
Top
chota
n00b
n00b
User avatar
Posts: 13
Joined: Thu Sep 09, 2004 3:35 pm
Location: Little Rock, AR
Contact:
Contact chota
Website

  • Quote

Post by chota » Wed Feb 16, 2005 5:43 am

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.
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Wed Feb 16, 2005 6:59 am

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
Top
chota
n00b
n00b
User avatar
Posts: 13
Joined: Thu Sep 09, 2004 3:35 pm
Location: Little Rock, AR
Contact:
Contact chota
Website

  • Quote

Post by chota » Wed Feb 16, 2005 1:42 pm

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.
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

  • Quote

Post by kimchi_sg » Wed Feb 16, 2005 1:45 pm

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. :-)
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Thu Feb 17, 2005 5:51 am

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
Top
B7
n00b
n00b
Posts: 17
Joined: Mon May 09, 2005 4:07 pm

  • Quote

Post by B7 » Thu May 12, 2005 1:29 am

Emerging flex was exactly what I needed to get xorg working. Had the same exact error. Thanks a lot for the thread/post.
Top
opentaka
l33t
l33t
User avatar
Posts: 840
Joined: Fri Feb 18, 2005 8:05 am
Location: Japan
Contact:
Contact opentaka
Website

  • Quote

Post by opentaka » Wed Jul 20, 2005 4:30 am

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
Top
Kamaji
n00b
n00b
Posts: 9
Joined: Mon Jul 25, 2005 6:58 pm

  • Quote

Post by Kamaji » Mon Jul 25, 2005 7:15 pm

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...
Top
lami
n00b
n00b
User avatar
Posts: 23
Joined: Sun Mar 09, 2003 9:23 am

Bug posted

  • Quote

Post by lami » Tue Aug 02, 2005 9:32 am

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.
Top
opentaka
l33t
l33t
User avatar
Posts: 840
Joined: Fri Feb 18, 2005 8:05 am
Location: Japan
Contact:
Contact opentaka
Website

  • Quote

Post by opentaka » Tue Aug 02, 2005 10:00 am

its dup.
i reported already before.
http://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
Top
Kamaji
n00b
n00b
Posts: 9
Joined: Mon Jul 25, 2005 6:58 pm

problem is with --newuse

  • Quote

Post by Kamaji » Tue Aug 02, 2005 4:31 pm

Bug 100433 http://bugs.gentoo.org/show_bug.cgi?id=100433
seems to be a duplicate of bug 87613 http://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
Top
opentaka
l33t
l33t
User avatar
Posts: 840
Joined: Fri Feb 18, 2005 8:05 am
Location: Japan
Contact:
Contact opentaka
Website

Re: problem is with --newuse

  • Quote

Post by opentaka » Tue Aug 02, 2005 8:34 pm

Kamaji wrote:Bug 100433 http://bugs.gentoo.org/show_bug.cgi?id=100433
seems to be a duplicate of bug 87613 http://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
Top
Post Reply

15 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic