Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
./configure error: lsof not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 11:32 am    Post subject: ./configure error: lsof not found Reply with quote

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
View user's profile Send private message
Cabec2
Retired Dev
Retired Dev


Joined: 10 Jan 2003
Posts: 35
Location: France

PostPosted: Wed Oct 13, 2004 11:39 am    Post subject: Reply with quote

try something like :
Code:
# emerge lsof

then retry your ./configure ;)
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Wed Oct 13, 2004 11:41 am    Post subject: Reply with quote

You have to emerge the programs first!

http://packages.gentoo.org/search/?sstring=lsof

http://packages.gentoo.org/search/?sstring=sendmail
Back to top
View user's profile Send private message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Wed Oct 13, 2004 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 3:38 pm    Post subject: Reply with quote

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:

Code:
/usr/sbin/lsof

_________________
EVERYTHING you need to know to SECURE Linux
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Wed Oct 13, 2004 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Wed Oct 13, 2004 4:34 pm    Post subject: Reply with quote

Quote:
Code:
PATH=$PATH:/usr/sbin ./configure


Hey I didn't see that when I replied! Thanks it works now.
_________________
EVERYTHING you need to know to SECURE Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum