[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] apr-util build fails on Solaris 2.8

From: Glenn Schrader <gschrad_at_ll.mit.edu>
Date: 2005-08-05 17:19:50 CEST

Sorry about that... I posted this to the wrong list.

Glenn Schrader wrote:
> I'm attempting to build apr-util 1.1.2 on Solaris 2.8 with
> --enable-static, --disable-shared, and --with-berkeley-db=<path>.
> The configuration script indicates that it can't find a
> good Berkeley DB. The problem isn't that its not pointing
> to a good libdb since the log file says that the test
> for the database is failing to link because fdatasync
> is undefined. What I've found is that on linux, fdatasync
> appears to be in both libc and librt but on Solaris 2.8
> its only in librt. The attached patch modifies
> apr-util/build/apu-hits.m4 to add -lrt to the list of
> libraries to be linked in for Solaris2.
>
> Thanks much,
>
> Glenn Schrader
>
>
> ------------------------------------------------------------------------
>
> diff -ru apr-util-1.1.2_old/build/apu-hints.m4 apr-util-1.1.2/build/apu-hints.m4
> --- apr-util-1.1.2_old/build/apu-hints.m4 2004-11-24 18:41:24.000000000 -0500
> +++ apr-util-1.1.2/build/apu-hints.m4 2005-08-03 08:13:31.090197360 -0400
> @@ -33,6 +33,7 @@
> *-solaris2*)
> APR_SETIFNULL(apu_iconv_inbuf_const, [1])
> APR_SETIFNULL(apu_crypt_threadsafe, [1])
> + APR_SETIFNULL(apu_db_extra_libs, [-lrt])
> ;;
> *-sco3.2v5*)
> APR_SETIFNULL(apu_db_xtra_libs, [-lsocket])
> Only in apr-util-1.1.2/build: apu-hints.m4~
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 5 17:20:37 2005

This is an archived mail posted to the Subversion Dev mailing list.