|
|
Sponsor |
Re: solaris - log4cxx compilation: msg#00006apache.logging.log4cxx.user
I ran into this as well. I don't think the configure script or the code is set up to work properly with gcc 2.95.3. Most of these errors come from code that has to do with unicode support, which I don't need for my particular application, so I just commented out the offending stuff in tchar.h. Let me know if you are able to find a less horrible solution, though. -z On Wed, 13 Oct 2004 10:45:59 +0000 (UTC), Sebastian Gurgul <s0s@xxxxx> wrote: > Hello > 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 > --exec-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 > Convert::int64ToString(...)': > ../include/log4cxx/helpers/tchar.h:50: `dst' undeclared (first use this > function) > etc. etc. etc. > > What should I do? Maybe some parameters for ./configure script? > > -- > sebastian > >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problems building log4cxx 0.9.7 on Windows/CYGWIN, Diego Susa |
|---|---|
| Next by Date: | Re: LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc, Curt Arnold |
| Previous by Thread: | solaris - log4cxx compilation, Sebastian Gurgul |
| Next by Thread: | Re: solaris - log4cxx compilation, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|