Ticket #2326 (new defect)

Opened 7 months ago

Last modified 6 months ago

Development environment build exits under Ubuntu Intrepid

Reported by: douglas Assigned to: fgerlits
Priority: normal Milestone: 1.4.0-Monrovia
Component: Development Environment Version: 1.4.0-Monrovia
Severity: major Keywords:
Cc:

Description

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.

Attachments

2326_output.txt (14.7 kB) – added by douglas on 11/26/08 11:41:17.
Terminal output when trying to run setupDevelopmentEnvironment.sh under Intrepid
2326_output_2.txt (19.1 kB) – added by douglas on 11/27/08 11:59:57.
2nd output after changing Uuid.cxx

Change History

11/26/08 11:41:17 changed by douglas

  • attachment 2326_output.txt added.

Terminal output when trying to run setupDevelopmentEnvironment.sh under Intrepid

11/27/08 11:59:57 changed by douglas

  • attachment 2326_output_2.txt added.

2nd output after changing Uuid.cxx

  11/27/08 12:09:49 changed by douglas

On Ferenc’s suggestion, I tried adding the line ‘#include <cstring>’ after line 51 of src/campcaster/src/modules/core/src/Uuid.cxx, but now it exits at a different place and gives a different error:

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
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/LocalizedObject.o src/LocalizedObject.cxx
src/LocalizedObject.cxx: In member function ‘boost::shared_ptr<Glib::ustring> LiveSupport::Core::LocalizedObject::getBinaryResourceAsUstring(const char*)’:
src/LocalizedObject.cxx:325: error: ‘memcpy’ is not a member of ‘std’
make[1]: *** [tmp/LocalizedObject.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'

The entire output is attached here.