Compiling Rancid on an x86 Solaris 10 platform
Below shows you the steps in order to compile Rancid on an x86 Solaris 10 platform.
RANCID monitors a router's (or more generally a device's) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS or Subversion to maintain history of changes.
Space on /var
If you havent much space on /var run the following commands to provide you with some additional space.
mv /var/sadm/ /export/
rm -rfv /var/sadm/
ln -s /export/sadm/ /var/sadm
pkgadd -d /cdrom/Solaris_10/Product/ SUNWsprot SUNWtoo SUNWhea SUNWarc
Add User and $PATH
useradd -d /home/rancid rancid
If useradd does not create the directory you may want to look into removing /home from the /etc/auto_master file.
Download the following dependancies from http://www.sunfreeware.com/indexintel10.html and copy to /export/home
Now run the following command to install
for i in `ls` ; do gunzip $i ; done
for i in `ls | grep -v gz` ; do pkgadd -d $i ; done
I ran into a number of issues regarding my grep version not being compatable for the compliling of Rancid. To resolve this follow these steps : CLICK HERE
cd /export/home ; wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.2.tar.gz
tar xvf rancid-2.3.2.tar
Once this is completed you can move towards configuring Rancid which will be covered in a later tutorial.
Below are some additional issues you may face :
- Solaris 10 x86 - Error compiling from source
- gcc install on Solaris fails with "errno 28, No space left on device"