{"id":484,"date":"2010-08-09T00:00:00","date_gmt":"2010-08-09T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/08\/09\/compiling-rancid-on-solaris-10-x86\/"},"modified":"2023-01-15T22:52:37","modified_gmt":"2023-01-15T22:52:37","slug":"compiling-rancid-on-solaris-10-x86","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX-Linux\/Solaris\/compiling-rancid-on-solaris-10-x86.html","title":{"rendered":"Compiling Rancid on an x86 Solaris 10 platform"},"content":{"rendered":"

Below shows you the steps in order to compile Rancid on an x86 Solaris 10 platform.
\nRANCID 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.<\/p>\n

Space on \/var<\/strong><\/p>\n

If you havent much space on \/var run the following commands to provide you with some additional space.<\/p>\n

mv \/var\/sadm\/ \/export\/\r\nrm -rfv \/var\/sadm\/\r\nln -s\u00a0 \/export\/sadm\/ \/var\/sadm<\/pre>\n

Install Packages<\/strong><\/p>\n

[mount cd-rom]\r\npkgadd -d \/cdrom\/Solaris_10\/Product\/ SUNWsprot SUNWtoo SUNWhea SUNWarc<\/pre>\n

Add User and $PATH<\/strong><\/p>\n

useradd -d \/home\/rancid rancid\r\nPATH=$PATH:\/usr\/lib\/bin:\/usr\/sbin:\/usr\/bin:\/usr\/local\/bin:\/usr\/sfw\/bin<\/pre>\n

If useradd does not create the directory you may want to look into removing \/home from the \/etc\/auto_master file.<\/p>\n

Install Dependencies<\/strong><\/p>\n

Download the following dependancies and copy to \/export\/home<\/p>\n

    \n
  1. libgcc-3.4.6-sol10-x86-local.gz<\/li>\n
  2. libiconv-1.13.1-sol10-x86-local.gz<\/li>\n
  3. libidn-1.19-sol10-x86-local.gz<\/li>\n
  4. libintl-3.4.0-sol10-x86-local.gz<\/li>\n
  5. make-3.81-sol10-x86-local.gz<\/li>\n
  6. openssl-1.0.0a-sol10-x86-local.gz<\/li>\n
  7. wget-1.12-sol10-x86-local.gz<\/li>\n
  8. expect-5.43.0-sol10-x86-local.gz<\/li>\n
  9. cvs-1.12.13-sol10-x86-local.gz<\/li>\n
  10. libintl-3.4.0-sol10-x86-loca.gz<\/li>\n
  11. tk-8.5.8-sol10-x86-local.gz<\/li>\n
  12. tcl-8.5.8-sol10-x86-local.gz<\/li>\n
  13. coreutils-8.5-sol10-x86-local.gz<\/li>\n<\/ol>\n

    Now run the following command to install<\/p>\n

    cd \/export\/home\r\nfor i in `ls` ; do gunzip $i ; done\r\nfor i in `ls | grep -v gz` ; do pkgadd -d $i ; done<\/pre>\n

    Edit Grep<\/strong><\/p>\n

    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<\/a><\/p>\n

    Download Rancid<\/strong><\/p>\n

    cd \/export\/home ; wget ftp:\/\/ftp.shrubbery.net\/pub\/rancid\/rancid-2.3.2.tar.gz\r\ngunzip rancid-2.3.2.tar.gz\r\ntar xvf rancid-2.3.2.tar\r\ncd rancid-2.3.2<\/pre>\n

    Compile<\/strong><\/p>\n

    .\/configure --prefix=\/home\/rancid\r\nmake install<\/pre>\n

    Once this is completed you can move towards configuring Rancid which will be covered in a later tutorial.<\/p>\n

    Additional Issues <\/strong><\/p>\n

    Below are some additional issues you may face :<\/p>\n