LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Issues when compiling PHP4 with LSAPI

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2007, 10:37 AM
reshu1596 reshu1596 is offline
Member
 
Join Date: Feb 2007
Posts: 22
Default 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
Forcing buildconf
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'


Any ideas?
Thanks
Ravi
Reply With Quote
  #2  
Old 02-06-2007, 11:21 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
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.
Reply With Quote
  #3  
Old 02-06-2007, 11:28 AM
reshu1596 reshu1596 is offline
Member
 
Join Date: Feb 2007
Posts: 22
Quote:
Originally Posted by xing View Post
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 am following the exact steps outlined in the wiki.
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

Thanks
Ravi
Reply With Quote
  #4  
Old 02-06-2007, 11:32 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Ravi,

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.
Reply With Quote
  #5  
Old 02-06-2007, 11:33 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Are you using Sun 'make' under solaris? You need to install GNU make.
Reply With Quote
  #6  
Old 02-06-2007, 11:48 AM
reshu1596 reshu1596 is offline
Member
 
Join Date: Feb 2007
Posts: 22
Quote:
Originally Posted by mistwang View Post
Are you using Sun 'make' under solaris? You need to install GNU make.
Found the problem...just installed GNU make and GNU m4. It works now. Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:04 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.