While trying to build [3348] to begin testing Nebojsa’s changes to the Scheduler, the setupDevelopmentEnvironment.sh script exits with an error. This occurs on a (fairly) clean installation of Ubuntu 8.10 “Intrepid.”
All of the packages listed for Hardy on the wiki page are installed.
The build exits with the following message:
make -C ./src/modules/core all
make[1]: Entering directory `/home/douglas/src/campcaster/src/modules/core'
g++ -g -O0 -DHAVE_CONFIG_H -pthread -pedantic -Wall -Wno-long-long -I/usr/include -I/home/douglas/src/campcaster/usr/include/taglib -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/douglas/src/campcaster/usr/include -I./include -I./tmp -c -o tmp/Uuid.o src/Uuid.cxx
src/Uuid.cxx: In static member function ‘static boost::shared_ptr<LiveSupport::Core::Uuid> LiveSupport::Core::Uuid::generateId()’:
src/Uuid.cxx:104: error: ‘memcmp’ was not declared in this scope
make[1]: *** [tmp/Uuid.o] Error 1
make[1]: Leaving directory `/home/douglas/src/campcaster/src/modules/core'
make: *** [tmp/compile.stamp] Error 2
make: Leaving directory `/home/douglas/src/campcaster'
douglas@douglas:~/src/campcaster$
The entire output from the terminal is attached here.
Following the advice on the campcaster-dev list I tried commenting out the ‘make cppunit install’ line in the Makefile (which is on line 206, btw).
This didn’t help, and what’s also odd is that the Makefile seems to be regenerated by the setupDevelopmentEnvironment.sh script; after running the script and then opening the Makefile, line 206 is uncommented. Hm.