You are not logged in.

#1 2003-06-10 14:16:16

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

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

Is there anyone who has this working who can point me in the right direction?
(Sorry for the long output but I thought it may prove helpful).

HC

Offline

#2 2003-06-10 15:52:30

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: problem installing module-init-tools

I don't believe it's policy to support non-packaged programs, but it's your system  wink.

Notice the line that says, '/usr/bin/install: No such file or directory'?  That means that there is no file /usr/bin/install, probably because we have install in /bin/install.  You can either fiddle with the Makefiles or make a symlink to /usr/bin/install (though, then your submitted packages may work while they don't work on other people's machines).


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2003-06-10 19:18:25

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: problem installing module-init-tools

Xentac wrote:

I don't believe it's policy to support non-packaged programs, but it's your system  wink.

smile...live life on the edge...that's me! LOL

Making a symlink did the trick.
I'll try to edit the Makefile and see if can get that to work too before I submit this as a package.
Oh, and of course I have to figure out how make a package in the first place.

So....I guess I should go do some reading eh?

Thanks.

HC

Offline

#4 2003-06-10 20:30:04

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: problem installing module-init-tools

you can learn lots of stuff reading. it is making the time to do it that some people find challenging (me for example).


AKA uknowme

I am not your friend

Offline

#5 2003-06-10 21:08:08

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: problem installing module-init-tools

yeah you usually end up with a nicer system if you make a package for whatever it is you want to install.

Sometimes that is too much hassle though when you really need to install something fast. Then an option there is to just install it as you would on a non-packaged system, and make yourself a package later. Then when you install your newly made package it will over-write your unmanaged files, and will now keep track of them.

Once you have it setup as a package, it's much easier to upgrade or uninstall. All it usually takes is changing the version in the PKGBUILD file and running makepkg and it automatically builds you the newly released version as a package.

Hapy.

Offline

#6 2003-06-10 22:41:24

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: problem installing module-init-tools

sarah31: very true; I have learned so much by reading man pages and by just browsing forum threads.

hApy: you make a good point. Also a big advantage would be to back up those personalized packages (for example mplayer compiled with some codec support) and reinstall them easily if needed.

I'll look into that.

HC

Offline

Board footer

Powered by FluxBB