* Re: [gentoo-dev] Possibly OT: Building mod_php-5.0.4; where is dbminit?
@ 2005-04-30 0:22 99% ` Georgi Georgiev
0 siblings, 0 replies; 1+ results
From: Georgi Georgiev @ 2005-04-30 0:22 UTC (permalink / raw
To: gentoo-dev
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2005-04-29 21:05 [gentoo-dev] Possibly OT: Building mod_php-5.0.4; where is dbminit? Kevin
2005-04-30 0:22 99% ` Georgi Georgiev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox