Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Hi All, while I'm installing Bind 9.4.2 from (tmp/bind9) the following message is produced: "ar program not found. please fix your path to include the directory in which ar resides, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    11

    Thumbs up bind9 installtion problem


    Hi All,

    while I'm installing Bind 9.4.2 from (tmp/bind9) the following message is produced:

    "ar program not found. please fix your path to include the directory in which ar resides, or set AR in the environment with the full path to ar."

    I am new to linux world so any assistance is greatly appreciated!
    This is produced after running
    "./configure --prefix=/usr".

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Install binutils package and it will take care of dependency.
    Code:
    yum -y install binutils
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    11
    thank you,

    but i need to install it from the source code without using yum...
    could you help me in that ???!

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    In that case, you have to download/install all the necessary dependencies manually.
    Execute this
    Code:
    ls /usr/bin/ar
    Does it list ar package? If yes then use --path=/usr/bin with ./configure.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jan 2008
    Posts
    11

    Smile

    Thank you Mr. devils_casper

    I'll try that today....

  7. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    11
    first of all i would like to thank you for helping...

    I tried that, and it give me "No such file or directory"


  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Which version of Fedora/RHEL do you have? Check the contents of /etc/redhat_release file.
    Code:
    cat /etc/redhat_release
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Since you are trying to install a package that requires some files from binutils, have you tried installing binutils-devel to see if that resolves your problem. Obviously if you can't or won't use yum, you will have to download the packages you need from a mirror (in the case of Fedora or CentOS).

  10. #9
    Just Joined!
    Join Date
    Jan 2008
    Posts
    11
    thank you very much devils_casper and daark.child for helping me,

    the version which I installed: Fedora Core release 3 (Heidelberg)

    I reinstalled the fedora and now I've new error which is:
    "no acceptable C compiler found in $PATH "
    I use VMware 5.5.1

    i will install GCC4.2.2 and i hope that will solve the problem

    do i have to install any other tools?

  11. #10
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    It probably would have been easier to install the development tools during initial setup up. Also you should probably consider using a distro thats still being actively maintained. Fedora Core 3 reached its end of life a long time ago. I think you should try Fedora 8 or if running an import server, CentOS.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •