Re: [PHP4BETA] Build broken on fbsd

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] Build broken on fbsd
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8564@lists.php.net to get a copy of this message
> From configure, around line 5421 where the error happens. If > you did not use --with-apache, the -rdynamic check is not > executed at all.. Something earlier must be confusing it there. The configure code is: echo $ac_n "checking for mod_charset compatibility option""... $ac_c" 1>&6 echo "configure:5388: checking for mod_charset compatibility option" >&5 # Check whether --with-mod_charset or --without-mod_charset was given. if test "${with_mod_charset+set}" = set; then withval="$with_mod_charset" echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define USE_TRANSFER_TABLES 1 EOF else echo "$ac_t""no" 1>&6 fi if test "$with_regex" = "apache" && test -z "$APACHE_HAS_REGEX"; then with_regex=php fi if test -z "$with_regex" && test -n "$APACHE_HAS_REGEX"; then with_regex=apache fi if test -n "$APACHE_MODULE"; then if test "$with_regex" = "apache"; then APACHE_WANT_HSREGEX=yes else APACHE_WANT_HSREGEX=no fi if test -n "$GCC"; then <=== 5421 TSRM_CHECK_GCC_ARG(-rdynamic, gcc_rdynamic) if test "$gcc_rdynamic" = "yes"; then PHP_LDFLAGS="$PHP_LDFLAGS -rdynamic" fi fi if test -d "$cwd/$srcdir/ext/apache" ; then EXT_SUBDIRS="$EXT_SUBDIRS apache" if test "" != "shared" -a "" != "yes"; then _extlib="libphpext_apache.a" EXT_LTLIBS="$EXT_LTLIBS ext/apache/libphpext_apache.la" EXT_LIBS="$EXT_LIBS apache/$_extlib" EXT_STATIC="$EXT_STATIC apache" else cat >> confdefs.h <<EOF #define COMPILE_DL_echo apache|tr a-z A-Z 1 EOF EXT_SHARED="$EXT_SHARED apache" fi PHP_OUTPUT_FILES="$PHP_OUTPUT_FILES ext/apache/Makefile" fi And the configure output again is: ... checking whether to enable magic quotes by default... no checking whether to enable runpaths... yes checking whether to enable short tags by default... yes checking whether to enable the URL-aware fopen wrapper... yes checking whether to enable dmalloc... no checking whether to install PEAR... yes checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... no checking for mod_charset compatibility option... no ./configure: 5421: Syntax error: word unexpected (expecting ")") Looks like sometime after the mod_charset test and before the Apache check something gets confused, but I don't see it. -Rasmus

« previous php.version4 (#8564) next »