Gentoo Archives: gentoo-user

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

Replies

Subject Author
RE: [gentoo-user] build failed for dev-php/php-4.4.0-r1 Faron Dutton <fdutton@×××××××××.net>