LinuxQuestions.org
Register a domain and help support LQ
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 06-10-2003, 11:06 AM   #1
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
problem installing module-init-tools


Trying to install module-init-tools-0.9.12 (so I can try the 2.5.70 kernel) yields this dissapointing output:

[root@ArchLinux module-init-tools-0.9.12]# ./configure --prefix=/
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/hcman/sources/module-init-tools-0.9.12/missing: Unknown `--run' option
Try `/home/hcman/sources/module-init-tools-0.9.12/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: Adding gcc options: -g -O2 -Wunused -Wall -Wcast-align
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
[root@ArchLinux module-init-tools-0.9.12]# make moveold
if [ "`echo //sbin | tr -s / /`" = /sbin ]; then :; \
else \
echo moveold usually only makes sense when installing into /sbin; \
exit 1; \
fi
for f in lsmod modprobe rmmod depmod insmod modinfo; do \
if [ -L /sbin/$f ]; then \
ln -sf `ls -l /sbin/$f | sed 's/.* -> //'`.old /sbin/$f; \
fi; \
mv /sbin/$f /sbin/$f.old; \
if [ -f /usr/share/man/man8/$f.8.gz ]; then \
mv /usr/share/man/man8/$f.8.gz \
/usr/share/man/man8/$f.old.8.gz; \
elif [ -f /usr/share/man/man8/$f.8.bz2 ]; then \
mv /usr/share/man/man8/$f.8.bz2 \
/usr/share/man/man8/$f.old.8.bz2; \
else \
mv /usr/share/man/man8/$f.8 /usr/share/man/man8/$f.old.8; \
fi; \
done
mv: cannot stat `/usr/share/man/man8/lsmod.8': No such file or directory
mv: cannot stat `/usr/share/man/man8/modprobe.8': No such file or directory
mv: cannot stat `/usr/share/man/man8/rmmod.8': No such file or directory
mv: cannot stat `/usr/share/man/man8/depmod.8': No such file or directory
mv: cannot stat `/usr/share/man/man8/insmod.8': No such file or directory
mv: cannot stat `/usr/share/man/man8/modinfo.8': No such file or directory
make: *** [move-old-targets] Error 1
[root@ArchLinux module-init-tools-0.9.12]# make
source='lsmod.c' object='lsmod.o' libtool=no \
depfile='.deps/lsmod.Po' tmpdepfile='.deps/lsmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'lsmod.c' || echo './'`lsmod.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o lsmod lsmod.o
source='insmod.c' object='insmod.o' libtool=no \
depfile='.deps/insmod.Po' tmpdepfile='.deps/insmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'insmod.c' || echo './'`insmod.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o insmod insmod.o
source='modprobe.c' object='modprobe.o' libtool=no \
depfile='.deps/modprobe.Po' tmpdepfile='.deps/modprobe.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'modprobe.c' || echo './'`modprobe.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o modprobe modprobe.o
source='rmmod.c' object='rmmod.o' libtool=no \
depfile='.deps/rmmod.Po' tmpdepfile='.deps/rmmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'rmmod.c' || echo './'`rmmod.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o rmmod rmmod.o
source='depmod.c' object='depmod.o' libtool=no \
depfile='.deps/depmod.Po' tmpdepfile='.deps/depmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'depmod.c' || echo './'`depmod.c
source='moduleops.c' object='moduleops.o' libtool=no \
depfile='.deps/moduleops.Po' tmpdepfile='.deps/moduleops.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'moduleops.c' || echo './'`moduleops.c
source='tables.c' object='tables.o' libtool=no \
depfile='.deps/tables.Po' tmpdepfile='.deps/tables.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'tables.c' || echo './'`tables.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o depmod depmod.o moduleops.o tables.o
source='modinfo.c' object='modinfo.o' libtool=no \
depfile='.deps/modinfo.Po' tmpdepfile='.deps/modinfo.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.12\" -I. -I. -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'modinfo.c' || echo './'`modinfo.c
gcc -g -O2 -Wunused -Wall -Wcast-align -o modinfo modinfo.o
gcc -g -O2 -Wunused -Wall -Wcast-align -o insmod.static -static insmod.o
[root@ArchLinux module-init-tools-0.9.12]# make install
make[1]: Entering directory `/home/hcman/sources/module-init-tools-0.9.12'
/bin/sh ./mkinstalldirs //bin
/bin/sh ./install-with-care lsmod //bin/lsmod
install-with-care lsmod //bin/lsmod
./install-with-care: line 21: /usr/bin/install: No such file or directory
./install-with-care: line 21: exec: /usr/bin/install: cannot execute: No such file or directory
make[1]: *** [install-binPROGRAMS] Error 126
make[1]: Leaving directory `/home/hcman/sources/module-init-tools-0.9.12'
make: *** [install-am] Error 2

I had it working on slackware 9. This is on Arch linux 0.5 however (still with gcc 3.2.1 though).

Any suggestions?

HC
 
Old 06-10-2003, 03:07 PM   #2
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Original Poster
Rep: Reputation: 30
that was dumb.
the obvious solution:

Make a symlink from /bin/install to /usr/bin/install
(or change the makefile but I have yet to figure that out)

(Thanks to Xentac on the archlinux forum)

...damn I should have thought of that

HC
 
  


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
Error installing Module-init-tools danny_beta_read Mandriva 0 04-13-2004 06:51 PM
Problem with module-init-tools-0.9.15 mrsolo Linux - Software 1 04-04-2004 01:52 PM
compiling a kernel: module-init-tools conflict, depmod problem, modules sterrenkijker Debian 3 03-08-2004 11:07 PM
problem with modules install after installing module-init-tools fobius Linux - Software 4 02-01-2004 04:40 PM
Problem installing module-init-tools-3.0-pre7 on SuSE 8.2 Smartcat99S Linux - Software 0 01-25-2004 12:15 PM


All times are GMT -5. The time now is 03:19 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