Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge jpeg fails - pretty serious
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
elestedt
Guru
Guru


Joined: 13 Mar 2005
Posts: 383

PostPosted: Mon Mar 28, 2005 2:39 pm    Post subject: emerge jpeg fails - pretty serious Reply with quote

For some reason emerging the jpeg library fails.
The output of emerge when failing is:
Code:

g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o  .libs/jcapimin.o .libs/jcapistd.o .libs/jctrans.o .libs/jcparam.o .libs/jdatadst.o .libs/jcinit.o .libs/jcmaster.o .libs/jcmarker.o .libs/jcmainct.o .libs/jcprepct.o .libs/jccoefct.o .libs/jccolor.o .libs/jcsample.o .libs/jchuff.o .libs/jcphuff.o .libs/jcdctmgr.o .libs/jfdctfst.o .libs/jfdctflt.o .libs/jfdctint.o .libs/jdapimin.o .libs/jdapistd.o .libs/jdtrans.o .libs/jdatasrc.o .libs/jdmaster.o .libs/jdinput.o .libs/jdmarker.o .libs/jdhuff.o .libs/jdphuff.o .libs/jdmainct.o .libs/jdcoefct.o .libs/jdpostct.o .libs/jddctmgr.o .libs/jidctfst.o .libs/jidctflt.o .libs/jidctint.o .libs/jidctred.o .libs/jdsample.o .libs/jdcolor.o .libs/jquant1.o .libs/jquant2.o .libs/jdmerge.o .libs/jcomapi.o .libs/jutils.o .libs/jerror.o .libs/jmemmgr.o .libs/jmemnobs.o  -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o  -Wl,-soname -Wl,libjpeg.so.62 -o .libs/libjpeg.so.62.0.0
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

Any emerge info is:
Code:

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11.5 i686)
=================================================================
System uname: 2.6.11.5 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 19 2005, 13:07:51)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS=" http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts crypt cups emboss encode font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse sse2 ssl svga tcpd truetype truetype-fonts type1-fonts unicode userlocales xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


I've managed to emerge some other libraries and apps (Xorg-x11 and screen for some) but jpeg fails - and without it alot of programs won't compile, like firefox, links.

Any help is appriciated - I'm stuck...
I've already tried removing the dist file, changeing mirror and of course cleaning the portage temp. dir.

Thanks in advance
Back to top
View user's profile Send private message
JRV
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 291

PostPosted: Mon Mar 28, 2005 2:48 pm    Post subject: Re: emerge jpeg fails - pretty serious Reply with quote

elestedt wrote:

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



Hm, in my system, these files exist and they belong to glibc (sys-libs/glibc-2.3.4.20041102-r1), so you might try reemerging glibc. The interesting thing is: how did those files get deleted or did something go wrong with your glibc installation, so that they weren't even installed?
Back to top
View user's profile Send private message
elestedt
Guru
Guru


Joined: 13 Mar 2005
Posts: 383

PostPosted: Mon Mar 28, 2005 2:58 pm    Post subject: Reply with quote

Could the fact that i've recompiled glibc using userlocales have anything to do with it?

I've started an emerge -uDve system - yes I know that I'm recompiling my entire system... but at least that should solve my glibc problem - i hope :)
Back to top
View user's profile Send private message
JRV
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 291

PostPosted: Mon Mar 28, 2005 3:06 pm    Post subject: Reply with quote

Other people with other distros are having the same problem. From http://lists.debian.org/debian-gcc/2004/10/msg00128.html :

Quote:

> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crti.o: No such file or
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/crtbeginS.o: No such file or
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/crtendS.o: No such file or
> directory
> g++-3.3: /usr/lib/gcc-lib/i486-linux/3.3.4/../../../crtn.o: No such file or
> directory
> make[1]: *** [libextractor_pdf.la] Error 1

you need to remake the libtool dependencies (the quick and dirty way
is to make distclean and recompile everything). the gcc files have
moved to /usr/lib/gcc-lib/i486-linux/3.3.5 since this is the version
you are using. this is not a gcc bug.


Maybe try "fix_libtool_files.sh"?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Mar 28, 2005 3:19 pm    Post subject: Reply with quote

Have a look at this sticky at the top of the forum: https://forums.gentoo.org/viewtopic-t-281660.html

Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
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