I am working on a CentOS 6.8 system without root privileges. It has autoconf 2.63 installed. I need a more recent version to install something. I downloaded autoconf 2.69 and installed from source (using /configure --prefix=$home, because I have no root privileges).

It seemed to work. But when I try autoconf --version it still gives me the old version 2.63.

I tried setting the $PATH to the folder of the new installation, and even tried going into that folder and running autoconf --version there, but I keep getting the old version.

Any thoughts?

  • Thanks! I just posted my comment as a full answer. If you found my answer to be helpful, please remember to upvote it and if that is the answer that answers your question please remember to check it off as such. – JakeGould Jun 30 '16 at 5:42

What is the exact path for the autoconf binary? And maybe what is the addition you made to your PATH to attempt to get it to look in there?

Without knowing anything else about your setup, my simple suggestion would be to try going into the folder with the compiled binary you want to run and run the command as follows:

./autoconf --version

That tells the shell to explicitly run the autoconf you have compiled in that directory; just running autoconf --version would run the system install of autoconf.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.