PHP Test results
| From: | noreply@php.net | Date: | Sat, 12 Oct 2002 15:38:42 +0000 |
| Subject: | PHP Test results | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-6133@lists.php.net to get a copy of this message | ||
array (
'user_name' => 'Ken Zalewski',
'email' => 'kennyz@nycap.rr.com',
'package' => '4.3.0-pre1',
'status' => 'Minor Problems',
'os' => 'Linux i386',
'os-extra' => '2.4.19',
'sapi' => 'Apache 2.x DSO',
'automake' => '1.4',
'autoconf' => '2.5.2',
'libtool' => '1.3.5',
'bison' => '1.28',
'bz2' => 'on',
'calendar' => 'on',
'ctype' => 'on',
'domxml' => 'on',
'ftp' => 'on',
'gettext' => 'on',
'interbase' => 'on',
'java' => 'on',
'mbstring' => 'on',
'mysql' => 'on',
'openssl' => 'on',
'overload' => 'on',
'pcre' => 'on',
'pgsql' => 'on',
'posix' => 'on',
'qtdom' => 'on',
'session' => 'on',
'sockets' => 'on',
'tokenizer' => 'on',
'xml' => 'on',
'zlib' => 'on',
'testframework' => 'I am reporting a problem in ./configure, not in testing the
actual compiled software.',
'applications' => '',
'problems' => 'In the ./configure script, when using --with-java, there is a
problem with the search for \\"libjava\\". The configure script mistakenly assumes that
the rt.jar and libjava.so files will be in $PHP_JAVA/lib. However, $PHP_JAVA references the home of
the JDK, so that $PHP_JAVA/bin contains \\"javac\\" and \\"jar\\". On Linux at
least, the actual rt.jar and libjava.so are in the \\"jre/lib\\" subdirectory, which is
$PHP_JAVA/jre/lib. The JDK lib directory, $PHP_JAVA/lib, does not contain anything useful for PHP
purposes.
Previous versions of the PHP configure script were able to still find rt.jar and libjava.so, because
they use a \\"find\\" command, which looked like this:
find $PHP_JAVA/. -type d
In the php-4.3.0pre1 release, this command was subtlely changed to:
find $PHP_JAVA -type d
This creates a problem on systems where $PHP_JAVA (which might be something like /usr/local/j2sdk)
is actually a symbolic link to the current JDK version (which might be /usr/local/j2sdk-1.4.0_02).
Using \\"find $PHP_JAVA/.\\" traverses over the symbolic link, while \\"find
$PHP_JAVA\\" does not.
Summary:
Change the \\"find\\" command back to the way it was previously:
On line 36923 of the configure script, change:
find $PHP_JAVA -type d
to be:
find $PHP_JAVA/. -type d
and libjava will be found properly.
',
'bugids' => '',
'remarks' => '',
)