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#00069

apache.logging.log4cxx.user

Subject: RE: Problem compiling on FreeBSD 5.3

Aaron,

Thanks for taking the time to make the patch. I will apply it this evening
and let you know if I run into any other problems.

Keith

-----Original Message-----
From: Aaron Walker [mailto:ka0ttic@xxxxxxxxxx]
Sent: Wednesday, January 26, 2005 11:41 AM
To: Log4CXX User
Subject: Re: Problem compiling on FreeBSD 5.3

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

Keith Bottner wrote:
| It's not just a header problem or I wouldn't even ask.
|
| The autogen.sh will not run on FreeBSD. And in fact shouldn't even
| have to
run. The configure script should already be generated when the tar.gz was
packaged so that all anyone has to do is run configure then make and so
on...
The autogen.sh shell script is there to generate this configure, which is
backward. The whole point of using configure is to bypass difficulties in
compiling the same source on different systems. Having to run autogen.sh as
the first step pretty much goes back to the core issues of why configure was
developed in the first place.
|
| Now onto why FreeBSD has an issue, which specifically has to do with
| the
autoconf, automake, aclocal, etc. that exist in the autogen.sh. FreeBSD has
multiple versions of these installed for various reasons so there is no
single link which means that the autogen.sh script has to be edited manually
but then which version should be used?
|
| The real solution is to get rid of the autogen.sh shell script and
| post a
tar.gz with a configure that does what it is suppose to do, which is deal
with platform differences. I some what belive that there was an error
packaging the
0.9.7 version and that in fact they meant to generate a tar.gz with the
configure already generated by the projects maintainers but that something
was missed.
|
| Anyone have an opinion, flaming aside.
|
|
| Keith

Ok, sorry for all the mail folks. It actually didn't take that much to get
it compiled on FreeBSD 5.3. The only source changes required was the
alloca.h check; a small diff is attached.

$ cd /usr/ports/devel/automake15
$ make install clean
$ cd /usr/ports/textproc/libxml2
$ make install clean
$ cd ~/log4cxx-0.9.7
$ libtoolize15 --force --copy
$ aclocal15
$ autoheader259
$ autoconf259
$ automake15 -a
$ patch -p1 < ../log4cxx-0.9.7-fbsd.diff $ ./configure ...
$ make

I didn't specify any fancy options so I cannot say whether --with-ODBC or
- --with-SMTP will build correctly.

Hope this helps you.
- --
You can't have everything... where would you put it?
- -- Steven Wright

Aaron Walker <ka0ttic@xxxxxxxxxx>
[ Gentoo/BSD | cron | forensics | shell-tools | commonbox | netmon ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFB99YtC3poscuANHARAm3hAJ9plViO1EcggGfIAiWnOyQweLcilQCggFtM
i87+EGdExTWU/5LfqqYhtmc=
=66NF
-----END PGP SIGNATURE-----

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 1/24/2005





<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