Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: modutils-2.4.27   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/  &&
tar -xjf modutils-2.4.27.tar.bz2 &&
cd modutils-2.4.27 &&
./configure &&
make &&
make install

The output should look something like this:

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 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 ranlib... ranlib
checking whether ln -s works... yes
checking for wordexp... yes
checking for glob... yes
checking whether R_X86_64_NONE is declared... yes
checking for query_module in -lc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.common
config.status: creating depmod/Makefile
config.status: creating genksyms/Makefile
config.status: creating insmod/Makefile
config.status: creating obj/Makefile
config.status: creating util/Makefile
config.status: creating man/Makefile
make[1]: Entering directory `/sources/modutils-2.4.27/util'
gcc -M -O2 -Wall -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c modstat.c meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c xftw.c > .depend
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xmalloc.o xmalloc.c
In file included from xmalloc.c:22:
.
.
.
for i in rmmod modprobe lsmod ksyms kallsyms; do \
ln -sf insmod /sbin/$i; \
(test "no" = yes && \
	ln -sf insmod.static /sbin/$i.static) || true; \
done
make[1]: Leaving directory `/sources/modutils-2.4.27/insmod'
make[1]: Entering directory `/sources/modutils-2.4.27/genksyms'
mkdir -p /sbin
install -s genksyms /sbin
make[1]: Leaving directory `/sources/modutils-2.4.27/genksyms'
make[1]: Entering directory `/sources/modutils-2.4.27/depmod'
mkdir -p /sbin
install -s depmod /sbin
make[1]: Leaving directory `/sources/modutils-2.4.27/depmod'
make -C man install-man
make[1]: Entering directory `/sources/modutils-2.4.27/man'
rm -f /usr/man/man5/conf.modules.5 /usr/man/man5/conf.modules.5.gz
set -e; \
for i in ./*.[1-8] ; do \
  ext=`echo $i | sed 's/.*\.//'`; \
  mkdir -p /usr/man/man$ext/; \
  install -m 644 $i /usr/man/man$ext/; \
done
make[1]: Leaving directory `/sources/modutils-2.4.27/man'

~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS