LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble Install Autoconf package (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-install-autoconf-package-715568/)

djpme 03-30-2009 03:09 PM

Trouble Install Autoconf package
 
Trouble installing AutoConf (Red Hat 5.2).

I downloaded autoconf-2.10.tar.gz from the gnu.org and followed the directions in the accompanying "INSTALL" file, but I don't see any sign that it works. When I type "autoconf" in the command prompt, my shell says there is no such command. I'm not sure of the proper syntactical usage of autoconf either.

So the questions are how do I install autoconf and confirm that it was successfully installed?

repo 03-30-2009 03:16 PM

what did you do?
did you recieved error messages?
did you need to compile?
what is the output from
Code:

whereis autoconf

TB0ne 03-30-2009 03:19 PM

Quote:

Originally Posted by djpme (Post 3492891)
Trouble installing AutoConf (Red Hat 5.2).

I downloaded autoconf-2.10.tar.gz from the gnu.org and followed the directions in the accompanying "INSTALL" file, but I don't see any sign that it works. When I type "autoconf" in the command prompt, my shell says there is no such command. I'm not sure of the proper syntactical usage of autoconf either.

So the questions are how do I install autoconf and confirm that it was successfully installed?

Do you mean RedHat 5.2, or RedHat ENTERPRISE SERVER 5.2? RH5.2 is very, VERY old....

How do you install it? Follow the instructions, which you did. You don't say whether or not you got any errors or messages, though. If you didn't, chances are it worked and installed. You probably don't have autoconf in your PATH, which is why it's not found.

As root, type in "find / -name autoconf*". It'll chew on this for a bit, watch what it returns. Then type in "/path/to/where/autoconf", to run it. You can also add whatever directory name to your existing PATH.

And if you're using RHEL5.2, you should be able to use "yum install autoconf", and it'll do it for you.

djpme 03-30-2009 03:32 PM

Quote:

Originally Posted by repo (Post 3492901)
what did you do?
did you recieved error messages?
did you need to compile?
what is the output from
Code:

whereis autoconf

Repo, I did not receive any error messages. The output from whereis autoconf is /usr/local/bin/autoconf. So now that I know its there how do I get it to run?

My $PATH variable contains /usr/local/bin and the privileges are -rwxr-xr-x.

When i type man autoconf I get not "no manual entry for autoconf". Is that normal?

repo 03-30-2009 03:34 PM

what happens when you type
Code:

/usr/local/bin/autoconf

djpme 03-30-2009 03:40 PM

Quote:

Originally Posted by TB0ne (Post 3492908)
Do you mean RedHat 5.2, or RedHat ENTERPRISE SERVER 5.2? RH5.2 is very, VERY old....

How do you install it? Follow the instructions, which you did. You don't say whether or not you got any errors or messages, though. If you didn't, chances are it worked and installed. You probably don't have autoconf in your PATH, which is why it's not found.

As root, type in "find / -name autoconf*". It'll chew on this for a bit, watch what it returns. Then type in "/path/to/where/autoconf", to run it. You can also add whatever directory name to your existing PATH.

And if you're using RHEL5.2, you should be able to use "yum install autoconf", and it'll do it for you.


TB0ne, you are right it looks like I may have installed but how do I determine if I did installed it correctly. I ran "find / -name autoconf*" and got these results
Code:

/proc/sys/net/ipv6/conf/eth0/autoconf
/proc/sys/net/ipv6/conf/default/autoconf
/proc/sys/net/ipv6/conf/all/autoconf
/proc/sys/net/ipv6/conf/lo/autoconf
/autoconf-folder/autoconf-2.10/autoconf
/usr/local/share/autoconf
/usr/local/bin/autoconf

My $PATH variable does contain the very last entry /usr/local/bin.

And the Red Hat/Linux version is Red Hat Enterprise Linux Server release 5.2 (Tikanga)

djpme 03-30-2009 03:42 PM

Quote:

Originally Posted by repo (Post 3492926)
what happens when you type
Code:

/usr/local/bin/autoconf

This is what I get
Code:

[root@machineABC bin]# /usr/local/bin/autoconf
autoconf: configure.in: No such file or directory


repo 03-30-2009 04:03 PM

Seems to me you need this one
/autoconf-folder/autoconf-2.10/autoconf

djpme 03-30-2009 04:50 PM

Quote:

Originally Posted by repo (Post 3492953)
Seems to me you need this one
/autoconf-folder/autoconf-2.10/autoconf

Code:

[root@g500-machineABC bin]# cd /autoconf-folder/autoconf-2.10/
[root@gs500L-alfproto autoconf-2.10]# autoconf
[root@gs500L-alfproto autoconf-2.10]# man autoconf
No manual entry for autoconf
[root@g500-machineABC autoconf-2.10]#

So when I run the autoconf instance /autoconf-folder/autoconf-2.10/ nothing happens, which may be better than a error...I don't know. If I add /autoconf-folder/autoconf-2.10 to my $PATH then I get same error
Code:

[root@gs00L-machineABC bin]# autoconf
autoconf: configure.in: No such file or directory

Is this an installation error or am I just using autoconf incorrectly?

John VV 03-30-2009 07:27 PM

i would uninstall then rebuild but this time use the --prefix option so that it dose NOT install in the unused " /usr/local"
Code:

cd /to/where/you/put/autoconf-2.10
su
make uninstall
make distclean
exit
./configure --prefix=/usr
make
su
make install

please see
Code:

./configure --help
for ALL the build options that you need to pass to "configure"

djpme 03-31-2009 01:18 PM

Quote:

Originally Posted by John VV (Post 3493106)
i would uninstall then rebuild but this time use the --prefix option so that it dose NOT install in the unused " /usr/local"
Code:

cd /to/where/you/put/autoconf-2.10
su
make uninstall
make distclean
exit
./configure --prefix=/usr
make
su
make install

please see
Code:

./configure --help
for ALL the build options that you need to pass to "configure"


I tried this and got the same results..."man autoconf" I still get "no manual entry for autoconf".


All times are GMT -5. The time now is 01:06 AM.