Opened 7 years ago

Closed 7 years ago

#8155 closed defect (worksforme)

autogen requires libtool

Reported by: mazda Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.2.4.9-alpha
Severity: Keywords: tor-client
Cc: nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

For the first time when I tried to install Tor from a source that I check out from git, autogen give this error:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m) at /usr/bin/autoreconf line 196.

Which can be resolved by installing libtool: apt-get install libtool

0.2.4.9-alpha-dev

Child Tickets

Change History (5)

comment:1 Changed 7 years ago by nickm

Component: - Select a componentTor
Keywords: tor-client added
Milestone: Tor: 0.2.4.x-final

Confusing! What's your autoreconf version? It's only supposed to run libtoolize when the program is actually using libtool.

comment:2 Changed 7 years ago by mazda

autoconf (GNU Autoconf) 2.68

3.2.0-35-generic #55-Ubuntu

comment:3 Changed 7 years ago by nickm

Milestone: Tor: 0.2.4.x-finalTor: unspecified
Status: newneeds_information

I am almost sure this has to be a bug in whatever ubuntu autotools stuff you have. On my fedora and OSX boxen, autoreconf only invokes libtoolize as needed. Are there any ubuntu/autotools geeks who can take a look here?

mazda, could you email me a copy of your /usr/bin/autoreconf for me to look at?

Others: you can test this on your boxen by running "autoreconf -ivf" and seeing whether it tells you that it's using Libtool or not.

comment:4 Changed 7 years ago by mazda

emailed nick copy of /usr/bin/autoreconf

Linux torauth 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

comment:5 Changed 7 years ago by nickm

Resolution: worksforme
Status: needs_informationclosed

Here's the offending line:

  $libtoolize_supports_install = `$libtoolize --help` =~ /--install/;

Note that it executes libtoolize to see whether it supports "--install" whether it is later going to call "libtoolize" or not. This is a bug in ubuntu, I think: when I went to look at the ubuntu source for this package, I found that they had added the line in their version of autoreconf -- it isn't in the autoreconf that the GNU project ships, and is added in ubuntu's diff.

Closing as "works for me" -- please feel free to report this on libtool's bugtracker if you want to help them out.

Thanks for helping track this down!

Note: See TracTickets for help on using tickets.