Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error while compiling jpeg dependancey for KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
coffeekid
n00b
n00b


Joined: 03 Jun 2004
Posts: 49
Location: Salt Lake City, UT

PostPosted: Thu Jan 27, 2005 10:19 pm    Post subject: Error while compiling jpeg dependancey for KDE Reply with quote

doing an emerge kdebase kdeutils i get the following error on media-libs/jpeg-6b-r4

Code:

g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../criti.o: No such file or directory


I've tried to remove the .tar.gz file from the portage cache and remerge, and received the same error.

Any help would be greatly appreciated!

Thanks,

-CoffeeKid
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jan 27, 2005 11:19 pm    Post subject: Reply with quote

Your gcc is messed up. Please get into the habit of always posting the output of
Code:
emerge --info
- we can't help you otherwise.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
coffeekid
n00b
n00b


Joined: 03 Jun 2004
Posts: 49
Location: Salt Lake City, UT

PostPosted: Thu Jan 27, 2005 11:26 pm    Post subject: Reply with quote

Code:

Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) MP 1900+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 27 2005, 00:45:53)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm arts avi berkdb bitmap-fonts crypt encode f77 font-server foomaticdb fortran gdbm gif gpm gtk2 imlib ipv6 java kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY



Tried to re-emerge gcc .. no luck..

thanks for the help :)
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jan 27, 2005 11:47 pm    Post subject: Reply with quote

Oh, it's not gcc, it's glibc. Re-merge glibc.
You really shouldn't upgrade glibc, gcc, binutils or linux(26)-headers needlessly. Whenever you upgrade either of them, it's advisable to rebuild your system from scratch with
Code:
emerge -e system
emerge --depclean
emerge -e system
revdep-rebuild
emerge -e world
emerge --depclean
revdep-rebuild
emerge -e world

Do not emerge --sync until all that is finished.
For now you can stick with
Code:
emerge -e system
emerge --depclean
emerge -e system
revdep-rebuild
which will allow you to merge KDE just fine, but I strongly advise you recompile the entire system (so use the -e world part too). It will take a long while, but there's no other way to ensure a clean and stable toolchain.
If you're not sure what I was talking about when I mentioned toolchain, I advise you lock down gcc, binutils, glibc and linux(26)headers by masking out newer versions via /etc/portage/package.mask.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
coffeekid
n00b
n00b


Joined: 03 Jun 2004
Posts: 49
Location: Salt Lake City, UT

PostPosted: Thu Jan 27, 2005 11:55 pm    Post subject: Reply with quote

Thanks for the reply..

This is a new gentoo install, would it be faster to just start from scratch?

Thanks!
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Jan 28, 2005 12:18 am    Post subject: Reply with quote

Nope, not faster and not better since you'd likely get stuck at the same place again. Just clean up system and try again.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
coffeekid
n00b
n00b


Joined: 03 Jun 2004
Posts: 49
Location: Salt Lake City, UT

PostPosted: Fri Jan 28, 2005 12:59 am    Post subject: Reply with quote

Will do!

Thanks for all the help!
Back to top
View user's profile Send private message
krinkle
Guru
Guru


Joined: 04 Feb 2003
Posts: 338
Location: Garden Grove, CA

PostPosted: Sat Jan 29, 2005 3:12 am    Post subject: Reply with quote

i just ran into the same problem. you just need to re-emerge libtool. see this thread:
https://forums.gentoo.org/viewtopic.php?t=281660&highlight=libjpeg
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:53 am    Post subject: Reply with quote

moocha wrote:
You really shouldn't upgrade glibc, gcc, binutils or linux(26)-headers needlessly. Whenever you upgrade either of them, it's advisable to rebuild your system from scratch with
Code:
emerge -e system
emerge --depclean
emerge -e system
revdep-rebuild
emerge -e world
emerge --depclean
revdep-rebuild
emerge -e world


are you serious? that seems a little extreme. i never use emerge -e system, and i never have problems.

i would never even think about upgrading gcc or glibc when i was using redhat, but i've never had problems with gentoo. what could go wrong?
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

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

SerfurJ wrote:
are you serious?

Yes, I am.
SerfurJ wrote:
that seems a little extreme.

