GNU bug report logs - #21400
Location of "file" is hard coded

Previous Next

Package: libtool;

Reported by: John Frankish <john.frankish <at> outlook.com>

Date: Wed, 2 Sep 2015 15:30:04 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Frankish <john.frankish <at> outlook.com>
To: <bug-libtool <at> gnu.org>
Subject: Location of "file" is hard coded
Date: Wed, 2 Sep 2015 19:18:06 +0400
Hi,

I see an error that /usr/bin/file cannot be found when running the configure
script in many packages - in my distro "file" is at /usr/local/bin/file.

As an example, using NetworkManager-1.0.4, gives:

./configure
...
checking for archiver @FILE support... @
checking for strip... strip [which is in /usr/local/bin]
checking for ranlib... ranlib [which is in /usr/local/bin]
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
./configure: ./configure.lineno: line 1: /usr/bin/file: not found [but it is
in /usr/local/bin]
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes

I'm told this is due to the location of "file" being hard coded in
NetworkManager-1.0.4/m4/libtool.m4

Would it be possible to look for "file" in $PATH instead?

Regards
John





This bug report was last modified 9 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.