Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

libtool.m4 and ltmain.sh have a version mismatch

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
24 posts • Page 1 of 1
Author
Message
Ezzet
n00b
n00b
Posts: 32
Joined: Sat May 07, 2005 6:41 pm

libtool.m4 and ltmain.sh have a version mismatch

  • Quote

Post by Ezzet » Sat May 14, 2005 2:29 pm

I'm new with Gentoo and now installing KDE. I get a message:

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) ***

Please run:
+
+ libtoolize --copy --force

How can I solve this problem? I found a site http://thread.gmane.org/gmane.linux.gentoo.devel/23449 where is "HOWTO" fix broken ebuilds but I really don't know how to use command libtoolize and where exact?
Can someone help me???
Top
slimpinto
n00b
n00b
Posts: 46
Joined: Sun Dec 07, 2003 5:14 am

  • Quote

Post by slimpinto » Sat May 14, 2005 4:28 pm

Me too...Last night before bed, I fired up "emerge kde" on a new stage2 install (2.6.11r8) and I was greeted with that error this morning as well. Help!
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Sat May 14, 2005 5:34 pm

Which ebuild was it that it failed on? Once you tell me that I can easily tell you where to put it after examining that ebuild.

And I know you said it was when doing "emerge kde" but there are a lot of dependencies for kde.
Top
slimpinto
n00b
n00b
Posts: 46
Joined: Sun Dec 07, 2003 5:14 am

  • Quote

Post by slimpinto » Sat May 14, 2005 6:05 pm

slycordinator wrote:Which ebuild was it that it failed on? Once you tell me that I can easily tell you where to put it after examining that ebuild.

And I know you said it was when doing "emerge kde" but there are a lot of dependencies for kde.
1116066858: === (1 of 82) Cleaning (media-libs/lcms-1.13::/usr/portage/media-libs/lcms/lcms-1.13.ebuild)
1116066859: === (1 of 82) Compiling/Merging (media-libs/lcms-1.13::/usr/portage/media-libs/lcms/lcms-1.13.ebuild)
1116066880: *** terminating.
Top
Ezzet
n00b
n00b
Posts: 32
Joined: Sat May 07, 2005 6:41 pm

  • Quote

Post by Ezzet » Sat May 14, 2005 7:59 pm

slycordinator wrote:Which ebuild was it that it failed on? Once you tell me that I can easily tell you where to put it after examining that ebuild.

And I know you said it was when doing "emerge kde" but there are a lot of dependencies for kde.

!!!ERROR: media-libs/lcms-1.13 failed.
!!!Function econf,Line 485,Exitcode0
!!!Econf failed
Top
krimson
n00b
n00b
Posts: 7
Joined: Sat May 14, 2005 9:09 pm

  • Quote

Post by krimson » Sat May 14, 2005 9:21 pm

I am having the same issue while trying to emerge mozilla-firefox, it fails on the same dependency (lcms-1.13).

Mismatch is: libtool.m4 = 1.5.16, ltmain.sh = 1.5
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Sat May 14, 2005 9:26 pm

There's a bug report for this problem here: http://bugs.gentoo.org/show_bug.cgi?id=74442
No-one's more important than the earthworm.
Top
slimpinto
n00b
n00b
Posts: 46
Joined: Sun Dec 07, 2003 5:14 am

  • Quote

Post by slimpinto » Sat May 14, 2005 10:45 pm

Can someone write out the commands to grab the patch an easy way on a new install or will an emerge sync fix this? Thanks!
Top
stillman
Apprentice
Apprentice
User avatar
Posts: 223
Joined: Sat Dec 07, 2002 6:01 pm
Location: Vienna, Austria

  • Quote

Post by stillman » Sun May 15, 2005 12:53 am

just had the same issue, tried to apply the patch and finally found out how it works:
copy the patch to /usr/portage/lib-media/lcms/

Code: Select all

# cd /usr/portage/lib-media/lcms/
# ebuild lcms-1.13.ebuild digest
# emerge lcms
don't know how portage does it but there must be some kind of magic trick involved... :roll:
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Sun May 15, 2005 1:17 am

Just so you guys know I just installed the newest version of lcms (version 1.14) and had no problems. So obviously the fix they used was sent upstream.
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Sun May 15, 2005 1:23 am

stillman wrote:just had the same issue, tried to apply the patch and finally found out how it works:
copy the patch to /usr/portage/lib-media/lcms/

Code: Select all

# cd /usr/portage/lib-media/lcms/
# ebuild lcms-1.13.ebuild digest
# emerge lcms
don't know how portage does it but there must be some kind of magic trick involved... :roll:
That's weird. I saw nothing in the ebuild manpage that would indicate that a patch could be applied to an ebuild like that.
Top
Ezzet
n00b
n00b
Posts: 32
Joined: Sat May 07, 2005 6:41 pm

  • Quote

Post by Ezzet » Sun May 15, 2005 4:46 am

slimpinto wrote:Can someone write out the commands to grab the patch an easy way on a new install or will an emerge sync fix this? Thanks!
Emerge sync fix this problem now!
Top
slimpinto
n00b
n00b
Posts: 46
Joined: Sun Dec 07, 2003 5:14 am

  • Quote

Post by slimpinto » Sun May 15, 2005 5:28 am

Ezzet wrote:Emerge sync fix this problem now!
Yup, it sure did...Thanks for all the help...KDE is on its way again...
Top
devjonfos
n00b
n00b
User avatar
Posts: 27
Joined: Fri Mar 07, 2003 3:16 am
Location: Northern California

  • Quote

