From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tiger.gg3.net (142.13.111.219.st.bbexcite.jp [219.111.13.142]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3U0M3ax012819 for ; Sat, 30 Apr 2005 00:22:05 GMT Received: (qmail 9113 invoked by uid 89); 30 Apr 2005 09:22:02 +0900 Received: from lion.gg3.net (HELO lion) (10.0.0.2) by 0 with SMTP; 30 Apr 2005 09:22:02 +0900 Received: by lion (sSMTP sendmail emulation); Sat, 30 Apr 2005 09:22:02 +0900 Date: Sat, 30 Apr 2005 09:22:02 +0900 From: Georgi Georgiev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Possibly OT: Building mod_php-5.0.4; where is dbminit? Message-ID: <20050430002202.GA18632@lion.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <4272A18C.9080205@gnosysllc.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4272A18C.9080205@gnosysllc.com> User-Agent: Mutt/1.5.8i X-Archives-Salt: 2eeaab50-9e2f-4059-82b0-5d64216d89f5 X-Archives-Hash: 579cc7d26f37de207bb7f3968096226a maillog: 29/04/2005-17:05:16(-0400): Kevin types > Hi Devs- > > Sorry if it's OT, but nobody in -user seems to have a clue on this one. > > I'm trying to build mod_php-5.0.4 with an ebuild script that is a > renamed copy of the one in portage for version 5.0.3-r2. I've got it in > my portage overlay and I've adjusted the patch files and so forth to get > it working. As far as the ebuild goes, I'm pretty sure everything is > fine. Anyway, the same thing happens with unmodified 5.0.3-r2 from > portage so it's definitely not my ebuild that is the problem. > > The trouble is, in building, the configure script fails at: > > checking whether to enable DBA... yes > checking for QDBM support... no > checking for gdbm_open in -lgdbm... yes > checking for GDBM support... yes > checking for NDBM support... no > checking for db4 minor version and patch level... ok > checking for Berkeley DB4 support... yes > checking for Berkeley DB3 support... no > checking for Berkeley DB2 support... no > checking for dbminit in -ldbm... no > checking for dbminit in -lc... no > checking for dbminit in -lgdbm... no > configure: error: DBA: Could not find necessary library. > > !!! Please attach the config.log to your bug report: > !!! /var/tmp/portage/mod_php-5.0.4/work/php-5.0.4/config.log > (pertinent lines from this file included below) I solved this locally like this: --- /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild 2005-03-14 07:19:13.000000000 +0900 +++ /usr/portage-chutz/dev-php/mod_php/mod_php-5.0.3-r2.ebuild 2005-03-20 18:31:17.000000000 +0900 @@ -54,6 +54,7 @@ WANT_AUTOCONF=2.5 \ autoconf -W no-cross || die "Unable to regenerate configure script" fi + sed -i -e 's!for LIB in dbm c gdbm!for LIB in dbm c gdbm gdbm_compat!' ${S}/configure } src_compile() { Haven't tried 5.0.4 though. -- ) Georgi Georgiev ) "This is an outrage! I demand to know what ) ( chutz@gg3.net ( happened to the plucky lawyer and her ( ) +81(90)2877-8845 ) compellingly short garments." -alien ) -- gentoo-dev@gentoo.org mailing list