Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jpeg-6b-r4 fails to compile, fix_libtool_files.sh is no help
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Infinitesimal
n00b
n00b


Joined: 18 Jan 2005
Posts: 7
Location: reno, nv

PostPosted: Tue Jan 18, 2005 6:12 pm    Post subject: jpeg-6b-r4 fails to compile, fix_libtool_files.sh is no help Reply with quote

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
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 645
Location: Washington, DC

PostPosted: Tue Jan 18, 2005 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Tue Jan 18, 2005 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Infinitesimal
n00b
n00b


Joined: 18 Jan 2005
Posts: 7
Location: reno, nv

PostPosted: Tue Jan 18, 2005 7:59 pm    Post subject: Reply with quote

Forgive me but how can I copy something w/o the use of my right mouse button?
Back to top
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 645
Location: Washington, DC

PostPosted: Tue Jan 18, 2005 8:40 pm    Post subject: Reply with quote

Ctr+c (copy)
Ctr+v (paste)
Back to top
View user's profile Send private message
Infinitesimal
n00b
n00b


Joined: 18 Jan 2005
Posts: 7
Location: reno, nv

PostPosted: Wed Jan 19, 2005 5:01 am    Post subject: code1 Reply with quote

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
View user's profile Send private message
Infinitesimal
n00b
n00b


Joined: 18 Jan 2005
Posts: 7
Location: reno, nv

PostPosted: Wed Jan 19, 2005 5:21 am    Post subject: emerge info Reply with quote

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
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Jan 19, 2005 5:39 am    Post subject: Reply with quote

Try re-emerging libtool:
Code:
emerge --oneshot libtool

_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
Infinitesimal
n00b
n00b


Joined: 18 Jan 2005
Posts: 7
Location: reno, nv

PostPosted: Wed Jan 19, 2005 8:10 am    Post subject: case closed Reply with quote

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
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Jan 19, 2005 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Jan 19, 2005 9:09 am    Post subject: Re: emerge info Reply with quote

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. :o
-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
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Sat Jan 29, 2005 5:46 am    Post subject: Reply with quote

thanks a lot. i had the same problem.
Back to top
View user's profile Send private message
kebabkarli
n00b
n00b


Joined: 26 Jul 2003
Posts: 37
Location: Tulln/AUSTRIA

PostPosted: Mon Feb 14, 2005 12:40 pm    Post subject: Works great! Reply with quote

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
View user's profile Send private message
freak4u
n00b
n00b


Joined: 04 Jul 2003
Posts: 69
Location: MA, USA

PostPosted: Mon Feb 14, 2005 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
WFlyer
n00b
n00b


Joined: 14 Jan 2005
Posts: 3

PostPosted: Wed Feb 16, 2005 10:50 pm    Post subject: Reply with quote

THX:)))))))))))))))
Back to top
View user's profile Send private message
pradeep_chauhan
n00b
n00b


Joined: 17 Feb 2005
Posts: 1
Location: Bangalore

PostPosted: Thu Feb 17, 2005 7:07 pm    Post subject: Reply with quote

Thank you you solve my problem too
Back to top
View user's profile Send private message
rbclemen
n00b
n00b


Joined: 19 Feb 2005
Posts: 1

PostPosted: Sat Feb 19, 2005 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
blk-majik
n00b
n00b


Joined: 16 Feb 2005
Posts: 8

PostPosted: Sun Feb 20, 2005 7:34 pm    Post subject: Reply with quote

me too, thanks every1!
Back to top
View user's profile Send private message
yucca
n00b
n00b


Joined: 21 Feb 2005
Posts: 1
Location: Finland

PostPosted: Mon Feb 21, 2005 9:01 am    Post subject: Reply with quote

Thanks a lot. This fix my problem also. :lol:
Back to top
View user's profile Send private message
bobbens
n00b
n00b


Joined: 17 Feb 2005
Posts: 16
Location: Barcelona

PostPosted: Tue Feb 22, 2005 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
KeithF
n00b
n00b


Joined: 23 Feb 2005
Posts: 1
Location: Washington, D.C.

PostPosted: Wed Feb 23, 2005 1:54 pm    Post subject: Saved! Reply with quote

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
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Wed Feb 23, 2005 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
buggy_code
n00b
n00b


Joined: 11 Nov 2004
Posts: 32
Location: Melbourne, Australia

PostPosted: Fri Feb 25, 2005 3:49 am    Post subject: Reply with quote

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 :D
Buggy
Back to top
View user's profile Send private message
Thomas Carrie
n00b
n00b


Joined: 19 Apr 2004
Posts: 70

PostPosted: Fri Feb 25, 2005 7:38 pm    Post subject: Reply with quote

Thank you Halcy0n

:D "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
View user's profile Send private message
darknexus
n00b
n00b


Joined: 15 Feb 2005
Posts: 5

PostPosted: Sat Feb 26, 2005 10:15 pm    Post subject: Reply with quote

Thanks you saved my ass, this is why i love gentoo; excelent support forums!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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