NDT is installed on nettest5 at SLAC. This node is subject to change due to security policies etc.
Files
The installation files are in
...
The machine booted fine after the necessary modifications to grub.
AFS
However, as this is a Taylored machine, AFS needs to be installed.
...
sudo cp /usr/src/kernels/openafs-1.4.1/src/libafs/MODLOAD-2.6.17.10-web100-MP/libafs-2.6.17.10-web100.mp.ko /usr/vice/etc/modload/
and it worked! yippee!
NDT Install
Downloaded ndt-3.3.12 configured, and wham!
No Format |
---|
gcc -pedantic -Wall -O2 -DNDEBUG -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o analyze analyze-analyze.o analyze-usage.o analyze-logging.o -lweb100 -lpcap -lm ../I2util/I2util/libI2util.a
/usr/bin/ld: cannot find -lweb100
collect2: ld returned 1 exit status
make[2]: *** [analyze] Error 1
make[2]: Leaving directory `/afs/slac.stanford.edu/g/scs/net/netmon/TCP/Web100/slac-ndt-server/2006-08/ndt-3.3.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/afs/slac.stanford.edu/g/scs/net/netmon/TCP/Web100/slac-ndt-server/2006-08/ndt-3.3.12'
make: *** [all] Error 2
|
I haven't installed teh web100 libraries.
Downloaded web100_userland-1.6, configure'd, and make'd. however, the default installation path is /usr/local - which of course is a read-only AFS mount.
therefore, ran with ./configure --prefix=/opt/web100/current/
(symlinked to /opt/web100/web100_userland-1.6
, and installed there.
Added /opt/web100/current/lib/
to /etc/ld.so.conf
and ran ldconfig
to add to standard library path.
Ran ./configure --prefix=/opt/ndt/current/
on NDT;
No Format |
---|
make[2]: Entering directory `/afs/slac.stanford.edu/g/scs/net/netmon/TCP/Web100/slac-ndt-server/2006-08/ndt-3.3.12/src' gcc -pedantic -Wall -O2 -DNDEBUG -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o analyze analyze-analyze.o analyze-usage.o analyze-logging.o -lweb100 -lpcap -lm ../I2util/I2util/libI2util.a /usr/bin/ld: cannot find -lweb100 collect2: ld returned 1 exit status make[2]: *** [analyze] Error 1 make[2]: Leaving directory `/afs/slac.stanford.edu/g/scs/net/netmon/TCP/Web100/slac-ndt-server/2006-08/ndt-3.3.12/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/afs/slac.stanford.edu/g/scs/net/netmon/TCP/Web100/slac-ndt-server/2006-08/ndt-3.3.12' make: *** [all] Error 2 |
It's not picking up the libs and includes.
Spent a bit of time editing the wrong makefile, finally changed the flags in ndt-3.3.12/src/Makefile
to:
CFLAGS = -pedantic -Wall -O2 -DNDEBUG -I/opt/web100/current/include/web100 -L/opt/web100/current/lib
make install seems to work fine. tree structure is:
No Format |
---|
[ytl@nettest5:/opt/ndt/current]$ tree
.
|-- bin
| |-- aespasswd
| |-- analyze
| |-- tr-mkmap
| |-- viewtrace
| `-- web100clt
|-- lib
| `-- libI2util.a
|-- man
| |-- man1
| | |-- aespasswd.1
| | |-- analyze.1
| | |-- tr-mkmap.1
| | |-- viewtrace.1
| | `-- web100clt.1
| |-- man5
| | `-- ndt.conf.5
| `-- man8
| |-- fakewww.8
| `-- web100srv.8
|-- ndt
| |-- Admin.class
| |-- Tcpbw100$1.class
| |-- Tcpbw100$2.class
| |-- Tcpbw100$3.class
| |-- Tcpbw100$4.class
| |-- Tcpbw100$5.class
| |-- Tcpbw100$6.class
| |-- Tcpbw100$Message.class
| |-- Tcpbw100$MyTextPane.class
| |-- Tcpbw100$OsfwWorker.class
| |-- Tcpbw100$Protocol.class
| |-- Tcpbw100$TestWorker.class
| |-- Tcpbw100$clsFrame.class
| |-- Tcpbw100.class
| |-- Tcpbw100.jar
| |-- admin.html
| |-- admin_description.html
| |-- copyright.html
| |-- web100_variables
| `-- web100variables.html
`-- sbin
|-- fakewww
`-- web100srv
8 directories, 36 files
|