clientside build fails on CentOS 7.5
Hello,
I've been trying to build clientside on CentOS 7.5; If I do "make client", It fails with:
gcc -Wall -g -O2 -DLOG_DROPS -I../.. -DLOG_TESTBED=LOG_LOCAL5 -DLOGPATH=\"/usr/local/log/tiplogs\" -DUSESOCKETS -DWITHSSL -DPREFIX=\"/usr/local\" -o capture capture.c -lssl -lcrypto -ldl -lz
gcc -Wall -g -O2 -DLOG_DROPS -I../.. -DLOG_TESTBED=LOG_LOCAL5 -DLOGPATH=\"/usr/local/log/tiplogs\" -DPREFIX=\"/usr/local\" -o capquery capquery.c -ldl -lz
Regenerating caplog
cd ../.. && CONFIG_FILES=./caplog ./config.status
config.status: error: cannot find input file: `./caplog.in'
make[2]: *** [caplog] Error 1
make[2]: Leaving directory `/home/moate/emulab-devel/clientside/os/capture'
make[1]: *** [capture/client.MAKE] Error 2
make[1]: Leaving directory `/home/moate/emulab-devel/clientside/os'
make: *** [os/client.MAKE] Error 2
I've made the following change to clientside/os/GNUmakefile as a temporary fix; I have to undo it afterwards, because it will break other targets:
#SRCDIR = .
SRCDIR = os/capture
With that fix in place, it goes on to fail elsewhere with a similar issue that can be fixed in a similar way:
gcc -c -o ltevent.o -DDEBUG -DCLIENT_BINDIR='"/usr/local/etc/emulab"' -O -g -Wall -I. -I../.. -I../../lib/event -I../../lib/libtb -I/usr/local/include ltevent.c``
gcc -L../../lib/event -L../../lib/libtb ltevent.o ../../lib/libtb/log.o ../../lib/libtb/tbdefs.o ../../lib/libtb/be_user.o -levent -lcrypto -lssl -L/usr/local/lib -lpubsub -lm -lssl -ldl -lz -o ltevent-debug
/usr/bin/strip -o ltevent ltevent-debug
make[2]: *** No rule to make target `linktest.pl', needed by `all'. Stop.
make[2]: Leaving directory `/home/moate/emulab-devel/clientside/event/linktest'
make[1]: *** [linktest/client.MAKE] Error 2
make[1]: Leaving directory `/home/moate/emulab-devel/clientside/event'
make: *** [event/client.MAKE] Error 2
If I fix that, this is the next error I receive:
make[2]: Leaving directory `/home/moate/emulab-devel/clientside/event/bs-agent'
make[2]: Entering directory `/home/moate/emulab-devel/clientside/event/linktest'
make[2]: *** No rule to make target `linktest.pl', needed by `all'. Stop.
make[2]: Leaving directory `/home/moate/emulab-devel/clientside/event/linktest'
make[1]: *** [linktest/client.MAKE] Error 2
make[1]: Leaving directory `/home/moate/emulab-devel/clientside/event'
make: *** [event/client.MAKE] Error 2
A fix would be appreciated; I'm trying to configure my cloudlab images to communicate with the "boss".
These issues also exist on emulab-stable.
Initial output of "make client" attached.
Cheers,
Aaron Moate
Center for High Throughput Computing
University of Wisconsin, Madison
make.log
Edited by Aaron Moate