Hi George,

I wanted to build on Mac OS X recently and had problems using the autotools
to do this as well. I didn't find a solution and had to focus elsewhere
since these sorts of things tend to flush valuable man-hours down the drain.

Not that this helps you, but it might attract the attention of the log4cxx
developers if enough people request it.

If you figure anything out, please keep the user's list updated. 

Thanks!
Stephen

-----Original Message-----
From: George Uecker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 31, 2007 12:50 PM
To: Log4CXX User
Subject: building shared log4cxx w/ static apr & apr-util

We have been using a CVS snapshot of log4cxx built using the ant build.xml
file, where by default liblog4cxx is built as a shared lib that links with
the static versions of libapr-1 and libaprutil-1.

Because we now have to build for some target boards using a custom compiler
that is not recognized by ant as being a valid compiler, we had to resort to
building log4cxx using autotools.  Now the problem:  when building with
autotools, how do we build a shared version of log4cxx that uses static
apr-1 and aprutil-1 libs?  All I've been able to manage so far is a shared
version of log4cxx that requires shared versions of apr-1 and aprutil-1 as
well.  I tried hacking the Makefile to no avail.  Is there some magic
incantation of the configure command that will do what I want?


Reply via email to