PHP 5.1RC1 on Solaris

php.internals

Uwe Schindler

21 years ago
Hello folks, came back from holidays and started to test RC1 of PHP5.1 on our solaris box, two things: The first: ========== pangaeaw@pans1:~/install/php-5.1.0RC1$ gmake test Build complete. (It is safe to ignore warnings about tempnam and tmpnam). /bin/sh: test: argument expected gmake: [test] Error 1 (ignored) pangaeaw@pans1:~/install/php-5.1.0RC1$ (I think, this is the old problem with Solaris' test, that we fall into every time... :) ) The second: =========== when someone uses "--without-sqlite" it should automatically assume also "--without-pdo-sqlite" Finally: ======== what is the the status of snaps.php.net, which versions get downloaded here at this time? ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany

Wez Furlong

21 years ago
On 8/22/05, Uwe Schindler <thetaphi@php.net> wrote:
> /bin/sh: test: argument expected > gmake: [test] Error 1 (ignored) > pangaeaw@pans1:~/install/php-5.1.0RC1$ > > (I think, this is the old problem with Solaris' test, that we fall > into every time... :) )
Changing a "test -e" to a "test -f" fixed this kind of problem for me when I was hacking on the dtrace stuff at oscon.
> when someone uses "--without-sqlite" it should automatically assume > also "--without-pdo-sqlite"
No, because sqlite != pdo_sqlite; they use different versions of the sqlite libraries, and it is perfectly valid to want to exclude sqlite (version 2) but include pdo_sqlite (version 3). In fact, I'm building a package that does just that right now. --Wez.

Uwe Schindler

21 years ago
At 21:07 22.08.2005, Wez Furlong wrote:
>On 8/22/05, Uwe Schindler <thetaphi@php.net> wrote: > > /bin/sh: test: argument expected > > gmake: [test] Error 1 (ignored) > > pangaeaw@pans1:~/install/php-5.1.0RC1$ > > > > (I think, this is the old problem with Solaris' test, that we fall > > into every time... :) ) > >Changing a "test -e" to a "test -f" fixed this kind of problem for me >when I was hacking on the dtrace stuff at oscon.
This error is stille there. Should I commit a patch for the makefile to use "test -f" or has this any implications for other architectures? A second error is in the configure script (which does not crash). When checking for the first time for "bison" it prints out a lot of garbage (env variables,... about 200 lines) finally saying that bison is missing (which is correct). Should I sent the garbage? ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany