php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15461 configure fails for extension samples
Submitted: 2002-02-09 01:04 UTC Modified: 2003-01-17 21:23 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: hz11 at nyu dot edu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: RedHat 6.2 and FreeBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hz11 at nyu dot edu
New email:
PHP Version: OS:

 

 [2002-02-09 01:04 UTC] hz11 at nyu dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 06:17 UTC] derick@php.net
Zend documentaton is outdated.
 [2002-12-13 11:25 UTC] philip@php.net
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
 [2003-01-17 21:23 UTC] philip@php.net
Closing for reasons already mentioned.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 22:01:27 2025 UTC