Solaris 10/Apache/PHP compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Compiling PHP on Apache/2.2.11.

Have EXTRACFLAGS=-fPIC in env.

Here's my configure:

./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/ php/lib --with-libxml-dir=/usr/local --with-zlib=/usr/local --with-xpm- dir=/usr/local --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/ mysql/bin/mysql_config --with-apxs2=/usr/local/apache2/bin/apxs -- without-pgsql --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/ local/lib --with-gd=/usr/local --enable-mbstring --enable-exif -- enable-force-cgi-redirect --enable-sockets --with-png-dir=/usr/local/ lib --with-curl=/usr/local --with-ldap=/usr/local --with-openssl=/usr/ local/ssl --with-gettext --with-pcre-dir=/usr/local --with-freetype- dir=/usr/local --with-mssql=/usr/local/freetds --with-mcrypt=/usr/ local/bin/mcrypt

The make process worked fine, but I got this after make test:

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
output buffering - fatalism [tests/output/ob_011.phpt]
ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush() [tests/output/ob_start_basic_unerasable_005.phpt] SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store. [ext/spl/tests/ arrayObject_exchangeArray_basic3.phpt]
=====================================================================

You may have found a problem in PHP.
We would like to send this report automatically to the
PHP QA team, to give us a better understanding of how
the test cases are doing. If you don't want to send it
immediately, you can choose "s" to save the report to
a file that you can send us later.
Do you want to send this report now? [Yns]: Y

Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): alexm@xxxxxxxxx
sh: autoconf: not found
sh: /usr/local/bin/libtool: not found
sh: bison: not found

Posting to qa.php.net /buildtest-process.php

Thank you for helping to make PHP better.



So, I tried make install:


[root@comm-db-1 php-5.2.17]# make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/ build/libtool' libphp5.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/ local/apache2/modules/ /usr/local/apache2/build/libtool: line 391: /usr/local/bin/sed: No such file or directory /usr/local/apache2/build/libtool: line 790: /usr/local/bin/sed: No such file or directory
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
/usr/local/apache2/build/libtool: line 6184: /usr/local/bin/sed: No such file or directory /usr/local/apache2/build/libtool: line 6267: /usr/local/bin/sed: No such file or directory /usr/local/apache2/build/libtool: line 6275: /usr/local/bin/sed: No such file or directory /usr/local/apache2/build/libtool: line 6277: /usr/local/bin/sed: No such file or directory
: install: `.' must be an absolute directory name
Try ` --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
.
*** Error code 1
The following command caused the error:
/usr/local/source/php-5.2.17/build/shtool mkdir -p '/usr/local/apache2/ modules' && /usr/local/source/php-5.2.17/build/shtool mkdir -p '/usr/ local/apache2/conf' && /usr/local/apache2/bin/apxs -S LIBEXECDIR='/usr/ local/apache2/modules' -S SYSCONFDIR='/usr/local/apache2/conf' -i -a - n php5 libphp5.la
make: Fatal error: Command failed for target `install-sapi'


Any ideas anyone? I have looked all over the web for this solution... I've found lots of examples of it, but no solutions anywhere.

TIA



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux