emerge fails rxtx-2.1.7.2-r2 libtool ver. mismatch [Solved]

Anything that pertains to Portage

Moderator: Moderators

emerge fails rxtx-2.1.7.2-r2 libtool ver. mismatch [Solved]

Postby dyingmuppet » Mon Jun 23, 2008 13:25

Hey guys,

I would have post this on bugzilla, but I had to create an account and the email response back takes very long..
The problem I have and where I didn't found a solution for is this:
I need to install a program called Arduino via this howto on gentoo: http://www.arduino.cc/playground/Linux/Gentoo
and I was at the first stage of emerging a couple of packages with rxtx included, all packages got merged well, except for dev-java/rxtx-2.1.7.2-r2
the build.log:
build-log.txt
Build.log
(13.35 KiB) Downloaded 26 times

the ebuild environment:
environment.txt
Environment log
(171.89 KiB) Downloaded 50 times

and emerge --info:
emerge-info.txt
emerge --info
(5 KiB) Downloaded 38 times


also I had to include this info:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

the most important part I think that creates the error is the libtool version mismatch error shown here:
Code: Select all
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
make: *** [x86_64-pc-linux-gnu/librxtxParallel.la] Error 63
make: *** Waiting for unfinished jobs....
make: *** [x86_64-pc-linux-gnu/librxtxI2C.la] Error 63
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 460: CDPATH: command not found
/var/tmp/portage/dev-java/rxtx-2.1.7.2-r2/work/rxtx-2.1-7r2/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
make: *** [x86_64-pc-linux-gnu/librxtxSerial.la] Error 63


I'd appreciate anyone's help :D
TIA, Grtz DM.
Last edited by dyingmuppet on Mon Jun 23, 2008 17:17, edited 1 time in total.
Image
Image
User avatar
dyingmuppet
Growing Hen
 
Posts: 130
Joined: Sun Jan 07, 2007 15:43
Location: Netherlands

Re: emerge fails rxtx-2.1.7.2-r2 with libtool ver. mismatch

Postby freeallbadgers » Mon Jun 23, 2008 17:09

Yup, got the same error here, gentoo bugzilla has no reports of this bug. But, after a bit of research, I found a solution.....

Edit the ebuild

Code: Select all
nano /usr/portage/dev-java/rxtx/rxtx-2.1.7.2-r2.ebuild


look for and change...

Code: Select all
eautoreconf


to

Code: Select all
eautoconf


digest the ebuild

Code: Select all
ebuild /usr/portage/dev-java/rxtx/rxtx-2.1.7.2-r2.ebuild digest


and then emerge it as usual, it compiles fine.

Hope this helps.
“I just finished compiling glibc and now it says there is a new update available? Arrgh! It never ends!!”
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Re: emerge fails rxtx-2.1.7.2-r2 with libtool ver. mismatch

Postby dyingmuppet » Mon Jun 23, 2008 17:15

Thanks freeallbadgers,

That did the trick :)
I owe u now :wink:

Grtz DM
Image
Image
User avatar
dyingmuppet
Growing Hen
 
Posts: 130
Joined: Sun Jan 07, 2007 15:43
Location: Netherlands

Re: emerge fails rxtx-2.1.7.2-r2 libtool ver. mismatch [Solved]

Postby blockschaltbild » Wed Apr 15, 2009 16:32

hey folks,
i just stepped over the same porblem. changing the ebuild didnt do it for me:(
did somebody get it to work? im running sabayon 4.1 /amd64:

* Running autoconf ... [ !! ]

* Failed Running autoconf !

greetings xtc.
blockschaltbild
Baby Hen
 
Posts: 3
Joined: Wed Apr 15, 2009 16:22

Re: emerge fails rxtx-2.1.7.2-r2 libtool ver. mismatch [Solved]

Postby dyingmuppet » Thu Apr 16, 2009 8:28

Try using entropy to install, it should be less of a pain ;)

Grtz DM
Image
Image
User avatar
dyingmuppet
Growing Hen
 
Posts: 130
Joined: Sun Jan 07, 2007 15:43
Location: Netherlands


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest