LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   ar program not found (https://www.linuxquestions.org/questions/mandriva-30/ar-program-not-found-429674/)

jeffshen 03-29-2006 11:17 AM

ar program not found
 
hey all,

When i run ./configure for a program, the error message "ar program not found. Please fix your PATH to include the directory in which ar resides, or set the AR environment with the full path to ar"

How to I get pass this problem?

Thanks,

Jeff

bathory 03-30-2006 04:56 AM

ar is part of the binutils package, so I guess you have to install it

ReefShark 03-30-2006 05:05 AM

Ar is part of GNU Binutils. If it isn't installed, install it.
Generally, it's full path is /usr/bin/ar. You can check with
Code:

which ar
.
If it is present on your system, use
Code:

echo ${PATH}
to see if /usr/bin is in your PATH variable (it should be). If it isn't, edit /etc/profile to include /usr/bin, run
Code:

source /etc/profile
and check if it is in your PATH now. If it is, retry the ./configure (in the session now using the new /etc/profile).

Post any output in this thread if you still have any problems.


All times are GMT -5. The time now is 10:31 AM.