Gentoo Archives: gentoo-dev

From: Ryan Phillips <rphillips@g.o>
To: gentoo-dev@g.o
Cc: stephane@×××××××××.com
Subject: Re: [gentoo-dev] PHP 4.1.2
Date: Sun, 28 Apr 2002 18:20:03
Message-Id: 20020428144930.6dd27cdd.rphillips@gentoo.org
In Reply to: [gentoo-dev] PHP 4.1.2 by Stephane Dudzinski
1 On 28 Apr 2002 13:20:46 +0100
2 "Stephane Dudzinski" <stephane@×××××××××.com> wrote:
3
4 > Hello, i emerged php 4.1.2 the other day and got a look at it only
5 > yesterday. It was failing saying that java could not be found.
6 >
7 > emerge decided i also needed blackdown's jdk 1.3.1, so it carried on
8 > downloading and installing it.
9 >
10 > Still, no java found. Looked in the ebuild script and realised that two
11 > variables weren't passed : JDK_HOME and JAVAC, i then did set those
12 > properly and php compiled and worked alright.
13 >
14
15 It really isn't a bug... Upon installation of java one has to configure it by
16 running java-config, then source /etc/profile (or logout, then login again). Then
17 the environmental variables should be set.
18
19 -ryan