|
From: Robert S. <rst...@ro...> - 2016-02-24 23:54:45
|
Hello, I am attempting to build from source on Debian Jessie and DOMWriter.hpp is not present causing the build to fail: root@satre:~/oreka-svn/orkbasecxx# libtoolize --force libtoolize: putting auxiliary files in `.'. libtoolize: linking file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. root@satre:~/oreka-svn/orkbasecxx# automake -a automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' audiofile/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/audiogain/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g722codec/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g726codecs/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g726codecs/g72x/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/gsm/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/gsm/gsm610/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/ilbc/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/ilbc/ilbc/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/speex/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') messages/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') serializers/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS’) root@satre:~/oreka-svn/orkbasecxx# make -f Makefile.cvs aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader automake automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' audiofile/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/audiogain/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g722codec/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g726codecs/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/g726codecs/g72x/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/gsm/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/gsm/gsm610/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/ilbc/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/ilbc/ilbc/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') filters/speex/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') messages/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') serializers/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Autoconf ./configure: … configure: creating ./config.status config.status: creating Makefile config.status: creating messages/Makefile config.status: creating serializers/Makefile config.status: creating audiofile/Makefile config.status: creating filters/Makefile config.status: creating filters/gsm/Makefile config.status: creating filters/gsm/gsm610/Makefile config.status: creating filters/ilbc/Makefile config.status: creating filters/ilbc/ilbc/Makefile config.status: creating filters/audiogain/Makefile config.status: creating filters/g722codec/Makefile config.status: creating filters/speex/Makefile config.status: creating filters/g726codecs/Makefile config.status: creating filters/g726codecs/g72x/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands ========= Configuration =========== cxx : g++ cxxflags : -g -O2 =================================== Make: /bin/bash ../libtool --tag=CXX --mode=link g++ -D_REENTRANT -g -O2 -o libmessages.la AsyncMessage.lo Message.lo SyncMessage.lo CaptureMsg.lo DeleteTapeMsg.lo PingMsg.lo TapeMsg.lo RecordMsg.lo InitMsg.lo CrashMessage.lo AddTagMsg.lo libtool: link: ar cru .libs/libmessages.a .libs/AsyncMessage.o .libs/Message.o .libs/SyncMessage.o .libs/CaptureMsg.o .libs/DeleteTapeMsg.o .libs/PingMsg.o .libs/TapeMsg.o .libs/RecordMsg.o .libs/InitMsg.o .libs/CrashMessage.o .libs/AddTagMsg.o libtool: link: ranlib .libs/libmessages.a libtool: link: ( cd ".libs" && rm -f "libmessages.la" && ln -s "../libmessages.la" "libmessages.la" ) make[2]: Leaving directory '/root/oreka-svn/orkbasecxx/messages' Making all in serializers make[2]: Entering directory '/root/oreka-svn/orkbasecxx/serializers' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -g -O2 -MT DomSerializer.lo -MD -MP -MF .deps/DomSerializer.Tpo -c -o DomSerializer.lo DomSerializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -g -O2 -MT DomSerializer.lo -MD -MP -MF .deps/DomSerializer.Tpo -c DomSerializer.cpp -fPIC -DPIC -o .libs/DomSerializer.o DomSerializer.cpp:20:37: fatal error: xercesc/dom/DOMWriter.hpp: No such file or directory #include <xercesc/dom/DOMWriter.hpp> ^ compilation terminated. Makefile:385: recipe for target 'DomSerializer.lo' failed make[2]: *** [DomSerializer.lo] Error 1 make[2]: Leaving directory '/root/oreka-svn/orkbasecxx/serializers' Makefile:636: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/oreka-svn/orkbasecxx' Makefile:450: recipe for target 'all' failed make: *** [all] Error 2 Published dependencies are installed: root@satre:~/oreka-svn/orkbasecxx# apt-get install libboost-dev libpcap-dev libsndfile1-dev libapr1-dev libspeex-dev liblog4cxx10-dev libace-dev libxerces-c-dev Reading package lists... Done Building dependency tree Reading state information... Done libace-dev is already the newest version. libapr1-dev is already the newest version. libboost-dev is already the newest version. libpcap-dev is already the newest version. libsndfile1-dev is already the newest version. liblog4cxx10-dev is already the newest version. libspeex-dev is already the newest version. libxerces-c-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. It looks like the problem involves Jessie’s libxerces-c-dev not including DOMWriter.hpp (https://packages.debian.org/search?searchon=contents&keywords=DOMWriter.hpp&mode=path&suite=stable&arch=any). Someone else had this problem on this mailing list a few years ago (located https://sourceforge.net/p/oreka/mailman/message/31809023/) and the solution was to install libxerces-c2-dev. libxerces-c2-dev has been removed from jessie however DOMWriter.hpp is not present in the version of libxerces-c-dev that is shipped in Jessie. Does anyone have a work around or solution to build in Jessie? Best regards, Robert Stevens rst...@ro... |