php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26253 TOKENIZER self-contained-extension: make fails
Submitted: 2003-11-14 10:14 UTC Modified: 2003-11-17 14:30 UTC
From: lantonenk at inbox dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2003-11-14 (stable) OS: RedHat Linux 7.3 (with updates)
Private report: No CVE-ID:
 [2003-11-14 10:14 UTC] lantonenk at inbox dot ru
Description:
------------
I try to make TOKENIZER self-contained-extension.
phpize, aclocal, ./configure works fine.
make fails (look at reproduce code) with message:
make: *** No rule to make target `Zend/zend_language_parser.h', needed by `tokenizer.lo'.  Stop.
I think the problem is in Makefil.frag. This file contains line:

$(builddir)/tokenizer.lo: Zend/zend_language_parser.h

When repeat all steps with empty Makefil.frag, make works fine, and I have tokenizer.so


Reproduce code:
---------------
> cd $PHP_SOURCES
> cd ext/tokenizer
> phpize
...
> aclocal
> ./configure
...
> make
make: *** No rule to make target `Zend/zend_language_parser.h', needed by `tokenizer.lo'.  Stop.


Expected result:
----------------
> make
...
-----------------------------------------------------
Libraries have been installed in:
   /home/antonenk/config/php/php-4.3.3-modules/tokenizer/modules
...
-----------------------------------------------------
> 
===
Result - there is tokenizer.so in ./modules

Actual result:
--------------
> make
make: *** No rule to make target `Zend/zend_language_parser.h', needed by `tokenizer.lo'.  Stop.
===
Result - there is no tokenizer.so

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-17 14:30 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 01:02:05 2014 UTC