Gentoo Archives: gentoo-user

From: Faron Dutton <fdutton@×××××××××.net>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] build failed for dev-php/php-4.4.0-r1
Date: Sat, 29 Oct 2005 16:52:50
Message-Id: 002c01c5dca7$377571a0$1101a8c0@duttons.org
In Reply to: Re: [gentoo-user] build failed for dev-php/php-4.4.0-r1 by Holly Bostick
1 Since PHP is not yet installed then where would I find the php.ini file?
2
3 > -----Original Message-----
4 > From: Holly Bostick [mailto:motub@××××××.nl]
5 > Sent: Saturday, October 29, 2005 12:27 PM
6 > To: gentoo-user@l.g.o
7 > Subject: Re: [gentoo-user] build failed for dev-php/php-4.4.0-r1
8 >
9 >
10 > Faron Dutton schreef:
11 > > Can anyone point me to a debug strategy for the following:
12 > >
13 > > Build complete. (It is safe to ignore warnings about tempnam and
14 > > tmpnam).
15 > >
16 > >>>> Test phase [not enabled]: dev-php/php-4.4.0-r1
17 > >
18 > <snip>
19 > > Wrote PEAR system config file at:
20 > > /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf You may want to
21 > > add: /usr/lib/php to your php.ini include_path make[1]: ***
22 > > [install-pear-packages] Illegal instruction make: *** [install-pear]
23 > > Error 2
24 > >
25 > > !!! ERROR: dev-php/php-4.4.0-r1 failed. !!! Function
26 > > php-sapi_src_install, Line 549, Exitcode 2 !!! (no error
27 > message) !!!
28 > > If you need support, post the topmost build error, NOT this status
29 > > message.
30 > >
31 > > I'm new to Gentoo and have no idea where to start. I do find the
32 > > message "Wrote PEAR system config file at:
33 > > /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf" odd though.
34 > >
35 > > Faron.
36 > >
37 >
38 > The wonderful thing about Gentoo is that you don't *have* to
39 > know where
40 > to start, because Gentoo will tell you.
41 >
42 > It's in the error message:
43 >
44 > > You may want to add: /usr/lib/php to your php.ini include_path
45 >
46 > I would try this first, and if it didn't work, I would then
47 > check b.g.o
48 > (bugs.gentoo.org) for a relevant bug (try php-4.4.0, or ALL php), and
49 > see if this is a known problem that has a known solution. I might also
50 > check the USE flags that I was compiling php with (emerge -pv php) to
51 > see if there was something I had forgotten to include/enable
52 > that might
53 > be the cause of this.
54 >
55 > There's nothing really weird about this message, though
56 >
57 > > "Wrote PEAR system config file at:
58 > > /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf" odd though.
59 >
60 > It's just likely badly phrased. It looks like it says that Portage
61 > copied the config file from its temp work area to /etc/, but
62 > I could be
63 > wrong.
64 >
65 > Holly
66 > --
67 > gentoo-user@g.o mailing list
68 >
69
70
71 --
72 gentoo-user@g.o mailing list