logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Gurgul <...@o2.pl>
Subject solaris - log4cxx compilation
Date Wed, 13 Oct 2004 10:45:59 GMT
My configuration is:
Solaris 8 Intel
gcc 2.95.3

I'm trying to compile log4cxx (0.9.7)...
First I updated/installed: m4, libtool, autoconf, automake
Than I run configure script: ./configure --prefix=$HOME/local
And now, when i try to compile I get error:

In file included from appenderattachableimpl.cpp:17:
../include/log4cxx/helpers/tchar.h:27: streambuf: No such file or directory

Conclusion is easy... I'm changing #include<streambuf> to #include<streambuf.h>
(I have also #include<sstream> in tchar.h)

And now I have the real problem:)

In file included from appenderattachableimpl.cpp:17:
../include/log4cxx/helpers/tchar.h:45: parse error before `&'
../include/log4cxx/helpers/tchar.h:54: parse error before `&'
../include/log4cxx/helpers/tchar.h:55: `Convert::int64ToString(...)' has already
been declared in `Convert'
../include/log4cxx/helpers/tchar.h: In function `static void
../include/log4cxx/helpers/tchar.h:50: `dst' undeclared (first use this 
etc. etc. etc.

What should I do? Maybe some parameters for ./configure script?


View raw message