Bugs item #3313645, was opened at 2011-06-08 03:01
Message generated for change (Comment added) made by wilx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3313645&group_id=40830
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Build
>Group: v1.1.x
>Status: Pending
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Nikita Manovich (nikman84)
Assigned to: Václav Zeman (wilx)
Summary: Using cmake is impossible on Linux withtout configure step
Initial Comment:
I just tried to use cmake to build the product on Linux and got errors (see below). After "./configure" command cmake works. The package does'nt contain log4cplus/config/defines.hxx but only log4cplus/config/defines.hxx.in. Thus configure step is mandatory now. Is it possible to fix that (cmake feature is cool)!
[ 1%] Building CXX object CMakeFiles/log4cplus.dir/src/appender.cxx.o
/usr/bin/c++ -Dlog4cplus_EXPORTS -fPIC -I/tmp/log4cplus-1.0.4/include -DINSIDE_LOG4CPLUS -o CMakeFiles/log4cplus.dir/src/appender.cxx.o -c /tmp/log4cplus-1.0.4/src/appender.cxx
In file included from /tmp/log4cplus-1.0.4/include/log4cplus/appender.h:26:0,
from /tmp/log4cplus-1.0.4/src/appender.cxx:21:
/tmp/log4cplus-1.0.4/include/log4cplus/config.hxx:33:42: fatal error: log4cplus/config/defines.hxx: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/log4cplus.dir/src/appender.cxx.o] Error 1
make[2]: Leaving directory `/tmp/log4cplus-1.0.4/build'
make[1]: *** [CMakeFiles/log4cplus.dir/all] Error 2
make[1]: Leaving directory `/tmp
----------------------------------------------------------------------
>Comment By: Václav Zeman (wilx)
Date: 2012-09-04 03:04
Message:
I believe this is now fixed on 1.1.x branch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3313645&group_id=40830
|