Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Problem compiling on FreeBSD 5.3: msg#00066

apache.logging.log4cxx.user

Subject: Re: Problem compiling on FreeBSD 5.3


On Jan 26, 2005, at 3:22 AM, Aaron Walker wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Firstly, I missed the first part of this thread, so I apologize if I'm missing
the bigger picture.

Curt Arnold wrote:
| The migration to Apache Portable Runtime should eliminate most if not
| all of the need for autogen.sh and configure in building log4cxx.

I know zilch about APR (although I'll need to learn since I maintain the Gentoo
~ port ;p), but what does APR have to do with autogen.sh/configure? or is the
"Runtime" in APR misleading?

The use of Apache Portable Runtime substantially reduces the need for capability detection within log4cxx since APR presents a uniform runtime environment to log4cxx. At the present time, log4cxx doesn't even include the generated config files. The current autoconf/configure files are hold-overs from when log4cxx needed to know if pthreads or libxml2 etc were available. The only thing that I could see would add value is to know if mbsnrtowcs and wcsnrtombs are available. There presence is detected by the current script, but the preprocessor macros are not used at this time. The old scripts could likely be radically simplified at this point.




| However, the current use of autogen.sh and configure have not been
| modified to reflect the migration. It is not an area that I'm expert in
| and would appreciate any suggestions, patches or comments.

I'll see if I can get get log4cxx setup on my BSD box, and what kind of magic
(besides autogen.sh of course) is required to get it built.



The Ant based build can be used to build log4cxx and do not require the use of autogen or configure. The steps would be:

Install Ant
Build APR, APR-iconv and APR-util
Build cpptasks.jar from CVS (http://sf.net/projects/ant-contrib)
export CLASSPATH=cpptasks.jar
ant -Dapr.dir=/usr/local/apr-1

I'm likely to modify the Ant build so that it will automatically build APR if not detected. Running the unit-tests requires CppUnit and boost-regex. Getting boost-regex to build on Gump (which uses a custom version of jam to build) seems like way too much work, so I might migrate the unit tests to exec sed instead.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation