View previous topic :: View next topic |
Author |
Message |
Saturation n00b
Joined: 29 Mar 2004 Posts: 65
|
Posted: Wed Oct 13, 2004 11:32 am Post subject: ./configure error: lsof not found |
|
|
I am trying to install a program called Nabou from source. ./configure only ends with an error so I hope someone can help me with this.
Code: | ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking for make... (cached) /usr/bin/make
checking if /usr/bin/make is GNU ... ok (GNU Make 3.80)
checking for perl... (cached) /usr/bin/perl
checking for PERL version >= 5.005xx ... ok (5.8.4)
checking for PERL module Config::General... ok
checking for PERL module Digest::MD5... ok
checking for PERL module Crypt::OpenSSL::RSA... ok
checking for PERL module Crypt::OpenSSL::Random... ok
checking for PERL module Crypt::CBC... ok
checking for PERL module Crypt::Blowfish... ok
checking for PERL module MIME::Base64... ok
checking for PERL module Crypt::Primes... ok
checking for PERL module Crypt::Random... ok
checking for PERL module Class::Loader... ok
checking for PERL module Math::Pari... ok
checking for sendmail... NO
checking for crontab... /usr/bin/crontab
checking for who... /bin/who
checking for lsof... NO
***
*** One or more required programs could not be found in:
*** /bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/local/sbin
*** Install the missing program and retry.
*** |
I have lsof installed and sendmail isn't nessesary.
Any suggestions?
Thanks. _________________ EVERYTHING you need to know to SECURE Linux |
|
Back to top |
|
|
Cabec2 Retired Dev
Joined: 10 Jan 2003 Posts: 35 Location: France
|
Posted: Wed Oct 13, 2004 11:39 am Post subject: |
|
|
try something like :
then retry your ./configure |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
|
Back to top |
|
|
Saturation n00b
Joined: 29 Mar 2004 Posts: 65
|
Posted: Wed Oct 13, 2004 1:12 pm Post subject: |
|
|
Thanks guys, but I had already emerged lsof and sendmail isn't nessesary. If I am right ./configure would stop when it can't find sendmail, but because it isn't needed by Nabou it continues searching for other programs. ./configure can't find lsof but it is on my system. _________________ EVERYTHING you need to know to SECURE Linux |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Wed Oct 13, 2004 3:32 pm Post subject: |
|
|
It should be in this path:
Quote: | ...
***
/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/local/sbin
***
... |
What does the command which lsof show you? |
|
Back to top |
|
|
Saturation n00b
Joined: 29 Mar 2004 Posts: 65
|
Posted: Wed Oct 13, 2004 3:38 pm Post subject: |
|
|
Whe I do it as a user I get:
Code: | which: no lsof in (/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin)
|
and as root I get:
_________________ EVERYTHING you need to know to SECURE Linux |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Wed Oct 13, 2004 3:47 pm Post subject: |
|
|
If you want to compile the program as normal user add /usr/sbin to your PATH variable!!
Code: | PATH=$PATH:/usr/sbin ./configure |
|
|
Back to top |
|
|
Saturation n00b
Joined: 29 Mar 2004 Posts: 65
|
Posted: Wed Oct 13, 2004 3:57 pm Post subject: |
|
|
I didn't know how to do that, but I am reading the environment variables doc now.
Thanks for your help.
Regards,
Ben _________________ EVERYTHING you need to know to SECURE Linux |
|
Back to top |
|
|
Saturation n00b
Joined: 29 Mar 2004 Posts: 65
|
|
Back to top |
|
|
|