|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
apache, php4.0.6, informix7.2
HELP! HELP!
Hi there, Installed php4 with informix support successfully on Solaris 7. When I try to build apache with informix support, that is after successfully executing the command: ./configure --prefix=/path to apache_1.3.20 --activate-module=/src/modules/php4/libphp4.a and then runnig command: $make The following errors were returned: Undefined symbol ASF_Call in file INFORMIXDIR/..../esql/libsql.a(iqconnct.o) ASF_SigSwitch in file INFORMIXDIR/..../esql/libsql.a(iqconnct.o) Thanks in advance! |
|
#2
|
|||
|
|||
|
>> Installed php4 with informix support successfully on Solaris 7
What did you do? How can you tell? |
|
#3
|
|||
|
|||
|
Hi,
I assumed it was successful because the commands seem to have executed without errors, that is, execution did not hault and I did not see any error messages. (if there were errors that would deny php compilation with informix support however, I might not be able to see them because of the speed of screen scroll and the volume of messages). I thought such errors would have haulted the process incidentally. [I'm using informix 7.24 on solaris2.7] Here are the commands I executed in the same order to extract the files and compile php: 1) gzip -drv php-4_0_6.tar.tar.gz 2) tar xvf php-4_0_6_tar.tar 3) cd php-4.0.6 4) ./configure --with-informix=yes --with-apache=/apache_1.3.20 --enable-track-vars 5) make 6) make install Thanks in advance. |
|
#4
|
|||
|
|||
|
>> I thought such errors would have haulted the process incidentally
Compiling PHP won't throw you any error unless it's a fatal error. Normally, if you try to enable something but PHP configure script is unable to locate, it just ignore it. Check the configure script in the top directory of your source, you should see the following at line 528 and 529: --with-informix[=DIR] Include Informix support. DIR is the Informix base install directory, defaults to ${INFORMIXDIR:-nothing}." That said, --with-informix=yes was incorrect. Normally, specifying --with-informix should do just fine. On Linux and Solaris, however, they don't have the tendency to follow the UNIX standard directory layout (*BSDs always do), so you almost always have to specify the exact install directory path. Last edited by freebsd : August 7th, 2001 at 10:47 PM. |
|
#5
|
|||
|
|||
|
Hi,
yes: --with-informix[=DIR] Include Informix support. DIR is the Informix base install directory, defaults to ${INFORMIXDIR:-nothing}." exist in the configuration file: configure Is there anything else I should check for? Please, ask as many questions as possible as it will only help me understand the procedures better. Thanks in advance! |
|
#6
|
||||
|
||||
|
I have run into this problem many times attempting to get Apache 1.3.20 + PHP 4.0.6 + MySQL and I think I have it down to an art after several days of mucking it up :-)
Here's my install procedure (this assumes that you have your tarballs all in one directory): # tar xzvf apache-1.3.20.tar.gz # tar xzvf php-4.0.6.tar.gz # cd apache-1.3.20 # ./configure --prefix=/usr/local/apache # cd ../php-4.0.6 # ./configure --with-mysql --with-apache=../apache-1.3.20 # make # make install # cd ../apache-1.3.20 # ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=so # cd src/modules/php4 # make # cd ../../.. # make # make install Comments on above: > the --enable-module=so enables DSO > the make in src/modules/php4 was absolutely CRITICAL to apache's make finishing without tons of errors. The place it broke was in php's enabling mysql support, and without this make, the libphp4.a module was never created properly. This step is NOT documented anywhere on php.net AFAIK (and I LOOKED. :-) Hope this helps!! # Nathan |
|
#7
|
|||
|
|||
|
>> This step is NOT documented anywhere on php.net AFAIK (and I LOOKED. :-)
That's well documented everywhere. >> # ./configure --with-mysql --with-apache=../apache-1.3.20 On any BSD system, you just need --with-mysql just because *BSDs always have a consistent file system layout. On Linux and Solaris, you almost always 99.99% have to specify the directory path where your mysql was installed to, just because files and directories are all over the places (not consistent) in Linux and Solaris. |
|
#8
|
||||
|
||||
|
I'm confused (big surprise there)... I was referring to having to make the php module before apache will successfully make... you seem to be talking about the configure line. I know the configure is supposed to make the libphp4.a file but in at least a dozen configs it has never worked for me following the instructions on php.net.
I have tried both --with-mysql and --with-mysql=/path-to/mysql in my configure lines and neither worked without the make in the php4 modules directory. Hope that makes more sense? # Nathan |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > apache, php4.0.6, informix7.2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|