php 4.0.6 on HP-UX 11.00: installation problem
| From: | Giovanni Armanino | Date: | Fri, 03 Aug 2001 12:16:14 +0000 |
| Subject: | php 4.0.6 on HP-UX 11.00: installation problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3817@lists.php.net to get a copy of this message | ||
Hi all,
I'm trying to install php 4.0.6 on HP-UX 11.00 PA-RISC
with Informix support and with NSAPI (i need to use php
with iplanet 4.1).
I've tried with gcc version 2.95.2, and the following configure options:
./configure --with-informix=/opt/informix --with-nsapi=/opt/netscape/server4/ --
enable-track-vars --enable-libgcc --enable-shared --with-system-regex
obtaining the following result during compilation:
/usr/local/src/php-4.0.6 # make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../main
-D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -c
zend_language_scanner_cc.cc
In file included from /usr/include/unistd.h:11,
from zend_language_scanner_cc.cc:2691:
/usr/include/sys/unistd.h:188: declaration of C function `int pthread_atfork(void (*)(...), void
(*)(...), void (*)(...))' conflicts with
/usr/include/sys/pthread.h:440: previous declaration `int pthread_atfork(void (*)(), void (*)(),
void (*)())' here
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I've also tried with bundled C/ANSI and aCC from HP, with this result:
./configure --with-informix=/opt/informix --with-nsapi=/opt/netscape/server4/ --
enable-track-vars --enable-shared --with-system-regex
/usr/local/src/php-4.0.6 # make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile aCC -DHAVE_CONFIG_H -I. -I. -I../main
-D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -c
zend_language_scanner_cc.cc
Error 419: "zend_istdiostream.h", line 8 # 'stdiobuf' is used as a type, but
has not been defined as a type.
stdiobuf _file;
^^^^^^^^
Error 419: "zend_istdiostream.h", line 11 # 'stdiobuf' is used as a type, but
has not been defined as a type.
stdiobuf* rdbuf()/* const */ { return &_file; }
^^^^^^^^
Error 212: "zend_istdiostream.h", line 10 # Argument type 'int *' does not
match expected parameter type 'streambuf *'.
istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); }
^
Error 440: "zend_istdiostream.h", line 10 # Cannot initialize 'int' with
'FILE
*'.
istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); }
^^^
Error 185: "zend_language_scanner_cc.cc", line 2823 # Left side of '->'
requires a pointer to class; type found was 'int'.
fclose(pstdiostream->rdbuf()->stdiofile());
^^^^^^^^^^^^^^^^^^^^^
Warning 829: "zend_language_scanner_cc.cc", line 4056 # Implicit conversion of
string literal to 'char *' is deprecated.
filename = "";
^^^^^^^^^^^^^
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
---
any ideas?
any suggestions/experiences on how to compile php4.x on hp-ux 11?
many thanks in advance,
giovanni
--
-- Giovanni Armanino --------------------------------------------------------
Regione Toscana E-mail: g.armanino@regione.toscana.it
Dip. Organizzazione Tel: +39 055 438 5122 - Fax: +39 055 438 3056
Servizio Infrastrutture Informative e Tecnologiche Regionali
Via di Novoli, 26 - 50127 Firenze (Italy)