HPUX 11.11 (64 bit)
Mysql 4.0.13
apache 1.3.27 as DSO module

If I try with Apache 1.3.27, I am getting this message while on make.  I
used both gmake and HP make, same error

/bin/sh
/home/madhu/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compil

e
gcc -Iext/mysql/ -I/home/madhu/php-4.3.2/ext/mysql/ -DPHP_ATOM_INC -I/home/m
a

dhu/php-4.3.2/include -I/home/madhu/php-4.3.2/main -I/home/madhu/php-4.3.2 -
I/ho

me/madhu/php-4.3.2/Zend -I/usr/local/mysql/include -I/home/madhu/php-4.3.2/e
xt/x

ml/expat -I/home/madhu/php-4.3.2/TSRM -fomit-frame-pointer -O3 -fpic -prefer
-

pic -c /home/madhu/php-4.3.2/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo

In file included from /usr/include/netdb.h:69,

from /home/madhu/php-4.3.2/ext/mysql/php_mysql.c:52:

/usr/include/sys/socket.h:199: conflicting types for `socklen_t'

/home/madhu/php-4.3.2/main/php.h:139: previous declaration of `socklen_t'

/usr/include/sys/socket.h:484: syntax error before "sendfile"

/usr/include/sys/socket.h:485: syntax error before "bsize_t"

/usr/include/sys/socket.h:486: syntax error before "sendpath"

/usr/include/sys/socket.h:487: syntax error before "bsize_t"

gmake: *** [ext/mysql/php_mysql.lo] Error 1

Any tips?




"Madhu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
> HP 11.11 (64 bit)
> Mysql 4.0.13 (32 bit)
>
> Has any one succesfully compiled PHP with Apache 2 with Mysql 4 support
for
> HP UX 11.11 ?
>
> Since HP stopped supported Apache 1.3.x and started branding Apache 2 as
HP
> Webserver, I am trying to compile PHP with mysql support
>
> First of all, when I try option with-apxs2 , it is complaining that it is
> Apache 1.3 and not 2
> But if I type httpd -v
> The output is
> Server Version: HP-UX_Apache-based_Web_Server/2.0.45
>
> and httpd -l output is
> Compiled in modules:
> core.c
> worker.c
> http_core.c
> mod_so.c
>
> I saw a posting from Jim Thome saying that Don't use HPUX Apache 2.0. Is
it
> from personal experience or from the fact that it is experimental ?
> Is someone successful in compiling PHP with Apache 1.3 xx with latest
mysql
> in DSO mode?
>
> Any tips ?
> Thanks in advance
> Madhu
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to