Issues when compiling PHP4 with LSAPI
Hi: I am trying to add support for oracle. When I try to compile (http://www.litespeedtech.com/support...iki:php:lsapi), I am having trouble running buildconf (Step 4).
bash-2.05$ ./buildconf --force
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.60 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
make: Fatal error in reader: build/build2.mk, line 31: Badly formed macro assignment
Current working directory /export/home/rawlog/php-5.1.4
*** Error code 1
The following command caused the error:
make -s -f build/build2.mk
make: Fatal error: Command failed for target `all'
What platform are you on?
Make sure you are using a clean version of PHP source. Do not use a php source directory that you have done previous compilations in to avoid any kind of problems.
It looks a problem on your end as the error doesn't touch our code.
I downloaded and untarred php-5.1.4.tar.gz using -> wget http://us3.php.net/get/php-5.1.4.tar...php.net/mirror. Then downloaded php-litespeed-2.4.tar to $HOME/php-5.1.4/sapi/.
The litespeed application is in $HOME/lsws
What I meant was there is a problem with the compiler tools on your system. The error is happening to a source code that is part of the PHP package, not LiteSpeed.
Our wiki is designed to work on almost all unix based systems but we cannot control the version of tools used on different oses. Some os distributions contains too "new" or too "old" compiler tools that break the process.
Try to compile something with your PHP code, minus LiteSpeed module and see if that works.
Just do "../configure" and "make all". See if those 2 work.
Are you using Sun 'make' under solaris? You need to install GNU make.
|All times are GMT -7. The time now is 08:06 AM.|