[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21400: Location of "file" is hard coded

From: John Frankish
Subject: bug#21400: Location of "file" is hard coded
Date: Wed, 2 Sep 2015 19:18:06 +0400


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:

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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]