View previous topic :: View next topic |
Author |
Message |
Infinitesimal n00b
Joined: 18 Jan 2005 Posts: 7 Location: reno, nv
|
Posted: Tue Jan 18, 2005 6:12 pm Post subject: jpeg-6b-r4 fails to compile, fix_libtool_files.sh is no help |
|
|
Problem: media-libs/jpeg-6b-r4 fails to compile while emerging Gnome.
According to /etc/env.d/05gcc I have /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5
Gnome is looking for a /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
to prove I'm not a lazy n00b I've read this:
https://forums.gentoo.org/viewtopic.php?t=65846&highlight=i586
and the forwarded post.
Then this: https://forums.gentoo.org/viewtopic.php?t=171875
Everything is pointing correctly but it is to 3.3.5. My question is how do I downgrade my GCC compiler?
What kernel source should I emerge this time around to ensure this? I do Gentoo-dev-sources every time. Kernel 2.6.9 worked but this new 2.6.10 doesn't.
And what is the difference between a PIII and i686?
Edit - changed name from "emerge gnome fails, GCC error" and made sticky. -masseya |
|
Back to top |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Tue Jan 18, 2005 6:28 pm Post subject: |
|
|
Try running Code: | fix_libtool_files.sh 3.3.4 |
This will update your libtool files and point to 3.3.5, why go back to 3.3.4? |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Tue Jan 18, 2005 6:29 pm Post subject: |
|
|
What is the exact error that you recieve when compiling it? Please post that and the output of `emerge info'. _________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
|
Infinitesimal n00b
Joined: 18 Jan 2005 Posts: 7 Location: reno, nv
|
Posted: Tue Jan 18, 2005 7:59 pm Post subject: |
|
|
Forgive me but how can I copy something w/o the use of my right mouse button? |
|
Back to top |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Tue Jan 18, 2005 8:40 pm Post subject: |
|
|
Ctr+c (copy)
Ctr+v (paste) |
|
Back to top |
|
|
Infinitesimal n00b
Joined: 18 Jan 2005 Posts: 7 Location: reno, nv
|
Posted: Wed Jan 19, 2005 5:01 am Post subject: code1 |
|
|
duh. but in the bash?
Code: |
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: no such file or directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: no such file or directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: no such file or directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: no such file or directory
make: *** [libjpeg.la] Error 1
!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 39, exitcode 2
!!! make failed
!!! if you need support post the topmost build error, not the status message |
emerge info coming up. |
|
Back to top |
|
|
Infinitesimal n00b
Joined: 18 Jan 2005 Posts: 7 Location: reno, nv
|
Posted: Wed Jan 19, 2005 5:21 am Post subject: emerge info |
|
|
Code: |
AUTOCLEAN="yes"
CFLAGS="-o2 -march=pentium3 formit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-o2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cchace distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTGAE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi kerldb bitmap-fonts crypt cups encode f77 font-server ....blah blah |
I hope this helps because it was a pain to type.
I would also like to point out that I have a i686 Pentium III (katmai). What do i use? PIII stuff? pre-coppermine sutff? i686 stuff (like I did before all this 2004.3 BS)? |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Wed Jan 19, 2005 5:39 am Post subject: |
|
|
Try re-emerging libtool: Code: | emerge --oneshot libtool |
_________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
|
Infinitesimal n00b
Joined: 18 Jan 2005 Posts: 7 Location: reno, nv
|
Posted: Wed Jan 19, 2005 8:10 am Post subject: case closed |
|
|
That was it! Odd how that happed on a fresh install. neh.
Thank you, sir. You've just skooled a n00b. I hence forth swear to post all error messages verbatim in the first post.
Do you have an opinion as far as my Katmai PIII question? |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Wed Jan 19, 2005 8:23 am Post subject: |
|
|
I would think that -march=pentium3 should be perfectly fine. And exact error messages are useful, so people don't assume you have another common problem that might be going around at the time _________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Wed Jan 19, 2005 9:09 am Post subject: Re: emerge info |
|
|
Infinitesimal wrote: | I hope this helps because it was a pain to type. |
you can highlight a line and click the middle button (or both buttons if you have a 2 button mouse) to paste.
Quote: | I would also like to point out that I have a i686 Pentium III (katmai). What do i use? PIII stuff? pre-coppermine sutff? i686 stuff (like I did before all this 2004.3 BS)? |
i have a Katmai too. i feel your pain.
-march=pentium3 does the trick.
i686 covers everything from pentium 2 onward including p4's. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
SerfurJ l33t
Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Sat Jan 29, 2005 5:46 am Post subject: |
|
|
thanks a lot. i had the same problem. |
|
Back to top |
|
|
kebabkarli n00b
Joined: 26 Jul 2003 Posts: 37 Location: Tulln/AUSTRIA
|
Posted: Mon Feb 14, 2005 12:40 pm Post subject: Works great! |
|
|
Thanks Halcy0n for the libtool-tip!
It worked for me just fine. But where the hell in the quoted text have you found the hint to the "corrupted" libtool? |
|
Back to top |
|
|
freak4u n00b
Joined: 04 Jul 2003 Posts: 69 Location: MA, USA
|
Posted: Mon Feb 14, 2005 7:47 pm Post subject: |
|
|
I too have been having problems emerging that version of jpeg, (off a fresh stage 2 install). it was complaining about gcc-3.3.4 when I have gcc-3.3.5 installed. I recompiled libtool and everything is all set now. How bad is it that I recompiled glibc with the kernel26 headers and did't redo my entire machine? there seems to be some contention here... _________________ Making computing a safer place...one less Windoze box at a time |
|
Back to top |
|
|
WFlyer n00b
Joined: 14 Jan 2005 Posts: 3
|
Posted: Wed Feb 16, 2005 10:50 pm Post subject: |
|
|
THX:))))))))))))))) |
|
Back to top |
|
|
pradeep_chauhan n00b
Joined: 17 Feb 2005 Posts: 1 Location: Bangalore
|
Posted: Thu Feb 17, 2005 7:07 pm Post subject: |
|
|
Thank you you solve my problem too |
|
Back to top |
|
|
rbclemen n00b
Joined: 19 Feb 2005 Posts: 1
|
Posted: Sat Feb 19, 2005 8:05 pm Post subject: |
|
|
This solved not only my problem with the jpeg library, but also with the ati-drivers ebuild. I never had this problem with a stage 1 install, so I assume that it is a problem with the stage 2 snapshot. |
|
Back to top |
|
|
blk-majik n00b
Joined: 16 Feb 2005 Posts: 8
|
Posted: Sun Feb 20, 2005 7:34 pm Post subject: |
|
|
me too, thanks every1! |
|
Back to top |
|
|
yucca n00b
Joined: 21 Feb 2005 Posts: 1 Location: Finland
|
Posted: Mon Feb 21, 2005 9:01 am Post subject: |
|
|
Thanks a lot. This fix my problem also. |
|
Back to top |
|
|
bobbens n00b
Joined: 17 Feb 2005 Posts: 16 Location: Barcelona
|
Posted: Tue Feb 22, 2005 1:24 pm Post subject: |
|
|
Halcy0n wrote: | Try re-emerging libtool: Code: | emerge --oneshot libtool |
|
You are my god, worked great. Made me mad though, had left it on all night with orders to compile fluxbox, samba and apache and it got an error (using a single pentium II 400), so i lost compile time and have to do it during the day, bleh. Thanks alot though for your solution. _________________ -bobbens
Registered Linux user number #376329 |
|
Back to top |
|
|
KeithF n00b
Joined: 23 Feb 2005 Posts: 1 Location: Washington, D.C.
|
Posted: Wed Feb 23, 2005 1:54 pm Post subject: Saved! |
|
|
Thanks for the info, I can now stop banging my head on my desk.
Like a few others here, I'm wondering (as it may happen again, $DEITY forbid) how you spotted/knew that the libtool rebuild would fix the problem with jpeglib? Can you explain it for those of us sitting in the layman's benches over here?
Cheers,
KeithF
=-=-=-=-=-
FrankenBox:
Tyan Tiger 100 (S1832DL) i440BX, Dual P-III/500, 1G RAM
Running Gentoo, very quickly indeed... |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Wed Feb 23, 2005 7:26 pm Post subject: |
|
|
Halcy0n wrote: | Try re-emerging libtool: Code: | emerge --oneshot libtool |
| Making this thread the sticky solution to this problem. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
buggy_code n00b
Joined: 11 Nov 2004 Posts: 32 Location: Melbourne, Australia
|
Posted: Fri Feb 25, 2005 3:49 am Post subject: |
|
|
Hi
That has help me considerably. Samba now builds and a bootstrapping problem involving gettext failing to build have both be solved by running: Quote: | emerge --oneshot libtools |
Yipee
Buggy |
|
Back to top |
|
|
Thomas Carrie n00b
Joined: 19 Apr 2004 Posts: 70
|
Posted: Fri Feb 25, 2005 7:38 pm Post subject: |
|
|
Thank you Halcy0n
"emerge --oneshot libtool" saved my life today :
I was building a gentoo system from stage2 on a PII for my mother when emerge jpeg suddenly failed |
|
Back to top |
|
|
darknexus n00b
Joined: 15 Feb 2005 Posts: 5
|
Posted: Sat Feb 26, 2005 10:15 pm Post subject: |
|
|
Thanks you saved my ass, this is why i love gentoo; excelent support forums!!! |
|
Back to top |
|
|
|