Releases 4.0.x

From NetLogger

Jump to: navigation, search

Contents

Releases 4.0.x

For newer releases, see links on the Downloads page.

Snapshots (unstable)

Naming convention
YYYYMMDDrREV.tar.gz
  • YYYY = year, MM = month, DD = day
  • REV = subversion revision (in trunk)

Python

Includes "NetLogger Pipeline". Follow regular Python instructions to install.


Build/Install Instructions

The build/install instructions below provide command-lines for building and installing in a UNIX or UNIX-like environment. The C API will not work under Windows, but the Java, Perl, Python, and R distributions should install with roughly the same procedure used for other packages for that language.

C

tar xzf netlogger-c-VERSION.tar.gz
cd netlogger-c-VERSION
./configure --prefix=/your_install_path
make 
#possibly as root:
make install

Java

 # possibly as root:
 cp netlogger-VERSION.jar /your_install_path/netlogger.jar
 csh% setenv CLASSPATH $CLASSPATH:/your_install_path
 sh$ export CLASSPATH=$CLASSPATH:/your_install_path

Perl

tar xzf netlogger-perl-VERSION.tar.gz 
cd netlogger-perl-VERSION
perl Makefile.PL 
make
# possibly as root:
make install

Python

tar xzvf netlogger-python-VERSION.tar.gz
cd netlogger-python-VERSION
python setup.py build

Install to standard location

python setup.py install

Install into alternate location

This is a bit tricky because of setuptools. If you have administrator access (can write files in the Python installation directories), then follow these instructions. The following assumes your target install location for libraries is $libdir and for scripts is $bindir, and your python interpreter is in /path/to/python.

1. Add or edit /path/to/python/site-packages/altinstall.pth

import site; site.addsitedir('$libdir')

Note that if you're running /usr/bin/python on Mac OSX, the file you'll want to edit is /Library/Python/<version>/site-packages/altinstall.pth.

2a. Use the --install-lib and --install-scripts option when installing

python setup.py  install --install-lib=$libdir --install-scripts=$bindir

2b. If you always want to install here, you can make these locations the default by editing ~/.pydistutils.cfg to look like this:

[install]
install_lib = $libdir
install_scripts = $bindir

If none of this works for you, then you can instead use the documentation at http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations to help you out.

R

Install archive directly with R CMD INSTALL:

 R CMD INSTALL netlogger-r-VERSION.tar.gz

Also see Visualize

Personal tools