[4548] in linux-net channel archive
Step by step Guide, For Building Gated-R3_6Alpha_2 on Linux-2.0.7+
daemon@ATHENA.MIT.EDU (babydr)
Fri Sep 27 16:13:40 1996
Date: Thu, 26 Sep 1996 22:54:28 -0700 (PDT)
From: babydr <babydr@nwrain.net>
To: Stephen Davies <scldad@sdc.com.au>
Cc: Linux Networking <linux-net@vger.rutgers.edu>,
gated-people@gated.merit.edu
In-Reply-To: <199609220635.QAA01466@mustang.sdc.com.au>
Step by step Guide,
For Building Gated-R3_6Alpha_2 on Linux-2.0.7+
1. get the Gated sources from:
ftp://ftp.gated.org/net-research/gated/gated-R3_6Alpha_2.tar.gz
2. Get the patches from:
ftp://ftp.redhat.com/pub/gated/README_patch_ip.h
ftp://ftp.redhat.com/pub/gated/gated.patch
ftp://ftp.redhat.com/pub/gated/patch_ip.h
3. Assuming you put the above sources into a directory named 'work'
in your home directory.
untar gated sources IE:
cd ~/work
tar -zxf gated-R3_6Alpha_2.tar.gz
4. apply the patches to gated, IE:
cd ~/work
patch -p0 < gated.patch
^ is a zero
5. apply the patch to ip.h, (You MUST be 'root'or 'su' to do this step.)
IE: ^^^^
su
password:************
cd /usr/include/netinet
patch < ~/work/patch_ip.h
exit
( These steps provided by Stephen Davies )
6. edit the Linux autoconfig script (...../src/configs/LINUX-i486.conf)
and add a new line before the path_unix line. This line should say:
mkdep mkdep
7. run make autoconf but stop at the point where it offers you the
chance to edit the generated configuration.
8. Edit the generated Config file (...../src/obj.LINUX....../Config)
and change the line that says
mkdep util/mkdep
to say
mkdep ../util/mkdep
Then:
. make config
. make
. make install
( a note from Stephen Davies t any who can help )
sdavies> If anyone can unscramble the autoconfig scripts to automate the
sdavies> above step 8, please let me know. I cannot see it today.
( a further note , from James Laferriere )
If ( an only if ) you get the error below at 'ld' time saying:
xxxxx.o(.text+0xXXX): undefined referance to `herrno'
Then:
At step 6 add -lresolv to LDFLAGS in
src/configs/LINUX-i486.conf
then follow the rest of the instructions.
The above means Bind-4.9.x ELF shared libraries have been
installed on your system.
Which altered the normal shared libraries.