Bug #15461: configure fails for extension samples
| From: | hz11 at nyu dot edu | Date: | Sat, 09 Feb 2002 06:05:01 +0000 |
| Subject: | Bug #15461: configure fails for extension samples | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79794@lists.php.net to get a copy of this message | ||
From: hz11@nyu.edu
Operating system: RedHat 6.2 and FreeBSD
PHP version: 4.1.1
PHP Bug Type: Compile Failure
Bug description: configure fails for extension samples
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 bug report at http://bugs.php.net/?id=15461&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15461&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15461&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15461&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15461&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15461&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15461&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15461&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15461&r=submittedtwice