log4cxx 0.10 - make fails on Solaris 10

2008-09-30 Thread Ambarish Mitra
Hello all, I have download the source of log4cxx 0.10, and trying to build on Solaris 10 - Sparc 64 bit. I have done configure correctly, and the makefile was generated. Now when I do a "make", it gives me this error, and I do not know why it looks for libdb-4.2. Is there any dependency? What ar

warning: has virtual functions but non-virtual destructor

2006-07-18 Thread Ambarish Mitra
I have written a small application using log4cxx (log4cxx 0.9.7), the code snippet is: string logpropertiesfile; logpropertiesfile="/home/ambarish/appl1/properties.txt"; PropertyConfigurator::configure(logpropertiesfile); LOG4CXX_INFO(logger,"Initialized=

Linker Error in Application

2006-05-08 Thread Ambarish Mitra
Dear all, I have used the Apache log4cxx framework in my application, and everything is fine. I am on Solaris 8, and am using GNU g++ 3.3.2 and Solaris ld 5.9 to build my application. There is no problem at all. However, recently I moved the application sources to Linux (Redhat Linux) and found t

RE: Apache Log4cxx - problem with make on Solaris

2005-09-01 Thread Ambarish Mitra
. Is this a bug with configure script? Thanks to anyone who may have spent some time on this. -Original Message- From: Ambarish Mitra [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 5:30 PM To: log4cxx-user@logging.apache.org Subject: Apache Log4cxx - problem with make on Solari

Apache Log4cxx - problem with make on Solaris

2005-08-31 Thread Ambarish Mitra
Hi, I am using Apache Log4cxx 0.9.7 on Solaris 8. I have been able to generate the Makefile using the autogen script, but I am having problems in "make". When I do 'make', I get the following error. [gnomexml.cpp:94: error: `::xmlParseFile' undeclared] I had run ./configure -prefix = /some/path/f

RE: No appenders could be found for logger

2005-02-24 Thread Ambarish Mitra
I withdraw the question. I have found the error. In the .so file, the configure was not called correctly. My mistake, and sorry for this. > -Original Message- > From: Ambarish Mitra [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 12:03 PM > To:

No appenders could be found for logger

2005-02-24 Thread Ambarish Mitra
Hi, I have written two separate and independent test programs to implement the log4cxx functionality, one is a stand-alone EXE and the other is a shared object (.so). The EXE is working correctly, and the shared object is outputting: No appenders could be found for logger (Test_so). Please initi

Can I have time stamp in log file name?

2005-02-21 Thread Ambarish Mitra
Hi, Can I have time stamp in log file name? To elaborate, if my entries in the property files are: ... log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=../logs/example.log .. Now, I want that instead of log file name: example.log, I want the name as example.log. of cre

RE: Apache Log4cxx build fails with gcc 3.3.2 under Solaris 8

2005-02-02 Thread Ambarish Mitra
In the file tchar.h, there is: #ifdef UNICODE ...some code #elif ... #endif I have done #undef UNICODE just before this snippet and the program compiled successfully. I guess this is okay for me, since I do not need UNICODE support in my project. <>

Apache Log4cxx build fails with gcc 3.3.2 under Solaris 8

2005-02-01 Thread Ambarish Mitra
I do not find any method called subAppend in class ConsoleAppender. I have searched for wchar defintion in the gcc include paths, and found that it is present in iostream as: namespace std { #ifdef _GLIBCPP_USE_WCHAR_T extern wistream wcin; ///< Linked to standard input extern w

Apache Log4cxx build fails with gcc 2.95.3 under Solaris 8

2005-02-01 Thread Ambarish Mitra
I have now upgraded gcc, and now I am using gcc 3.3.2 Those errors (reported in the earlier post) dated Jan 31, 2005 have gone, but now, some other errors are coming: source='consoleappender.cpp' object='consoleappender.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash .

Apache Log4cxx build fails with gcc 2.95 under Solaris 8

2005-01-31 Thread Ambarish Mitra
bash-2.03$ make Making all in docs Making all in src source='appenderattachableimpl.cpp' object='appenderattachableimpl.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -

Apache Log4cxx

2005-01-25 Thread Ambarish Mitra
> Hi, > > I have downloaded the Apache Log4cxx and trying to build the source. While > building by using the autogen.sh, the aclocal is giving me > errors/warnings, and the process is failing. > > aclocal:configure.in:32: warning: macro `AM_PROG_LIBTOOL' not found in > library > > The following