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 |
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 |
All times are GMT -5. The time now is 11:00 AM. |