Bug #15461 Updated: configure fails for extension samples

From: Date: Tue, 18 Jun 2002 10:17:47 +0000
Subject: Bug #15461 Updated: configure fails for extension samples
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-11105@lists.php.net to get a copy of this message
ID: 15461 Updated by: derick@php.net Reported By: hz11@nyu.edu Status: Open -Bug Type: Compile Failure +Bug Type: Documentation problem Operating System: RedHat 6.2 and FreeBSD PHP Version: 4.1.1 New Comment: Zend documentaton is outdated. Previous Comments: ------------------------------------------------------------------------ [2002-02-09 01:04:59] hz11@nyu.edu I've downloaded the Zend API code samples from http://www.zend.com/apidoc/examples.tar.gz. Untarred them and placed the first_module/ directory in ext/. Then I delete the existing ./configure and run ./buildconf. ./buildconf runs fine and --enable-first_module shows up in ./configure --help. I then run ./configure --enable-first_module which starts ok. But in a 4.1.1 source tree it dies with: Configuring extensions checking if the location of ZLIB install directory is defined... no checking whether to include ZLIB support... no : command not found checking BOOK: whether to enable the array experiments... no : command not found : command not found ./configure: ./configure: line 65325: syntax error: unexpected end of file and in a 4.0.6 source tree: checking whether to enable the bundled filePro support... no : command not found checking BOOK: whether to enable the first module... yes : command not found : command not found ./configure: ./configure: line 56828: syntax error: unexpected end of file The previous is run on a Redhat 6.2 box, where php-4.0.6 runs fine normally. I've tried the above on FreeBSD 4.1.1-STABLE box and 4.1.1 source, however ./configure --enable-first_module dies with: Configuring extensions checking if the location of ZLIB install directory is defined... no checking whether to include ZLIB support... no : not found checking BOOK: whether to enable the array experiments... no : not found : not found ./configure: 65312: Syntax error: end of file unexpected (expecting "then") Am I missing something or is this a bug? Thank you, Hans ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15461&edit=1

« previous php.bugs (#11105) next »