Post by devjonfos » Sun May 15, 2005 5:49 am

Code: Select all

checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/lcms-1.13/work/lcms-1.13/config.log

!!! ERROR: media-libs/lcms-1.13 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
I got stung by the same error. I followed the instructions for the patch, but that didn't help. I noticed the path was different. I had to change mine to media-libs instead of lib-media.

What did work was doing a new emerge sync even though I started this whole mess with an emerge sync several hours ago. I guess lcms-1.14 must have slipped in.
Top
stillman
Apprentice
Apprentice
User avatar
Posts: 223
Joined: Sat Dec 07, 2002 6:01 pm
Location: Vienna, Austria

  • Quote

Post by stillman » Sun May 15, 2005 7:49 am

sorry, it was late yesterday, its media-libs of course....
slycordinator wrote: That's weird. I saw nothing in the ebuild manpage that would indicate that a patch could be applied to an ebuild like that.
well, it included the patch in the md5-check so i guess it must have used it, i didn't do anything else with success. in german we say:"probieren geht über studieren"("trying is better than studying" - reg. dict.leo.org:"The proof of the pudding is in the eating.") ;-)
Top
Lore84
n00b
n00b
Posts: 28
Joined: Sun Apr 25, 2004 3:42 pm
Location: Prague

  • Quote

Post by Lore84 » Mon May 16, 2005 7:53 am

Still same problem with media-libs/lcms-1.13-r1 package.
Top
stillman
Apprentice
Apprentice
User avatar
Posts: 223
Joined: Sat Dec 07, 2002 6:01 pm
Location: Vienna, Austria

  • Quote

Post by stillman » Mon May 16, 2005 7:31 pm

Lore84 wrote:Still same problem with media-libs/lcms-1.13-r1 package.
lcms-1.13-r1 is broken, do 'emerge --sync' to merge working lcms-1.14 or apply the patch if you have to use the 1.13-r1 for some reason...
Top
Lore84
n00b
n00b
Posts: 28
Joined: Sun Apr 25, 2004 3:42 pm
Location: Prague

  • Quote

Post by Lore84 » Thu May 19, 2005 1:41 pm

lcms-1.14 works fine, thanks.
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

*** libtool.m4 and ltmain.sh have a version mismatch! ***

  • Quote

Post by SAngeli » Thu May 19, 2005 6:43 pm

[SOLVED]
I solved this issue this way:
1) emerge sync
2) emerge lcms (which compliled lcms-1.13-r1 as being the latest version in portage)

End.



Hi,

anybody knows if I can just perform libtoolize --copy --force or something else?

Code: Select all

checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/lcms-1.13/work/lcms-1.13/config.log

!!! ERROR: media-libs/lcms-1.13 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Thank you,
Spiro
Top
shi^Yo
n00b
n00b
Posts: 9
Joined: Fri Oct 22, 2004 5:01 am
Location: Cyprus

Re: *** libtool.m4 and ltmain.sh have a version mismatch! **

  • Quote

Post by shi^Yo » Wed May 25, 2005 6:03 pm

SAngeli wrote:[SOLVED]
I solved this issue this way:
1) emerge sync
2) emerge lcms (which compliled lcms-1.13-r1 as being the latest version in portage)

still not working here, even with the solution. Still geting the following error msg from kdevelop:

Code: Select all

checking for strip... strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5a) ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

*** Exited with status: 1 ***

looks like i ve chosen a bad time to transmit fro java to c++
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

Re: *** libtool.m4 and ltmain.sh have a version mismatch! **

  • Quote

Post by slycordinator » Wed May 25, 2005 6:35 pm

shi^Yo wrote:
SAngeli wrote:[SOLVED]
I solved this issue this way:
1) emerge sync
2) emerge lcms (which compliled lcms-1.13-r1 as being the latest version in portage)

still not working here, even with the solution. Still geting the following error msg from kdevelop:

Code: Select all

checking for strip... strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5a) ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

*** Exited with status: 1 ***

looks like i ve chosen a bad time to transmit fro java to c++
That "solution" (syncing to a new portage tree) only fixes the lcms problem. Essentially, someone patched the ebuild for lcms.

So other ebuilds that are written incorrectly WILL STILL SHOW THE SAME PROBLEM.
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Wed May 25, 2005 6:51 pm

Code: Select all

So other ebuilds that are written incorrectly WILL STILL SHOW THE SAME PROBLEM.
So? File bug reports if you find such ebuilds, so developers can fix them.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Wed May 25, 2005 10:40 pm

nixnut wrote:

Code: Select all

So other ebuilds that are written incorrectly WILL STILL SHOW THE SAME PROBLEM.
So? File bug reports if you find such ebuilds, so developers can fix them.
I'm well aware of this.

He, though, seemed to think that fixing the problem that occurred with lcms was going to get rid of all instances of that same problem.
Top
Aciel
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Wed Jan 07, 2004 6:50 pm

  • Quote

Post by Aciel » Fri May 27, 2005 3:07 pm

My problem is I'm not just getting this with Ebuilds. I'm working in kdevelop and I created a new, simple project (Hello World template). When I run aclocal, I get the libtool and ltmain version mismatch. What gives? I tried emerging the new version of lcms; that worked fine. But no luck with this one.
Top
Post Reply

24 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic