Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jpeg build fails
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
DittoBox
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 79

PostPosted: Sun Feb 27, 2005 2:24 am    Post subject: jpeg build fails Reply with quote

I'm creating a LAMP server just to expand my knowledge in these things. It's an old P3-450 256mb ram, 10 gig HD, but for all intents and purposes it'll work. My problem is when emerging jpeg during the emerge of php (or on it's own).

emerge jpeg does this:

Code:
emerge jpeg
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/jpeg-6b-r4 to /
>>> md5 src_uri ;-) jpegsrc.v6b.tar.gz
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r4/work
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/ltconfig...                                                                                                                                                  [ ok ] * Applying jpeg-6b-gentoo.patch ...                                                                                                                                         [ ok ]>>> Source unpacked.
 * econf: updating jpeg-6b/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jpeg-6b/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --enable-shared --enable-static
checking for gcc... gcc

# SNIP

libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=pentium3 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe  -I. -c ./jchuff.c
 i686-pc-linux-gnu-gcc -O3 -march=pentium3 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -I. -c ./jcsample.c  -fPIC -DPIC -o .libs/jcsample.o

# SNIP

libtool --mode=link i686-pc-linux-gnu-gcc -o libjpeg.la jcapimin.lo jcapistd.lo jctrans.lo jcparam.lo jdatadst.lo jcinit.lo jcmaster.lo jcmarker.lo jcmainct.lo jcprepct.lo jccoefct.lo jccolor.lo jcsample.lo jchuff.lo jcphuff.lo jcdctmgr.lo jfdctfst.lo jfdctflt.lo jfdctint.lo jdapimin.lo jdapistd.lo jdtrans.lo jdatasrc.lo jdmaster.lo jdinput.lo jdmarker.lo jdhuff.lo jdphuff.lo jdmainct.lo jdcoefct.lo jdpostct.lo jddctmgr.lo jidctfst.lo jidctflt.lo jidctint.lo jidctred.lo jdsample.lo jdcolor.lo jquant1.lo jquant2.lo jdmerge.lo jcomapi.lo jutils.lo jerror.lo jmemmgr.lo jmemnobs.lo \
        -rpath /usr/lib -version-info 62
libtool --mode=link i686-pc-linux-gnu-gcc  -o rdjpgcom rdjpgcom.lo
i686-pc-linux-gnu-gcc -o rdjpgcom .libs/rdjpgcom.o
libtool --mode=link i686-pc-linux-gnu-gcc  -o wrjpgcom wrjpgcom.lo
i686-pc-linux-gnu-gcc -o wrjpgcom .libs/wrjpgcom.o
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

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

#


Any ideas?
_________________
Beauty is in the eye of beholder, idiocy I guess, is too.
Back to top
View user's profile Send private message
diaconal
n00b
n00b


Joined: 03 Oct 2004
Posts: 70

PostPosted: Sun Feb 27, 2005 2:39 am    Post subject: Reply with quote

I had this problem recently too, and the quick solution I was told was to re-emerge libtool, which worked.
Back to top
View user's profile Send private message
DittoBox
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 79

PostPosted: Sun Feb 27, 2005 3:08 am    Post subject: Reply with quote

It worked great, thanks!!!
_________________
Beauty is in the eye of beholder, idiocy I guess, is too.
Back to top
View user's profile Send private message
kim_asplund
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2004
Posts: 92
Location: Finland

PostPosted: Wed Mar 02, 2005 10:48 pm    Post subject: Reply with quote

Nice :lol:
It worked for me to...

Thx.
Back to top
View user's profile Send private message
flipnode
Apprentice
Apprentice


Joined: 03 Oct 2004
Posts: 172
Location: USA

PostPosted: Fri Mar 04, 2005 7:50 am    Post subject: Solution worked Reply with quote

8O :roll: Cool .. solution worked for me as well.. thank god for all these great minds on the gentoo forums who have pre-solved problems!:D
_________________
I think Gentoo is great!
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Fri Mar 04, 2005 9:48 am    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-281660.html

Moved from Multimedia.
_________________
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