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 Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Thu May 12, 2005 5:49 am    Post subject: Reply with quote

I've hit a similar problem, except I can't quite get libtool re-emerged since I'm running into this problem within Catalyst. The error I get is:
Code:
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapimin.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapistd.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! make failed

I saw that re-emerging libtool fixed this problem for most, so I tried re-emerging libtool in my main environment as a test. My main environment can emerge media-libs/jpeg fine, and re-emerging libtool didn't help my "jailed" Catalyst environment. Is there a work-around for this problem within Catalyst? T.I.A. ;)
Back to top
View user's profile Send private message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Thu May 12, 2005 10:03 am    Post subject: Reply with quote

korngerd wrote:
I've hit a similar problem, except I can't quite get libtool re-emerged since I'm running into this problem within Catalyst.


Sorry, I spoke too soon. I've fixed the problem by including libtool as one of the packages to emerge in livecd stage 1. So, appending `libtool` under `livecd/packages:` seems to have fixed the problem in Catalyst (boy, this libtool problem is annoying...). If anyone has similar problems, try emerging `libtool` in stage 1 of the Catalyst livecd ;)

Edit: You also have to include `libtool` in `boot/kernel/gentoo/postconf:` in your livecd stage 2 Catalyst configuration file:
Code:
boot/kernel/gentoo/postconf:
        libtool
        splashutils
        splash-themes-livecd
Back to top
View user's profile Send private message
devjonfos
n00b
n00b


Joined: 07 Mar 2003
Posts: 27
Location: Northern California

PostPosted: Sun May 15, 2005 4:37 am    Post subject: Reply with quote

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/../../../../i686-pc-linux-gnu/lib -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 44, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


I was doing emerge --update --deep --newuse world in upgrading from 2004.3 to 2005.0.

That emerge --oneshot libtool worked for me. Thanks. :)
Back to top
View user's profile Send private message
buckchird
n00b
n00b


Joined: 16 May 2005
Posts: 2
Location: Omaha

PostPosted: Mon May 16, 2005 5:05 am    Post subject: yaaaaa!!!! Reply with quote

libtool was thee key, thankyou.
_________________
Emerge third dimension......
Back to top
View user's profile Send private message
vtrac
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 86

PostPosted: Thu Oct 13, 2005 1:35 pm    Post subject: Reply with quote

Worked for me on a dual Opteron environment. Thanks.
Back to top
View user's profile Send private message
Baer
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2003
Posts: 96
Location: Munich, Germany

PostPosted: Sun Oct 30, 2005 6:46 pm    Post subject: It finally works Reply with quote

Great tip. Just wanted to emerge jpeg-6b-r5 on my fresh Gentoo 2005.1... everything like revdep-rebuild && fix_libtool_files.sh didn't work, but re-emerging libtool worked fine for me.

Regs
Rob
_________________
Life is like a roll of toilet paper, when the end is near we panic!
Back to top
View user's profile Send private message
Fuzeron
n00b
n00b


Joined: 15 Apr 2003
Posts: 25
Location: California

PostPosted: Fri Jan 06, 2006 7:06 pm    Post subject: Reply with quote

jpeg-6b-r5 was giving me problems, like many others in this post

remerging libtools fixed it for me. thx fellas
_________________
#324687
Back to top
View user's profile Send private message
Chain
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2006
Posts: 110
Location: Vienna

PostPosted: Sun Jun 11, 2006 8:22 am    Post subject: Still happening in -r7... Reply with quote

It's a real pain in the ass with a soekris net4801. I just wanted to emerge cups, and have used up a whole day for this issue...

I did the emerge libtool --oneshot thing.
Interesting for me was, that it downloaded a new package and installed a new version...
maybe some problems with dependencies?

But it did the trick!
Thanks guys one more time again :)
Back to top
View user's profile Send private message
dakster
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 178
Location: New England

PostPosted: Mon Jun 12, 2006 5:14 pm    Post subject: re-emerging libtool doesnt' work for me... Reply with quote

Strangely, re-emerging libtool doesn't fix the jpeg problem for me. I'm trying to emerge media-libs/jpeg-6b-r7 to fix up a glsa. This happens on both my amd64 box, and my dual Xeon gentoo boxes at work. I get the:

creating libtool
checking for 'tmpfile()'... yes
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
./libtool-wrap --mode=compile x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -frename-registers -I. -c ./jcapimin.c
./libtool-wrap --mode=compile x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -frename-registers -I. -c ./jcapistd.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapimin.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapistd.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r7 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
jpeg-6b-r7.ebuild, line 34: Called die


When trying to emerge jpeg-6b-r7 to fix up the latest glsa. Same thing on the amd64 box too. I reemerged libtool on both boxes and it does the same thing. Here's the emerge info on my amd64 box:

shadowcat(root)> emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 FX-53 Processor
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/"
LANG="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups dga divx4linux dri dvd dvdr eds emboss encode firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg jpg kde lzw lzw-tiff mad mp3 mpeg ncurses nls nptl nvidia oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd theora threads tiff truetype truetype-fonts type1-fonts udev usb xinerama xorg xpm xv xvid xvmn zlib elibc_glibc kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Any ideas? I also reemerged and update autoconf and automake on these boxes to no avail either.
Back to top
View user's profile Send private message
pgratz
n00b
n00b


Joined: 06 May 2003
Posts: 26

PostPosted: Sun Jun 25, 2006 10:38 pm    Post subject: Reply with quote

Just adding a followup incase anyone else has the same problem I had.

The original solution didn't quite work for me. I tried re-emergeing libtool a couple times and it made no difference I kept getting a path to an old version of gcc that was no longer installed.

In the end I discovered that I had an old version of libtool installed in /usr/local/bin that was the culprit. Manually removing that version and re-emerging libtool did the trick.
Paul
Back to top
View user's profile Send private message
K_O-Gnom
n00b
n00b


Joined: 01 Nov 2005
Posts: 34

PostPosted: Wed Jul 05, 2006 2:56 pm    Post subject: Reply with quote

THANKS ive got a problem with my jpeg lib and i do an
emerge --oneshot libtool
and it works

THANKS THANKS THANKS

mfg Gnom
Back to top
View user's profile Send private message
region-g
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2005
Posts: 122
Location: Ελλάς

PostPosted: Thu Jan 25, 2007 1:19 pm    Post subject: Re: case closed Reply with quote

Halcy0n thanx a lot man, you sure helped me wit da "emerge --oneshot libtool" tip
_________________
wanna react ?
Back to top
View user's profile Send private message
Theron NightStar
n00b
n00b


Joined: 21 Jan 2007
Posts: 7

PostPosted: Sat Jan 27, 2007 11:04 pm    Post subject: 2 years now? Reply with quote

Just like everyone else, I would like to say thanks for the answer to this problem. That brings me to another problem though. I have seen that Gentoo is one of the best and most supported distros of Linux out there (IMHO). Anytime I have had a problem, I have found the answer here. Yet this problem still exists. The original answer was posted almost 2 years ago, and it is still a problem? Relative to the speed with which the linux community moves to remove bugs, this is an eternity. When is this problem going to be fixed? Just curious.
Back to top
View user's profile Send private message
darude
n00b
n00b


Joined: 21 Feb 2008
Posts: 1

PostPosted: Fri Apr 11, 2008 9:37 am    Post subject: Reply with quote

well guys the problem appeared 3 years after the first post which is amazing in some way but disappointing in another way.

but in fact the "emerge --oneshot libtool" hint still fixed the problem.

thanks again, 3 years too late but important to mention that this problem appears from time to time when doing a fresh install.
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 Previous  1, 2, 3
Page 3 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