[netperf-talk] Layer 4-7 Testing

Rick Jones rick.jones2 at hp.com
Mon May 12 14:24:45 PDT 2008


Jeff Levesque wrote:
> I'm having trouble installing. After 'make' I get the following:
> 
> This is on CentOS 5.1 x86_64 with netperf-4.0.0rc1.
> 
> [root at pod45trf1-v netperf-4.0.0rc1]# make
> make  all-recursive
> make[1]: Entering directory `/root/netperf-4.0.0rc1'
> Making all in src
> make[2]: Entering directory `/root/netperf-4.0.0rc1/src'
> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -D_REENT
> RANT -D_GNU_SOURCE   -MT nettest_bsd.lo -MD -MP -MF
> ".deps/nettest_bsd.Tpo" \
>           -c -o nettest_bsd.lo `test -f 'nettest_bsd.c' || echo
> './'`nettest_bsd
> .c; \
>         then mv -f ".deps/nettest_bsd.Tpo" ".deps/nettest_bsd.Plo"; \
>         else rm -f ".deps/nettest_bsd.Tpo"; exit 1; \
>         fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -D_GNU_SOURCE -MT
> nettest_bsd.lo 
> -MD -MP -MF .deps/nettest_bsd.Tpo -c nettest_bsd.c  -fPIC -DPIC
> -o .libs/nettest
> _bsd.o
> In file included from nettest_bsd.c:126:
> netperf.h:39:30: error: libxml/xmlmemory.h: No such file or directory
> netperf.h:40:27: error: libxml/parser.h: No such file or directory
> netperf.h:41:25: error: libxml/tree.h: No such file or directory
> In file included from nettest_bsd.c:126:

A couple things - first, don't use any of the tar files you find.  You 
need to grab top-of-trunk from the svn repository:

http://www.netperf.org/svn/netperf4/trunk/

next - libxml2 needs to be installed, along with the "dev" package 
depending on the distro etc.  Also, a reasonably up-to-date (as of last 
year anyway) glib2 must be installed, also along with dev bits.

hth,

rick jones


More information about the netperf-talk mailing list