Re: [Log4cplus-devel] build v2.0.5 with ubuntu 16.04
Logging Framework for C++
Brought to you by:
wilx
From: Václav H. <vha...@gm...> - 2020-04-12 22:52:41
|
On 11. 04. 20 11:52, ruediger klimt wrote: > Hi, > building v2.0.5 with ubuntu 16.04. seems not to work, which probably is > not a bug, but a desired feature. I have gcc / g++ 7.4.0 installed, > > gcc --version : gcc (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0 > g++ --version : g++ (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0 > > which should be sufficient for c++17. Executing > ./scripts/doautoreconf.sh fails with several errors: > > ./scripts/doautoreconf.sh: 27: ./scripts/doautoreconf.sh: > libtoolize-2.4.6: not found > ./scripts/doautoreconf.sh: 28: ./scripts/doautoreconf.sh: > aclocal-1.16.1: not found > ./scripts/doautoreconf.sh: 29: ./scripts/doautoreconf.sh: > automake-1.16.1: not found > ./scripts/doautoreconf.sh: 30: ./scripts/doautoreconf.sh: autoconf-2.69: > not found > ./scripts/doautoreconf.sh: 31: ./scripts/doautoreconf.sh: autom4te-2.69: > not found > > with installed automake tools versions on my ubuntu 16.04. system are : > > libtoolize --version : libtoolize (GNU libtool) 2.4.6 > aclocal --version : aclocal (GNU automake) 1.15 > automake --version : automake (GNU automake) 1.15 > autoconf --version : autoconf (GNU Autoconf) 2.69 > utautom4te --version : autom4te (GNU Autoconf) 2.69oconf) 2.69 > > At least the installed libtoolize, autoconf and autom4te should fit the > required versions. Though doautoreconf.sh fails, running ./configure > works, but make then fails with > > configure.ac:11: error: require Automake 1.16.1, but have 1.15 > > For there is no easy way for updating automake to a higher version under > ubuntu 16.04, and cmake also fails with errors, is there a way to get > the current version 2.0.5. to run with ubuntu 16.04 without upgrading to > ubuntu 18.04. ? > > Best regards > How did you get the source? It should build if it is extracted from distribution tar.gz. If you are doing a checkout from Git repository tag, then you have to run the ./scripts/fix-timestamps.sh from the root of the repo. -- VH |