LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2004, 08:14 PM   #1
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
dep mod:command not found when installing lufs


This seems like a good forum, maybe I can get some help here...?

I get this error when I call make install, everything had gone fine until then.
Here is the output I get:

[root@localhost lufs-0.9.7]# make install
Making install in kernel
make[1]: Entering directory `/home/jim/rpms/lufs-0.9.7/kernel'
Making install in Linux
make[2]: Entering directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux'
Making install in 2.4
make[3]: Entering directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
make[4]: Entering directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../config/mkinstalldirs /lib/modules/2.4.22-1.2149.nptl/kernel/fs/lufs
mkdir -p -- /lib/modules/2.4.22-1.2149.nptl/kernel/fs/lufs
/bin/sh ../../../libtool --mode=install /usr/bin/install -c lufs.o /lib/modules/2.4.22-1.2149.nptl/kernel/fs/lufs/lufs.o
/usr/bin/install -c lufs.o /lib/modules/2.4.22-1.2149.nptl/kernel/fs/lufs/lufs.o
make install-data-hook
make[5]: Entering directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
depmod -aq
make[5]: depmod: Command not found
make[5]: *** [install-data-hook] Error 127
make[5]: Leaving directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
make[4]: *** [install-data-am] Error 2
make[4]: Leaving directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux/2.4'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/jim/rpms/lufs-0.9.7/kernel/Linux'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/jim/rpms/lufs-0.9.7/kernel'
make: *** [install-recursive] Error 1

now, there IS a file /sbin/depmod, but this is not on the PATH env var. Is this a case fo having to just add /sbin to PATH and compiling again?

If I try to install again, will I have to do the configure and make bits again?

Thanks a lot if anyone can help me. I'm getting there with linux now, soon I'll be able to help out too (at least on the easy ones!)
 
Old 02-05-2004, 11:54 AM   #2
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
normally /sbin should be in root's path, so add it and try again
 
Old 02-05-2004, 01:32 PM   #3
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
The output of "configure" is saved so you should just be able to "make" and then "make install" (unless you want to change the configuration options).

Good Luck
Alan
 
Old 02-05-2004, 06:22 PM   #4
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Hmmm... here's a confusing little thing...

In my /etc/profile I have:

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

isn't this munging /sbin to the path for the root user?
if I su and printenv PATH I get none of these on it

Last edited by future leet; 02-05-2004 at 06:24 PM.
 
Old 02-06-2004, 08:33 AM   #5
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Original Poster
Rep: Reputation: 0
I'm a bit stuck here now. What are the pros / cons of just adding the sbin paths in ~root/.bashrc?
I can see why the if in my profiles should work, anyone got any idea why it isn't doing? If I can find out what's wrong with this script I can submit a fix to the fedora project.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No dep file found for kernel 2.6.3-7mdkcustom mmodem Mandriva 8 11-13-2004 11:03 PM
Installing new video card "modconf: command not found" Stimz Linux - Newbie 1 03-17-2004 04:34 AM
installing opera dep errors true_atlantis Slackware 3 12-20-2003 10:09 PM
Insmod command not found after installing pctel-0.9.6 under rh8 Bensoft Kill MS Linux - Software 7 11-16-2003 08:38 PM
problem installing acrobat : ed: command not found? falcon56215 Linux - Software 2 02-08-2002 12:37 PM


All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration