Incorrect automake, aclocal path variables in autoreconf script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Automake |
Invalid
|
Undecided
|
Unassigned | ||
autoconf (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In the script /usr/bin/autoreconf provided by package autoconf, the path variables for autoconf and aclocal are incorrect. They are set as autoconf and aclocal, which are not executables on the system, and
When autoreconf is invoked, you will receive messages such as:
+ exec autoreconf
Can't exec "aclocal": No such file or directory at /usr/bin/autoreconf line 184.
Use of uninitialized value $aclocal in pattern match (m//) at /usr/bin/autoreconf line 184.
Can't exec "automake": No such file or directory at /usr/bin/autoreconf line 185.
Use of uninitialized value $automake in pattern match (m//) at /usr/bin/autoreconf line 185.
Can't exec "aclocal": No such file or directory at /usr/share/
autoreconf: failed to run aclocal: No such file or directory
The above were obtained by running ./autogen.sh in the current mainline of wget.
Since there are several versions of these binaries, it appears that the decision was made to name each with its version number in /usr/bin/; for example, /usr/bin/
Here's the fix. The following two symlinks need to be created when the autoconf package is installed:
/usr/bin/automake -> /etc/alternativ
/usr/bin/aclocal -> /etc/alternativ
That is the model that is employed for other such executables that keep their version number, but it has eluded this package for some reason.
Actually, this bug is probably in automake, which should be responsible for making its own symlinks. What I have described above is really just a symptom of a problem with automake.