Bug #15823 Updated: Configure fails (line 3395 unexp. 'fi')
| From: | tlamy at gayforum dot net | Date: | Fri, 12 Apr 2002 12:21:16 +0000 |
| Subject: | Bug #15823 Updated: Configure fails (line 3395 unexp. 'fi') | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4738@lists.php.net to get a copy of this message | ||
ID: 15823
Updated by: tlamy@gayforum.net
Reported By: david@pananix.com
Status: Open
Bug Type: *Configuration Issues
Operating System: Linux-2.4.18
PHP Version: 4.1.2
New Comment:
Guess you are using autoconf 2.5[23]. Here's a small diff, it has
worked for me.
diff -u ../php-4.1.2/configure.in configure.in
--- ../php-4.1.2/configure.in Wed Feb 27 10:06:31 2002
+++ configure.in Fri Apr 12 10:10:57 2002
@@ -122,6 +122,7 @@
AC_PROG_LEX
if test -n "$LEX"; then
AC_DECL_YYTEXT
+ true
fi
dnl ## Make flex scanners use const if they can, even if __STDC__ is
not
@@ -227,7 +228,7 @@
unset ac_cv_func_yp_get_default_domain
AC_CHECK_FUNC(yp_get_default_domain,
- [php_no_nsl_checks=yes],[ ])
+ [php_no_nsl_checks=yes],[])
unset ac_cv_func_yp_get_default_domain
if test "$php_no_nsl_checks" != "yes"; then
Previous Comments:
------------------------------------------------------------------------
[2002-03-01 16:44:20] david@pananix.com
I d/l 4.1.2
ran configure and got an error (line 3395)
rm'd configure and ran buildconf which rebuilt configure
same error:
line 3395: syntax error near unexpected token 'fi'
line 3393 contains an else clause
line 3394 is blank
line 3395 contains fi
If I fix this (comment out else), this same error
occurs 3 more times. Fixing each in turn, configure
finally completes, but does not create a Makefile.
system: LFS-3.2rc1 (Linux From Scratch)
automake-1.5, autoconf-2.52, libtool-1.4.2
Note: php-4.0.6 did not have this problem for me,
but 4.1.0, 4.1.1, and 4.1.2 do. I've avoided upgrading,
but now find I must. 4.0.6 still configs fine.
more info on request -
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15823&edit=1