Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Error emerge courier-0.59.0 - ./libtool: line 835
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tps
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 75

PostPosted: Fri Nov 06, 2009 7:29 am    Post subject: [SOLVED] Error emerge courier-0.59.0 - ./libtool: line 835 Reply with quote

Dear all

I get an error emerging courier-0.59.0.

I just did an emerge --sync

I have not been able to find any solution on the Internet.

Can anybody help?

Attached please see last part of build log

Thanks Thomas S

Making all in afx
make[1]: Entering directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/afx'
make all-am
make[2]: Entering directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/afx'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./.. -Wall -O2 -march=i686 -pipe -MT afxpipe.o -MD -MP -MF .deps/afxpipe.Tpo -c -o afxpipe.o afxpipe.C
mv -f .deps/afxpipe.Tpo .deps/afxpipe.Po
rm -f libafx.a
ar cru libafx.a afxpipe.o
i686-pc-linux-gnu-ranlib libafx.a
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./.. -Wall -O2 -march=i686 -pipe -MT testafxpipe.o -MD -MP -MF .deps/testafxpipe.Tpo -c -o testafxpipe.o testafxpipe.C
mv -f .deps/testafxpipe.Tpo .deps/testafxpipe.Po
i686-pc-linux-gnu-g++ -I.. -I./.. -Wall -O2 -march=i686 -pipe -Wl,-O1 -o testafxpipe testafxpipe.o libafx.a
make[2]: Leaving directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/afx'
make[1]: Leaving directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/afx'
Making all in gdbmobj
make[1]: Entering directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/gdbmobj'
make all-am
make[2]: Entering directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/gdbmobj'
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -MT gdbmobj.lo -MD -MP -MF .deps/gdbmobj.Tpo -c -o gdbmobj.lo gdbmobj.c
./libtool: line 835: X--tag=CC: command not found
./libtool: line 868: libtool: ignoring unknown tag : command not found
./libtool: line 835: X--mode=compile: command not found
./libtool: line 1002: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1003: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1146: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1146: X-DHAVE_CONFIG_H: command not found
./libtool: line 1146: X-I.: command not found
./libtool: line 1146: X-O2: command not found
./libtool: line 1146: X-march=i686: command not found
./libtool: line 1146: X-pipe: command not found
./libtool: line 1146: X-MT: command not found
./libtool: line 1146: Xgdbmobj.lo: command not found
./libtool: line 1146: X-MD: command not found
./libtool: line 1146: X-MP: command not found
./libtool: line 1146: X-MF: command not found
./libtool: line 1146: X.deps/gdbmobj.Tpo: No such file or directory
./libtool: line 1146: X-c: command not found
./libtool: line 1198: Xgdbmobj.lo: command not found
./libtool: line 1203: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gdbmobj.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/gdbmobj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/mail-mta/courier-0.59.0/work/courier-0.59.0/gdbmobj'
make: *** [all-recursive] Error 1
*
* ERROR: mail-mta/courier-0.59.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3088: Called die
* The specific snippet of code:
* emake || die "Compile problem"
* The die message:
* Compile problem
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/mail-mta/courier-0.59.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/mail-mta/courier-0.59.0/temp/environment'.
*


Last edited by tps on Fri Nov 06, 2009 11:31 am; edited 1 time in total
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Fri Nov 06, 2009 7:48 am    Post subject: Reply with quote

That looks like a too old sys-devel/libtool. Which version do you have?
Back to top
View user's profile Send private message
tps
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 75

PostPosted: Fri Nov 06, 2009 8:36 am    Post subject: Libtool Version is 2.2.6a Reply with quote

Hi few

Libtool is version 2.2.6a - please see below:


p600 ~ # emerge -av libtool

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-devel/libtool-2.2.6a USE="-test -vanilla" 717 kB

Total: 1 package (1 reinstall), Size of downloads: 717 kB

Would you like to merge these packages? [Yes/No]

Thanks!
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Fri Nov 06, 2009 8:43 am    Post subject: Reply with quote

It's the other way a round. It doesn't work with newer libtool. Your best bet is to keyword a newer courier version. There are some bugs about courier-* packages and libtool, but not this one. You should file one.
Back to top
View user's profile Send private message
tps
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 75

PostPosted: Fri Nov 06, 2009 8:59 am    Post subject: How to use a newer courier version? Reply with quote

Dear few

I am a little confused about how to flag that I want a newer courier verison?

I assume I have to change one of the /etc/portage files but I am not sure which and what the content should be.

Do you have a hint?

Thanks
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Fri Nov 06, 2009 9:13 am    Post subject: Reply with quote

echo "=mail-mta/courier-0.62.2 ~x86" >> /etc/portage/package.keywords

See [1].

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3
Back to top
View user's profile Send private message
tps
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 75

PostPosted: Fri Nov 06, 2009 11:20 am    Post subject: Success - thanks Reply with quote

Dear few

courier-0.62.2 emerge fine.

From /var/log/emerge.log:

::: completed emerge (1 of 2) mail-mta/courier-0.62.2 to /

Thanks a lot
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Fri Nov 06, 2009 12:17 pm    Post subject: Reply with quote

Glad to help. I filed a bug asking for stabilization of version 0.62.2 [1].

[1] https://bugs.gentoo.org/show_bug.cgi?id=292087
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
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