Operating System - HP-UX
1846992 Members
3529 Online
110257 Solutions
New Discussion

PHP with APACHE on 11.23 LR problem

 
visolve_itrc
Occasional Contributor

PHP with APACHE on 11.23 LR problem


Hello All

I am trying to build PHP 4.3.7 with apache on HP-UX 11.23 LR platform.

I got the following error while compiling PHP source.

/disk1/mathan/php-4.3.7/sapi/apache/sapi_apache.c: In function `apache_php_module_main':
/disk1/mathan/php-4.3.7/sapi/apache/sapi_apache.c:45: error: `NOT_FOUND' undeclared (first use in this function)
/disk1/mathan/php-4.3.7/sapi/apache/sapi_apache.c:45: error: (Each undeclared identifier is reported only once
/disk1/mathan/php-4.3.7/sapi/apache/sapi_apache.c:45: error: for each function it appears in.)
gmake: *** [sapi/apache/sapi_apache.lo] Error 1

build steps:


# export LDFLAGS="-Wl,+nodefaultrpath" (To remove the embadded path)
# ./configure --prefix=/opt/hpws/apache/php --with-apxs=/opt/hpws/apache/bin/apxs --with-mysql=/opt/mysql

sinpet from config log
........
....
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... expr: An integer value was expected. yes
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Caudium support... no
checking for CLI build... yes

........
....
+--------------------------------------------------------------------+
| WARNING: Your /opt/hpws/apache/bin/apxs script is most likely broken.
| |
| Please go read http://www.php.net/faq.build#faq.build.apxs |
| and make the changes described there and try again. |
+--------------------------------------------------------------------+

........
....
Please help me to solve this error.

Thanks,
Mathan