ID: 24314 Updated by: [EMAIL PROTECTED] Reported By: anzenews at volja dot net -Status: Open +Status: Feedback Bug Type: Zend Engine 2 problem Operating System: Linux PHP Version: 4CVS-2003-06-24 (stable) Assigned To: hholzgra New Comment:
please try to change ext/skeleton/create_stubs line 156 from gobble("\\]* *)") to gobble("\\]* *\\)") Previous Comments: ------------------------------------------------------------------------ [2003-06-24 09:20:13] anzenews at volja dot net My version is of gawk is 3.1.0-3 (Debian stable). I tried to test with newer one (3.1.2-4 - testing/unstable), but I don't have the right libc6 (2.3.1 or above) - which means I should download libc6, libc6-dev and probably some other packages too... I wouldn't like to upgrade unless necessary, especially as it is not in stable yet. ------------------------------------------------------------------------ [2003-06-24 08:56:01] [EMAIL PROTECTED] works fine for me what is your awk version? (mine is "GNU Awk 3.1.1") ------------------------------------------------------------------------ [2003-06-24 07:53:28] anzenews at volja dot net Description: ------------ Hi! When I try to create my extension skelet using ext_skel like this: /home/tmp/php/ext$ ./ext_skel --extname=myext --proto=myext.proto I get this output: ------------ Creating directory myext awk: run time error: regular expression compile failed (missing '(') ^(\]* *)) FILENAME="-" FNR=1 NR=1 Creating basic files: config.m4 .cvsignore myext.c php_myext.h CREDITS EXPERIMENTAL tests/001.phpt myext.phprm: cannot remove `function_entries': No such file or directory rm: cannot remove `function_declarations': No such file or directory rm: cannot remove `function_stubs': No such file or directory [done]. To use your new extension, you... ... ------------ Extension is created, but not the function I specified in myext.proto. It worked in 4.0.3.pl1, it didn't work in 4.3.2 and it doesn't work in current CVS version. Reproduce code: --------------- myext.phproto (taken from README.EXT_SKEL): bool my_drawtext(resource image, string text, resource font, int x, int y [, int color]) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24314&edit=1