#15461 [Opn]: configure fails for extension samples

From: Date: Fri, 13 Dec 2002 17:25:05 +0000
Subject: #15461 [Opn]: configure fails for extension samples
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350289@lists.php.net to get a copy of this message
ID: 15461 Updated by: philip@php.net Reported By: hz11@nyu.edu Status: Open Bug Type: Documentation problem Operating System: RedHat 6.2 and FreeBSD PHP Version: 4.1.1 New Comment: Where did you find that link? I don't see it in the manual. The doc team never touches these docs anyway and it's widely known (by php-dev) that the ZendAPI docs are (or were) out-of-date. They've been updated since this but am leaving open for now. See: http://www.php.net/manual/en/zend.php These docs live in the ZendAPI module in php cvs now, not at Zend.com anymore. See also the various README's in the php4 source, such as: http://cvs.php.net/co.php/php4/README.SELF-CONTAINED-EXTENSIONS Previous Comments: ------------------------------------------------------------------------ [2002-06-18 06:17:46] derick@php.net Zend documentaton is outdated. ------------------------------------------------------------------------ [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.doc (#969350289) next »