|
|
Choosing A Webhost: |
RE: Problems building log4cxx 0.9.7 on Windows/CYGWIN: msg#00009apache.logging.log4cxx.user
Diego, I have been building log4cxx on CYGWIN for a while now. I have a pretty much a stock full install of cygwin, also doxygen. I guess the best way to describe my environment is to include my file "config.log", it will give you all the details. As I have described here before, after building the libraries and doing a make install, I build dynamic libraries using the following procedure (hack): -- see attached "doit" file, I am sure email will mangle the long line that follows: g++ -shared -o log4cxx.dll -Wl,--out-implib=liblog4cxx.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive liblog4cxx.a -Wl,--o-whole-archive '-L/usr/lib -lxml2 -lz -lpthread -liconv -lm' -lxml2 -lz -pthread -liconv -lm Not sure how I can help: if you like I can zip up my whole directory and send it to you (or anyone else). Jwahar Bammi Memento, Inc. bammi@xxxxxxxxxxxxxxx -----Original Message----- From: news [mailto:news@xxxxxxxxxxxxx] On Behalf Of Diego Susa Sent: Wednesday, October 13, 2004 10:19 AM To: log4cxx-user@xxxxxxxxxxxxxxxxxx Subject: Problems building log4cxx 0.9.7 on Windows/CYGWIN Hi: I've been trying for a couple of days to build the package on Windows, and I can't get to do it (It built straightforward on Linux). I need to build it using GNU tools, so I've choosen the CYGWIN aproach. I've checked the necesary tools from a post in the forum: Recommended My CYGWIN Cygwin version 1.5.10-3 1.5.11.1 Automake version 1.7.9 1.9.2 Autoconf version 2.59 2.59 Libtool version 1.5 1.5.10 I'm also issuing the followong configure (to disable all the things I don't need and could be source of trouble, at list until I can build once): ./configure --disable-doxygen --disable--html-docs --with-thread=Microsoft --without-XML --without-ODBC --without-SMTP I'm not using CYGWIN's gcc, but MinGW (g++:3.2.3 make:3.80), but It shouldn't be an issue (I think). Correct me if I'm wrong since I'm almost new at GCC, and completely newbie at CYGWIN. The autogen.sh & configure steps went Ok (with no remarkable warnings), but when I "make" at the package-root level I get dozens of errors at the first compiled source (appenderattachable.cpp). Almost all of the errors come from /helpers/tchar.h and from /spi/loggingevent.h but the remarkable thing is that the problem seems to be always the same data type: int64_t I´ve tried both the "distribution" ZIP file version, and the CVS contents, and I get the same errors on both, so maybe is a platform's issue ? or a missing environment variable ? .... I'm puzzled cause I really wanted to use this lib in my project... :-( Any help would be appreciated. I've also read that somebody built the lib with Borland tools. I need to build the package on Borland (besides GNU) so any help, makefile, or project for anyone of Borland tools would be VERY useful. Thanks in advance, Diego Susa CESTEL (Spain) www.cestel.es
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: solaris - log4cxx compilation, Curt Arnold |
|---|---|
| Next by Date: | Help: I find it's too hard to build log4cxx on Solaris., Xiong, Wei (Wei) |
| Previous by Thread: | Problems building log4cxx 0.9.7 on Windows/CYGWIN, Diego Susa |
| Next by Thread: | Re: Problems building log4cxx 0.9.7 on Windows/CYGWIN, Diego Susa |
| 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 |