PrintLogo

Base: net-tools-1.60




Source code is available here.

Run these commands:

cd /sources/  &&
rm -rf net-tools-1.60 &&
tar -xjf net-tools-1.60.tar.bz2 &&
cd net-tools-1.60 &&
patch -Np1 -i ../net-tools-1.60-gcc34-3.patch &&
patch -Np1 -i ../net-tools-1.60-kernel_headers-2.patch &&
patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch &&
yes "" | make config &&
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
       -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
       -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make &&
make &&
make update

The output should look something like this:

patching file hostname.c
patching file lib/inet_sr.c
patching file mii-tool.c
patching file hostname.c
patching file lib/x25_sr.c
patching file include/mii.h
rm -f config.h
Configuring the Linux net-tools (NET-3 Base Utilities)...

*
*
*              Internationalization
*
* The net-tools package has currently been translated to French,
* German and Brazilian Portugese.  Other translations are, of
* course, welcome.  Answer `n' here if you have no support for
* internationalization on your system.
*
Does your system support GNU gettext? (I18N) [n] *
*
*             Protocol Families.
.
.
.
make -C po install
make[1]: Entering directory `/sources/net-tools-1.60/po'
catalogs=''; \
for n in $catalogs; do \
    l=`basename $n .mo`; \
    install -c -m 755 -d /usr/share/locale/$l; \
    install -c -m 755 -d /usr/share/locale/$l/LC_MESSAGES; \
    install -c -m 644 $n /usr/share/locale/$l/LC_MESSAGES/net-tools.mo; \
done
make[1]: Leaving directory `/sources/net-tools-1.60/po'





This article comes from NoNIC:
http://nonic.org/

The URL for this story is:
http://nonic.org/art7.html



Copyright 2006-2008 NoNIC.org. Read our Terms of Use.