ID: 20817 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Feedback Bug Type: *Compile Issues Operating System: Solaris 2.8 ( sparc ) PHP Version: 4.3.0RC2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-12-04 16:28:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-04 16:15:34] [EMAIL PROTECTED] running configure as follows hangs checking flex version. Note, flex is not installed on this system: ./configure --prefix=/usr/local/php-3.0RC2 --with-apxs=/usr/local/apache_internal/bin/apxs --with-oci8=/opt/app/oracle/product/8.1.7 --with-zlib checking for working sed... sed checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... yes checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking for bison... no checking for byacc... no configure: WARNING: You will need bison if you want to regenerate the PHP parsers. checking for flex... no checking for lex... lex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking flex version... lex: Software Generation Utilities (SGU) Solaris-ELF (4.0) Exiting ( Control-C ) continues with the following output: ^CAWK=nawk BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="03" [2]="0" [3]="1" [4]="release" [5]="sparc-sun-solaris") BASH_VERSION='2.03.0(1)-release' CC=gcc CFLAGS='-g -O2' CONFIGURE_COMMAND=' '\''./configure'\'' '\''--prefix=/usr/local/php-3.0RC2'\'' '\''--with-apxs=/usr/local/apache_internal/bin/apxs'\'' '\''--with-oci8=/opt/app/oracle/product/8.1.7'\'' '\''--with-zlib'\''' CONFIG_SHELL=/bin/bash CONFIG_SITE='/usr/local/php-3.0RC2/share/config.site /usr/local/php-3.0RC2/etc/config.site' CPP='gcc -E' DIRSTACK=() ECHO=echo ECHO_C= ECHO_N=-n ECHO_T= EUID=1800 EXEEXT= EXTRA_VERSION=RC2 GCC=yes GROUPS=() HOME=/home/asautins HOSTNAME=dev450.veripost.net HOSTTYPE=sparc IFS=' ' LANG=C LANGUAGE=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_NUMERIC=C LC_TIME=C LD_LIBRARY_PATH=/usr/lib:/usr/local/lib LEX=lex LEXLIB=-ll LEX_CFLAGS=-DYY_USE_CONST LEX_OUTPUT_ROOT=lex.yy LIBS= LINENO=3791 LN_S='ln -s' LOGNAME=asautins MACHTYPE=sparc-sun-solaris MAIL=/var/mail//asautins MAJOR_VERSION=4 MAKEFLAGS= MANPATH=/usr/share/man:/usr/local/man MFLAGS= MINOR_VERSION=3 OBJEXT=o OPTERR=1 OPTIND=1 OSTYPE=solaris PACKAGE_BUGREPORT= PACKAGE_NAME= PACKAGE_STRING= PACKAGE_TARNAME= PACKAGE_VERSION= PATH=/usr/bin:/usr/sbin:/usr/ucb:/usr/dt/bin:/usr/openwin/bin:/usr/local/bin:/usr/ccs/bin:/sbin:/local/ActiveTcl/bin PATH_SEPARATOR=: PHP_VAR_SUBST=' SED' PHP_VERSION=4.3.0RC2 PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=7071 PS4='+ ' PWD=/home/asautins/webbuild/php-4.3.0RC2 RANDOM=26830 RANLIB=ranlib RELEASE_VERSION=0 SAVE_LIBS= SED=sed SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments:posix SHLVL=2 SSH_CLIENT='10.0.2.64 4558 22' SSH_TTY=/dev/pts/2 SSL_BASE=/usr/local/openssl TERM=vt100 TMPDIR=/tmp TZ=US/Mountain T_MD='' T_ME='' UID=1800 UNAME=SunOS USER=asautins VERSION=4.3.0RC2 YACC=yacc _='checking flex version... ' _count=8 _max=8 _sed=sed abs_builddir=/home/asautins/webbuild/php-4.3.0RC2 abs_srcdir=/home/asautins/webbuild/php-4.3.0RC2 ac_arg= ac_aux_dir=. ac_c_preproc_warn_flag= ac_cache_corrupted=false ac_cc=gcc ac_check_lib_save_LIBS= ac_clean_files= ac_clean_files_save= ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compiler='$CC' ac_compiler_gnu=yes ac_confdir=. ac_config_guess='/bin/bash ./config.guess' ac_config_headers=' main/php_config.h' ac_config_sub='/bin/bash ./config.sub' ac_configure='/bin/bash ./configure' ac_configure_args=''\''--prefix=/usr/local/php-3.0RC2'\'' '\''--with-apxs=/usr/local/apache_internal/bin/apxs'\'' '\''--with-oci8=/opt/app/oracle/product/8.1.7'\'' '\''--with-zlib'\''' ac_cpp='$CPP $CPPFLAGS' ac_cpp_err=yes ac_ct_CC=gcc ac_ct_RANLIB=ranlib ac_cv_build=sparc-sun-solaris2.8 ac_cv_build_alias=sparc-sun-solaris2.8 ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_host=sparc-sun-solaris2.8 ac_cv_host_alias=sparc-sun-solaris2.8 ac_cv_lib_fl_yywrap=no ac_cv_lib_l_yywrap=yes ac_cv_objext=o ac_cv_path_sed=sed ac_cv_prog_AWK=nawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_LEX=lex ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_cc_stdc= ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=no ac_default_prefix=/usr/local ac_dir=. ac_env_CC_set= ac_env_CC_value= ac_env_CFLAGS_set= ac_env_CFLAGS_value= ac_env_CPPFLAGS_set= ac_env_CPPFLAGS_value= ac_env_CPP_set= ac_env_CPP_value= ac_env_CXXCPP_set= ac_env_CXXCPP_value= ac_env_CXXFLAGS_set= ac_env_CXXFLAGS_value= ac_env_CXX_set= ac_env_CXX_value= ac_env_LDFLAGS_set= ac_env_LDFLAGS_value= ac_env_build_alias_set= ac_env_build_alias_value= ac_env_host_alias_set= ac_env_host_alias_value= ac_env_target_alias_set= ac_env_target_alias_value= ac_exec_ext= ac_exeext= ac_ext=c ac_file=conftest.o ac_hostname=dev450.veripost.net ac_includes_default='#include <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #endif #if HAVE_SYS_STAT_H # include <sys/stat.h> #endif #if STDC_HEADERS # include <stdlib.h> # include <stddef.h> #else # if HAVE_STDLIB_H # include <stdlib.h> # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include <memory.h> # endif # include <string.h> #endif #if HAVE_STRINGS_H # include <strings.h> #endif #if HAVE_INTTYPES_H # include <inttypes.h> #else # if HAVE_STDINT_H # include <stdint.h> # endif #endif #if HAVE_UNISTD_H # include <unistd.h> #endif' ac_init_help= ac_init_version=false ac_install_sh='./install-sh -c' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_link_default='$CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_max_here_lines=38 ac_new_set= ac_new_val= ac_objext=o ac_old_set= ac_old_val= ac_optarg=yes ac_option=--with-zlib ac_package=zlib ac_preproc_ok=: ac_prev= ac_prog=lex ac_save_CC=gcc ac_save_CFLAGS= ac_save_LIBS= ac_sep=' ' ac_signal=0 ac_site_file=/usr/local/php-3.0RC2/etc/config.site ac_srcdir_defaulted=yes ac_status=0 ac_test_CFLAGS= ac_tool_prefix= ac_try='test -s conftest.$ac_objext' ac_unique_file=README.CVS-RULES ac_val='${prefix}/man' ac_var=target_alias ac_word=lex arg=--with-zlib as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 as_cr_digits=0123456789 as_cr_letters=abcdefghijklmnopqrstuvwxyz as_dir=/usr/ccs/bin as_executable_p='test -f' as_expr=expr as_lineno_1=306 as_lineno_2=307 as_lineno_3=307 as_ln_s='ln -s' as_me=configure as_nl=' ' as_save_IFS=' ' as_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g' as_tr_sh='sed y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g' as_unset=unset auto_cflags=1 bindir='${exec_prefix}/bin' build=sparc-sun-solaris2.8 build_cpu=sparc build_os=solaris2.8 build_vendor=sun cache_file=/dev/null cmd='sed 50q "$0"' cross_compiling=no cwd=/home/asautins/webbuild/php-4.3.0RC2 datadir='${prefix}/share' echo=echo echo_test_string='#! /bin/sh # Forbidden tokens and exceptions. # Actually reserved by M4sh. # All the M4sugar macros start with `m4_'\'', except `dnl'\'' kept as is # for sake of simplicity. # Check the divert push/pop perfect balance. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it.' echo_testing_string='#! /bin/sh # Forbidden tokens and exceptions. # Actually reserved by M4sh. # All the M4sugar macros start with `m4_'\'', except `dnl'\'' kept as is # for sake of simplicity. # Check the divert push/pop perfect balance. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it.' exec_prefix=NONE host=sparc-sun-solaris2.8 host_cpu=sparc host_os=solaris2.8 host_vendor=sun includedir='${prefix}/include' infodir='${prefix}/info' ld_runpath_switch=-R libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lt_cv_sys_path_separator=: mandir='${prefix}/man' no_create= no_recursion= oldincludedir=/usr/include pattern=define php_abs_top_builddir=/home/asautins/webbuild/php-4.3.0RC2 php_abs_top_srcdir=/home/asautins/webbuild/php-4.3.0RC2 php_cv_cc_dashr=yes php_shtool=./build/shtool prefix=/usr/local/php-3.0RC2 program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' silent= site= srcdir=. subdirs= sysconfdir='${prefix}/etc' target= tmp=/tmp/sed7072-26830 val= var=CXX verbose= with_apxs=/usr/local/apache_internal/bin/apxs with_oci8=/opt/app/oracle/product/8.1.7 with_zlib=yes x_includes=NONE x_libraries=NONE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20817&edit=1
