1 |
maillog: 29/04/2005-17:05:16(-0400): Kevin types |
2 |
> Hi Devs- |
3 |
> |
4 |
> Sorry if it's OT, but nobody in -user seems to have a clue on this one. |
5 |
> |
6 |
> I'm trying to build mod_php-5.0.4 with an ebuild script that is a |
7 |
> renamed copy of the one in portage for version 5.0.3-r2. I've got it in |
8 |
> my portage overlay and I've adjusted the patch files and so forth to get |
9 |
> it working. As far as the ebuild goes, I'm pretty sure everything is |
10 |
> fine. Anyway, the same thing happens with unmodified 5.0.3-r2 from |
11 |
> portage so it's definitely not my ebuild that is the problem. |
12 |
> |
13 |
> The trouble is, in building, the configure script fails at: |
14 |
> |
15 |
> checking whether to enable DBA... yes |
16 |
> checking for QDBM support... no |
17 |
> checking for gdbm_open in -lgdbm... yes |
18 |
> checking for GDBM support... yes |
19 |
> checking for NDBM support... no |
20 |
> checking for db4 minor version and patch level... ok |
21 |
> checking for Berkeley DB4 support... yes |
22 |
> checking for Berkeley DB3 support... no |
23 |
> checking for Berkeley DB2 support... no |
24 |
> checking for dbminit in -ldbm... no |
25 |
> checking for dbminit in -lc... no |
26 |
> checking for dbminit in -lgdbm... no |
27 |
> configure: error: DBA: Could not find necessary library. |
28 |
> |
29 |
> !!! Please attach the config.log to your bug report: |
30 |
> !!! /var/tmp/portage/mod_php-5.0.4/work/php-5.0.4/config.log |
31 |
> (pertinent lines from this file included below) |
32 |
|
33 |
I solved this locally like this: |
34 |
|
35 |
--- /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild 2005-03-14 07:19:13.000000000 +0900 |
36 |
+++ /usr/portage-chutz/dev-php/mod_php/mod_php-5.0.3-r2.ebuild 2005-03-20 18:31:17.000000000 +0900 |
37 |
@@ -54,6 +54,7 @@ |
38 |
WANT_AUTOCONF=2.5 \ |
39 |
autoconf -W no-cross || die "Unable to regenerate configure script" |
40 |
fi |
41 |
+ sed -i -e 's!for LIB in dbm c gdbm!for LIB in dbm c gdbm gdbm_compat!' ${S}/configure |
42 |
} |
43 |
|
44 |
src_compile() { |
45 |
|
46 |
Haven't tried 5.0.4 though. |
47 |
|
48 |
-- |
49 |
) Georgi Georgiev ) "This is an outrage! I demand to know what ) |
50 |
( chutz@×××.net ( happened to the plucky lawyer and her ( |
51 |
) +81(90)2877-8845 ) compellingly short garments." -alien ) |
52 |
-- |
53 |
gentoo-dev@g.o mailing list |