Keyword "seems".
SerfurJ wrote:
i never use emerge -e system, and i never have problems.

If you upgraded gcc and glibc, then you do. You just didn't notice them yet, or you were lucky enough not to hit them.
SerfurJ wrote:
i would never even think about upgrading gcc or glibc when i was using redhat, but i've never had problems with gentoo. what could go wrong?

The mind boggles.

For more info, see here: https://forums.gentoo.org/viewtopic.php?t=282474
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
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 6:55 pm    Post subject: Reply with quote

moocha,

that's a good tip and i'm going to give it a try, but i don't think it's required. here's the original post:
https://forums.gentoo.org/viewtopic.php?t=248245&start=53
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Jan 30, 2005 1:21 am    Post subject: Reply with quote

Suit yourself, but let the record state I warned you.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Sun Jan 30, 2005 8:40 pm    Post subject: Reply with quote

moocha,

i tried what you said and ran into problems. see this thread: https://forums.gentoo.org/viewtopic.php?t=287326

do you know what happened?
Back to top
View user's profile Send private message
Gaspar
n00b
n00b


Joined: 10 Jan 2005
Posts: 7

PostPosted: Sat Feb 12, 2005 10:57 pm    Post subject: Reply with quote

I got that error in media-libs/jpeg-6b-r4 as well. after i re-emerged libtool, no more problems. try libtool. its a possible solution that won't take forever. :P
Back to top
View user's profile Send private message
pR3D4
n00b
n00b


Joined: 10 Feb 2005
Posts: 8

PostPosted: Sat Feb 12, 2005 11:16 pm    Post subject: Reply with quote

moocha wrote:
Oh, it's not gcc, it's glibc. Re-merge glibc.
You really shouldn't upgrade glibc, gcc, binutils or linux(26)-headers needlessly. Whenever you upgrade either of them, it's advisable to rebuild your system from scratch with
Code:
emerge -e system
emerge --depclean
emerge -e system
revdep-rebuild
emerge -e world
emerge --depclean
revdep-rebuild
emerge -e world

Do not emerge --sync until all that is finished.
For now you can stick with
Code:
emerge -e system
emerge --depclean
emerge -e system
revdep-rebuild
which will allow you to merge KDE just fine, but I strongly advise you recompile the entire system (so use the -e world part too). It will take a long while, but there's no other way to ensure a clean and stable toolchain.
If you're not sure what I was talking about when I mentioned toolchain, I advise you lock down gcc, binutils, glibc and linux(26)headers by masking out newer versions via /etc/portage/package.mask.


have the same prob. do i need to reconfig anything ive installed/setup in configs then? do i have to recompile kernel?
Back to top
View user's profile Send private message
metatech
n00b
n00b


Joined: 13 Feb 2005
Posts: 1

PostPosted: Sun Feb 13, 2005 5:24 am    Post subject: Post subject: Error while compiling jpeg dependancey for KDE Reply with quote

I had the same issue with both KDE and GNOME. Tried all recommedations listed here and the only one that worked for me was remerging libtool as suggested. All good now.

Thanks,

MT
Back to top
View user's profile Send private message
nife
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2003
Posts: 87

PostPosted: Mon Feb 14, 2005 4:20 am    Post subject: Reply with quote

re-emerging libtool worked, no need to emerge -e system
Back to top
View user's profile Send private message
wim-x
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 109
Location: Netherlands

PostPosted: Wed Feb 16, 2005 2:53 pm    Post subject: Reply with quote

indeed, just emerge libtool worked.

this for libtool 1.5.10-r4, jpeg-6b-r4 and gcc 3.3.5
Back to top
View user's profile Send private message
coffeekid
n00b
n00b


Joined: 03 Jun 2004
Posts: 49
Location: Salt Lake City, UT

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

I ran into this same problem again, different gentoo install, same basic system (dual 1800+ 1 GB memory). Re-emerging libtools worked perfectly. On the previous system I did what moocha recommended. That worked as well, but took much longer. I'll post if i run into any other GCC related problems on this install.

-CoffeeKid
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:34 pm    Post subject: Reply with quote

Moving from Desktop Environments.

Please follow up to jpeg-6b-r4 fails to compile, fix_libtool_files.sh is no help
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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