I'm trying to compile some software on Ubuntu 12.04 (64 bit). It fails with this error.
checking for make... /usr/bin/make
configure: tested: whether version of /usr/bin/make is 3.82+
configure: ===INF=== Installed version of make is not 3.82+:
make: *** No targets specified and no makefile found. Stop.
Checking
$ make --version
GNU Make 3.81
This program built for x86_64-pc-linux-gnu
I downloaded 3.82 from http://ftp.gnu.org/gnu/make/ ... then ran:
./configure
sudo make install
make --version
GNU Make 3.82
But, I'm still getting the above error message.
Is there any way I can ensure this is the only version of make
on my system? Or a way I can install a higher version of make 3.X?
Since the configure script seems to be looking at a specific location for make, I think you have two options:
/usr/bin/make
with the new version.I can't find a PPA offering a higher version of make, so I see two ways out:
The easier way:
This way, you get a backup of the original make and can still call the old one.
The longer way: Use
checkinstall
to manage the installation. Delete the files installed by usingmake install
, then do:This adds the new make to to apt's database, making it easier to remove, upgrade or downgrade.