[netperf-talk] Layer 4-7 Testing

Jeff Levesque jelevesque at crossbeamsys.com
Mon May 12 15:16:00 PDT 2008


So it's installed now on 2 of my servers. New error messages now.

glib2-2.12.3
glib2-devel-2.12.3
libxml2-2.6.26
libxml2-devel-2.6.26

Also worth noting that this is on a VMWare image.

Netserver:
[root at pod45trf3-v trunk]# establish_listen: could not resolve host
'(null)' service 'netperf4'
        getaddrinfo returned -8 Servname not supported for ai_socktype
setup_listen_endpoint: failed to open listen socket

Netperf:
[root at pod45trf1-v ~]# netperf
establish control: could not resolve remote 'localhost' port 'netperf4'
af 2
        getaddrinfo returned -8 Servname not supported for ai_socktype
connect_netserver: Failed

(netperf:25629): GLib-WARNING **: giounix.c:400Error while getting flags
for FD: Bad file descriptor (9)


(netperf:25629): GLib-WARNING **: Invalid file descriptor.


** (netperf:25629): WARNING **: g_io_channel_set_flags
g-io-channel-error-quark 8 Bad file descriptor


(netperf:25629): GLib-CRITICAL **: g_io_channel_write_chars: assertion
`channel->is_writeable' failed


On Mon, 2008-05-12 at 14:24 -0700, Rick Jones wrote:
> 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