Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[solved] problems with autotools, autoreconf, libtoolize

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
wazow
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Thu Jan 08, 2004 8:26 am
Location: Rødovre, Denmark
Contact:
Contact wazow
Website

[solved] problems with autotools, autoreconf, libtoolize

  • Quote

Post by wazow » Thu Mar 15, 2007 8:32 pm

I am compiling a project from source (not in portage) on a gentoo machine. I face the following problem:

Code: Select all

...
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.5.20) ***

Please run:
  
  libtoolize --copy --force

...
The same project compiles smoothly on my gentoo notebook, so it seems that something got broken on that machine. Running the hint about libtoolize does not help (it reports an error that configure.ac is missing). Can anybody hint what should I fix?
Last edited by wazow on Fri Mar 16, 2007 2:10 pm, edited 1 time in total.
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Thu Mar 15, 2007 11:11 pm

Check out the autotools eclass, and its eautoreconf command. Examples:

Code: Select all

find /usr/portage/ -name \*.ebuild | xargs grep -H eautoreconf
Top
wazow
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Thu Jan 08, 2004 8:26 am
Location: Rødovre, Denmark
Contact:
Contact wazow
Website

  • Quote

Post by wazow » Fri Mar 16, 2007 1:53 pm

PaulBredbury wrote:Check out the autotools eclass, and its eautoreconf command. Examples:

Code: Select all

find /usr/portage/ -name \*.ebuild | xargs grep -H eautoreconf
Can you be slightly more specific? I am not a gentoo developr, so I do not even know what eclass is. Note that this thing I am compiling is not an ebuild even. I have tried to run the command that you suggested, but it seems just to report lots of ebuild that do eautoreconf, and I do not even know what eautoreconf is.
Top
wazow
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Thu Jan 08, 2004 8:26 am
Location: Rødovre, Denmark
Contact:
Contact wazow
Website

  • Quote

Post by wazow » Fri Mar 16, 2007 2:10 pm

wazow wrote:Can you be slightly more specific? I am not a gentoo developr, so I do not even know what eclass is. Note that this thing I am compiling is not an ebuild even. I have tried to run the command that you suggested, but it seems just to report lots of ebuild that do eautoreconf, and I do not even know what eautoreconf is.
I have sorted it out myself: I have found out that eautoreconf is a portage function that calls autoreconf. I do not really know what autoreconf does, but I just wen to the main dir of the source tree and run it. Then I still had to run libtoolize --copy --force, as the script has suggested. And then everything builds automagically as per build instructions of that package.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

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