cmake - Building spectrum2 on non root server -


as subject says i've trouble installing spectrum2 on non root server. main problem i've build lot of dependencies source , link them correct. i've installed log4cxx dependencies in /home/$user/log4cxx_build/apache-log4cxx-0.10.0. when trying cd libtransport , make following result:

$user@puppis libtransport]$ make [  1%] built target pb [  1%] building cxx object plugin/cpp/cmakefiles/transport-plugin.dir/networkplugin.cpp.o in datei, eingefügt von /home/$user/libtransport/plugin/cpp/networkplugin.cpp:23: /home/$user/libtransport/include/transport/logging.h:30:28: fehler: log4cxx/logger.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:31:37: fehler: log4cxx/consoleappender.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:32:35: fehler: log4cxx/patternlayout.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:33:42: fehler: log4cxx/propertyconfigurator.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:34:40: fehler: log4cxx/helpers/properties.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:35:45: fehler: log4cxx/helpers/fileinputstream.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:36:40: fehler: log4cxx/helpers/transcoder.h: datei oder verzeichnis nicht gefunden /home/$user/libtransport/include/transport/logging.h:38:32: fehler: log4cxx/logmanager.h: datei oder verzeichnis nicht gefunden in file included /home/$user/libtransport/plugin/cpp/networkplugin.cpp:23: /home/$user/libtransport/include/transport/logging.h:42: fehler: »log4cxx« not namespace-name /home/$user/libtransport/include/transport/logging.h:42: fehler: expected namespace-name before »;« token /home/$user/libtransport/plugin/cpp/networkplugin.cpp:38: fehler: »log4cxx« has not been declared /home/$user/libtransport/plugin/cpp/networkplugin.cpp:38: fehler: expected initializer before »logger« /home/$user/libtransport/plugin/cpp/networkplugin.cpp: in member function »void transport::networkplugin::checkping()«: /home/$user/libtransport/plugin/cpp/networkplugin.cpp:679: fehler: »logger« wurde in diesem gültigkeitsbereich nicht definiert /home/$user/libtransport/plugin/cpp/networkplugin.cpp:679: fehler: »log4cxx_error« wurde in diesem gültigkeitsbereich nicht definiert make[2]: *** [plugin/cpp/cmakefiles/transport-plugin.dir/networkplugin.cpp.o] fehler 1 make[1]: *** [plugin/cpp/cmakefiles/transport-plugin.dir/all] fehler 2 make: *** [all] fehler 2 

it seems log4cxx isn't found during installation.

any appreciated. in advance! :-)

after installed log4cxx in user directory need re-run cmake , add hints search headers , libraries, can done example as:

cmake . -dcmake_include_path=/home/$user/log4cxx_build/apache-log4cxx-0.10.0/include -dcmake_library_path=/home/$user/log4cxx_build/apache-log4cxx-0.10.0/lib

also better install dependencies single directory


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -