ID: 15474
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: HPUX 11.11 UNIX System
PHP Version: 4.0.6
New Comment:
Now I already install
- gcc 3.0.1 in /opt/gcc
- binson 1.29 in /opt/bison
- flex 2.5.4 in /usr/local/bin
- binutils 2.11.2 in /opt/binutils
and
# export PATH;
PATH=$PATH:/opt/gcc/bin:/opt/bison/bin:/opt/binutils:/usr/local/bin
Config PHP with apache 1.3.19
# ./configure --with-oci8=/opt/oracle --with-apache=../apache_1.3.19
--enable-track-vars
is pass....
# make
was error, the error mesasge was following..
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_language_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_ini_scanner.c
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o
libZend_c.la zend_language_scanner.lo zend_ini_scanner.lo
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_ini_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_alloc.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_compile.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_constants.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -c
./zend_execute.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_execute_API.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_highlight.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_llist.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_opcode.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_operators.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_ptr_stack.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_stack.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_variables.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_API.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_extensions.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_hash.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_list.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_indent.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_builtin_functions.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_sprintf.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
zend_ini.c
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o
libZend.la -lpam -l:libdld.sl -l:libnss_dns.1 -l:librt.sl -l:libcl.a
-lcrypt -lm -lnsl -lclntsh zend_language_parser.lo zend_ini_parser.lo
zend_alloc.lo zend_compile.lo zend_constants.lo zend_dynamic_array.lo
zend_execute.lo zend_execute_API.lo zend_highlight.lo zend_llist.lo
zend_opcode.lo zend_operators.lo zend_ptr_stack.lo zend_stack.lo
zend_variables.lo zend.lo zend_API.lo zend_extensions.lo zend_hash.lo
zend_list.lo zend_indent.lo zend_builtin_functions.lo zend_sprintf.lo
zend_ini.lo libZend_c.la
Making all in main
gcc -I. -I/opt/anan/software/php-4.0.6/main
-I/opt/anan/software/php-4.0.6/main -I/opt/anan/software/php-4.0.6
-I/opt/anan/software/apache_1.3.19/src/include
-I/opt/anan/software/apache_1.3.19/src/os/unix
-I/opt/anan/software/php-4.0.6/Zend
-I/opt/anan/software/php-4.0.6/ext/mysql/libmysql
-I/opt/oracle/rdbms/public -I/opt/oracle/rdbms/demo
-I/opt/oracle/network/public
-I/opt/anan/software/php-4.0.6/ext/xml/expat/xmltok
-I/opt/anan/software/php-4.0.6/ext/xml/expat/xmlparse
-I/opt/anan/software/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21
-g -O2 -c main.c && touch main.lo
In file included from php_network.h:37,
from
/opt/anan/software/php-4.0.6/ext/standard/fsock.h:32,
from
/opt/anan/software/php-4.0.6/ext/standard/php_standard.h:43,
from main.c:52:
/usr/include/sys/socket.h:193: conflicting types for `socklen_t'
php.h:111: previous declaration of `socklen_t'
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:439: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:441: parse error before "bsize_t"
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Previous Comments:
------------------------------------------------------------------------
[2002-02-09 17:26:34] [EMAIL PROTECTED]
Seems that you haven't read
http://www.php.net/manual/en/install.hpux.php
5. You now need flex, you need to download the source from
one of the http://www.gnu.org mirrors. It is in the
non-gnu directory of the ftp site.
Download the file, gunzip, then tar -xvf it. Go into the
newly created flex directory and do a ./configure, then a
make, and then a make install.
------------------------------------------------------------------------
[2002-02-09 17:19:12] [EMAIL PROTECTED]
what flex?
------------------------------------------------------------------------
[2002-02-09 17:17:47] [EMAIL PROTECTED]
Is flex already installed?!
Georg
------------------------------------------------------------------------
[2002-02-09 16:58:49] [EMAIL PROTECTED]
I try to configure the php-4.0.6 on HPUX 11.11 system with apache
1.3.19, but it show this error message as following....
# ./configure --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.19 --enable-track-vars
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... hppa2.0w-hp-hpux11.11
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the
PHP parsers.
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... yes
checking lex output file root... ./configure[2343]: lex: not found.
configure: error: cannot find output from lex; giving up
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15474&edit=1