I don't know if this is true for more current versions of log4cxx, but in the INSTALL file, the section about how to build with autotools is prefaced with this scary message:
"autoconf.sh is known to be incompatible with some versions of autotools. The autotools make has not been kept up to date with development. See Bug LOGCXX-43 for details on this issue. The following description has not been changed since log4cxx-0.9.7." This message certainly convinced me that building log4cxx with autotools was Not The Thing To Do. If this is no longer true, perhaps its time to update the INSTALL file :) Marshall -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Arnold Sent: 2007-May-23 Wed 11:18 AM To: Log4CXX User Subject: Re: build failed on solaris 9 On May 23, 2007, at 9:59 AM, Marshall Powers wrote: > I'm not sure, but I would guess that ant is not making the compiler > link the > expat library. I had similar problems building my program with > log4cxx on > solaris. Try to run the configure script for APR-Util to see if it > tries to > link the expat library, and then see if the ant build file does the > same. > > > > Good Luck, > Marshall > > > P.S. > I wonder why the Log4cxx developers insist on using the <cc> task > to build > APR and APR-Util when those libraries come with their own autotools > scripts, > Makefiles, etc... > We try to support both autotools/makefiles and Ant. The cc task us helpful since it supports Microsoft Visual C++ and other non-Unixy compilers and can generate project files for several IDEs. I thought the Ant build worked with Solaris 10, though I haven't tested Solaris 9. Sounds like you would be better off just sticking with the autotools build.
