Difference between revisions of "Traceroute"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-1.4a12.tar.gz
 
| http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-1.4a12.tar.gz
 +
|-
 +
!Required Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/traceroute/traceroute-1.4a12-update_config-1.patch
 
|}
 
|}
  
Line 13: Line 16:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
Line 32: Line 36:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
Line 48: Line 53:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
Line 64: Line 70:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  sed -i -e 's/-o bin/-o root/' Makefile.in &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&

Revision as of 11:24, 12 November 2006

Download Source: http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-1.4a12.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/traceroute/traceroute-1.4a12-update_config-1.patch

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
make install-man

Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

N32

Compile the package:

patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
make install-man

Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

64Bit

Compile the package:

patch -Np1 -i ../traceroute-1.4a12-update_config-1.patch &&
sed -i -e 's/-o bin/-o root/' Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
make install-man

Note: traceroute is install with SUID. To be FHS compliant, move it to /usr/bin with:

mv -v /usr/sbin/traceroute /usr/bin

Content

The Traceroute package contains a program which is used to display the network route that packets take to reach a specified host. This is a standard network troubleshooting tool. If you find yourself unable to connect to another system, traceroute can help pinpoint the problem.

Installed Program: traceroute

Installed Libraries: None

Installed Directories: None

Short Descriptions

traceroute: does basically what it says: it traces the route your packets take from the host you are working on to another host on a network, showing all the intermediate hops (gateways) along the way.