Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gmake upgrade fails - please suggest remedy

0 views
Skip to first unread message

Daku

unread,
Nov 21, 2009, 11:38:16 PM11/21/09
to
Could some Linux guru please help ? I am running RedHat 2.6.9-34.EL. I
am trying to build OpenWrt Kamikaze-8.09 on my machine. Whwn I tried
compiling it, I got an error message that I needed gmake 8.1 or above.
I downloaded the gzip file, unzipped and went through the steps of ./
configure, make, make check and make install and everything worked
exactly as per specs. After that though, if I
type in 'gmake -version', I get 3.80-5.
Any suggestions, hints would be extremely helpful.
Thanks in advance for your help.

David Schwartz

unread,
Nov 22, 2009, 12:56:50 AM11/22/09
to

You need to run the version of gmake you installed, not the one from
before.

DS

Rainer Weikusat

unread,
Nov 22, 2009, 1:12:29 PM11/22/09
to

There are two basic possibilites here:

1. The shell tries to reduce the time needed to start a
command by caching the paths of 'recently invoked' commands in
order to avoid the need to do a path search everytime. It is
conceivable that you shell is running the old command because
the location is still cached. This can be checked with 'hash'
(prints current contents of the cache) and remedied with 'hash
-r' (dumps the cache).

2. If the gmake build system works the way GNU buildsystems
usually work by default, your newly compiled program should
have landed in /usr/local/bin. Possibly, the other version is
preferred by the shell because the directory it resides in
(should be /usr/bin) precedes /usr/local/bin in the value of
the environment variable PATH or /usr/local/bin isn't included
by default at all.

The 'which' command can be used to determine the actual location of
any particular command which will be executed, given the current value
of PATH.

0 new messages