← Back to team overview

yade-users team mailing list archive

[Question #166813]: compilation problem


New question #166813 on Yade:

I installed 0.60.2 successfully but need to install 0.20.2 because of problems in xml files. But when I try to compile the below error appears. It did not happen in earlier time. Any suggestion please.


gayan@gayan-Prime-Series:~$ cd YADE20
gayan@gayan-Prime-Series:~/YADE20$ cd yade-0.20-2
gayan@gayan-Prime-Series:~/YADE20/yade-0.20-2$ ls
AUTHORS    examples  LICENSE     scons.current-profile  Yade.kdevelop
ChangeLog  extra     NEWS        scons.profile-default  yadeSCons.py
core       gui       pkg         SConstruct             yadeSCons.pyc
debian     INSTALL   py          scripts                yade.spec
doc        lib       SConscript  VERSION
gayan@gayan-Prime-Series:~/YADE20/yade-0.20-2$ scons PREFIX=/home/gayan/YADE20
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `unknown', installed files will be suffixed with `-unknown'.
All intermediary files will be in `/home/gayan/YADE20/build-unknown'.
Checking whether c++ compiler "g++" works...yes
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... yes
Checking for boost::thread::thread() in C++ library boost_thread-mt... yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... yes
Checking for boost::regex("") in C++ library boost_regex-mt... yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... yes
Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... yes
Checking for C++ header file boost/foreach.hpp... yes
Checking for sqlite3_close(0L) in C++ library sqlite3... yes
Checking for glutGetModifiers() in C++ library glut... yes
Checking for gts_object_class() in C++ library gts... yes
Checking for qt-mt in /usr/share/qt3... no
Checking for qt-mt in /usr/lib/qt... no
Checking for qt-mt in /usr/lib/qt3... no
Checking for qt-mt in /usr/qt/3... no
Checking for qt-mt in /usr/lib/qt-3.3... no
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... no

ERROR: Unable to compile with optional feature `log4cxx'.

If you are sure, remove it from features (scons features=featureOne,featureTwo for example) and build again.

Sorry for the length of message.
Do I have to install log4cxx again in the YADE20 folder?

You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.