On Jul 25, 2007, at 8:42 AM, supervixen wrote:
Hi,
I've been desperately trying to build log4cxx (0.9.7) to Solaris
sparc and it's been a painful week even trying to build it,
So here's my problem :
I'm using Sun C++ 5.9 SunOS_sparc compiler on Solaris 10
and the i have installed the autotools
-autoconf 2.60
-automake 1.10
-libtool 1.5
-m4 1.4.2
( downloaded from sunfreeware as solaris packages)
QUESTION1 : Have I installed the right versions (of the
autotools) ? Is there a compatibility issue that I am not aware of ?
When I run 'autogen.sh', aclocal fails and generates the following
output:
NONE:0: /usr/local/bin/m4: '__program__' from frozen file not found
in builtin table!
autom4te: /usr/local/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
QUESTION2:What does this mean? Why does it fail (aclocal)?
QUESTION3 Has anyone ever built/tested log4cxx with Sun C++
compiler, and if anyone has, can he/she be so kind to describe it
step by step (i'm clueless ) or better than that, could anyone
just zip and email me the binaries?
indeed, my project can“t wait any more to have this log library
running!
Thanks a lot , in advance
and please help!
Deniz
I strongly discourage use of log4cxx 0.9.7 and can provide no support
for it. It predates the move to ASF and has many, many bugs that
have been fixed in the SVN. Unfortunately, it has been a very, very
long time without an official ASF release to replace it. We are
making moves to getting all the things in place for an ASF release in
place.
At the moment (since yesterday), the SVN HEAD's automake build has
been broken due to directory moves in preparation for a release.
Hopefully, that will be restored shortly. You should be able to use
the Ant build on Solaris with the SVN head or you can just grab
revision 559190 (uses apr 1.2.9 and apr-util 1.2.8) or 559189 (uses
versions 1.2.7 of both). I believe both build on Solaris with the
Sun compilers using either the Ant or automake build.