From:             lantonenk at inbox dot ru
Operating system: RedHat Linux 7.3 (with updates)
PHP version:      4CVS-2003-11-14 (stable)
PHP Bug Type:     *Compile Issues
Bug description:  TOKENIZER self-contained-extension: make fails

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

-- 
Edit bug report at http://bugs.php.net/?id=26253&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26253&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26253&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26253&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26253&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26253&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26253&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26253&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26253&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26253&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26253&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26253&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26253&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26253&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26253&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26253&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26253&r=float

Reply via email to