Listeros -
Efforts to build php and php-cgi executables under Solaris 8 and AIX 5.3
from php-5.2.0 source fail although in each case compilation
successfully produces libphp5.so and libphp5.a. Normally we enable a
large list of components, including freetype2, xml and xslt without
error. However, builds of both the CLI version (php) and the CGI
version (php-cgi) never complete, though according to the configure
script the latter normally will be generated by default.
On LINUX, we have no problems. Both php and php-cgi are compiled and
properly placed in /usr/local/bin by "make install." Here's a test
"configure" use used on AIX 5.3. Scripts for Solaris 8 and Fedora6
differ only in the environment variable specs and compilers. In each
case we use the compiler native to the OS, /opt/SUNWspro/bin/cc for
Solaris and /usr/bin/gcc for Fedora6
export CC="/usr/bin/cc"
export CXX="/usr/bin/xlC"
export CFLAGS="-qarch=com -qnolm -qcpluscmt"
../configure --enable-discard-path --enable-fastcgi
Using this script under AIX object code is produced, but not linked.
Shells we have examined under AIX include sh, ksh, and bash. The results
have been the same. Under Solaris, both bs and ksh have been examined.
As pointed out above, the ONLY problems experienced has been the failure
to build both php and php-cgi. I suspect that the configure script
delivered with the source is seriously deficient.
Can anyone provide some insight into this?
Thanks,
Joseph Burch
ITC-Unix Systems
University of Virginia
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]