Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 50282 invoked from network); 5 Aug 2005 15:21:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 15:21:24 -0000 Received: (qmail 49952 invoked by uid 500); 5 Aug 2005 15:21:22 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 49922 invoked by uid 500); 5 Aug 2005 15:21:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 49896 invoked by uid 99); 5 Aug 2005 15:21:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 08:21:22 -0700 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [129.55.12.40] (HELO ll.mit.edu) (129.55.12.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 08:21:11 -0700 Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id j75FLIoC004327 for ; Fri, 5 Aug 2005 11:21:18 -0400 (EDT) Received: from UNKNOWN( ), claiming to be "[155.34.136.35]" via SMTP by llmail, id smtpdAAAwKa4Ph; Fri Aug 5 11:21:05 2005 Message-ID: <42F383E1.1030705@ll.mit.edu> Date: Fri, 05 Aug 2005 11:21:05 -0400 From: Glenn Schrader User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: [PATCH] apr-util build fails on Solaris 2.8 Content-Type: multipart/mixed; boundary="------------060804060309080001030106" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------060804060309080001030106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm attempting to build apr-util 1.1.2 on Solaris 2.8 with --enable-static, --disable-shared, and --with-berkeley-db=. 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 --------------060804060309080001030106 Content-Type: text/x-patch; name="Solaris-2-8.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Solaris-2-8.patch" 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~ --------------060804060309080001030106 Content-Type: text/plain; name="file:///tmp/nsmail-1.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="file:///tmp/nsmail-1.txt" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.org --------------060804060309080001030106--