Hi, Thank you. I have just got it to compile by installing the sources on a Linux machine and generating the configure script there so it probably boils down to the same thing. I do get the feeling that the package is not stable at all on Solaris. The following core dumps (I am new to log4cxx so might be me making a mistake but the same works on Linux)
#include <log4cxx/logger.h> #include <log4cxx/basicconfigurator.h> #include <log4cxx/propertyconfigurator.h> #include <log4cxx/helpers/exception.h> using namespace log4cxx; using namespace log4cxx::helpers; LoggerPtr logger = Logger::getLogger(_T("MyApp")); int main(int argc, char **argv) { int result = EXIT_SUCCESS; try { if (argc > 1) { // BasicConfigurator replaced with PropertyConfigurator. PropertyConfigurator::configure(argv[1]); } else { BasicConfigurator::configure(); } LOG4CXX_FATAL(logger, "Entering application."); LOG4CXX_FATAL(logger, "Exiting application."); } catch(Exception&) { result = EXIT_FAILURE; } return result; } [EMAIL PROTECTED]:/export/home/tiaan/testlog$ ./test You have tried to set a null level to root. Segmentation Fault (core dumped) and also [EMAIL PROTECTED]:/export/home/tiaan/testlog$ ./test socketServer1.properties You have tried to set a null level to root. Segmentation Fault (core dumped) Regards Tiaan > Hi, > > you can try using this package: > > http://littletux.homelinux.org/debian/log4cxx/log4cxx_0.9.7.orig.tar.gz > > it is identical to log4cxx_0.9.7,tar.gz from the apache site, but > already contains the configure script so that it can be built with > the usual ./configure; make without calling automake. > I havent tried it on Solaris yet, if you have any problems > contact me, I have a Solaris 9 machine available ... > > Regards, > > Andreas > > [EMAIL PROTECTED] wrote: >> Hi, >> I am desperately struggling to build log4cxx on Solaris 9 with fairly >> recent versions of automake/autoconf/libtool. > [...] > >