Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3901 closed Bug (fixed)

Confusing error message when libtool is missing

Reported by: jch Owned by: jordan
Priority: Low Milestone: 2.20
Component: Transmission Version: 2.13
Severity: Normal Keywords: backport-2.0x backport-2.1x
Cc:

Description

Running autogen.sh on a system with libtool not installed yields the following:

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Now type 'make' to compile Transmission.

Note that there are two bugs here: configure printing a confusing error message (it should complain about libtool missing, not about install-sh not having been generated), and the autogen.sh script failing to notice that configure has failed, and that no Makefile has been generated.

--jch

Change History (5)

comment:1 Changed 11 years ago by jordan

  • Milestone changed from None Set to 2.20
  • Owner set to jordan
  • Status changed from new to assigned

comment:2 Changed 11 years ago by jordan

jordan * r11745 /trunk/autogen.sh: (trunk) #3901 "Confusing error message when libtool is missing" -- fixed.

autogen.sh invokes autoreconf without checking to see if it fails (as it does if libtool can't be found). In such cases it also invokes a broken doomed version of the configure script, which generates a lot of red herring messages that distract from the real problem encountered by autoreconf. The fix is to exit autogen.sh if its call to autoreconf fails.

comment:3 Changed 11 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 11 years ago by jordan

  • Keywords backport-2.0x backport-2.1x added

comment:5 Changed 11 years ago by jordan

See also: #3939

Note: See TracTickets for help on using tickets.