[PHP-DEV] Bug #13360 Updated: Creating an Skeleton in ext/ From: mfischer <email protected>
Date: 09/18/01

ID: 13360
Updated by: mfischer
Reported By: g.exner <email protected>
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Tru64
PHP Version: 4.0.6
New Comment:

You will need autoconf 2.13.

No PHP bug anyway; such question are best asked on php-dev@

The current CVS has lately received some changes to be autoconf 2.52 compatible; you might want to use it instead.

- Markus

Previous Comments:
------------------------------------------------------------------------

[2001-09-18 03:57:26] g.exner <email protected>

i've an little extension to use message queues from php to an other process.

the steps after ext_skel producinf some errors:

ege <email protected>> cd php-4.0.6/ext/

ege <email protected>> ./ext_skel --extname=ipc

-> all okay

ege <email protected>> vi ipc/config.m4
     1 dnl $Id$
     2 dnl config.m4 for extension ipc
     3
     4 PHP_ARG_ENABLE (ipc,enable to include IPC support,
     5 [ --enable-ipc Include IPC support])
     6
     7 if test "$PHP_IPC" != "no"; then
     8 AC_DEFINE(HAVE_IPC,1,[ ])
     9 PHP_EXTENSION(ipc, $ext_shared)
    10 fi

ege <email protected>> cd ..
ege <email protected>> ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: automake version 1.5 (ok)
buildconf: libtool version 1.4 (ok)
Make: Cannot open build/generated_lists. Stop.
*** Exit 1
Stop.

^^^^first error i must copy the file generated_lists to build/
ege <email protected>> cp cp generated_lists build/

ege <email protected>> ./buildconf
rebuilding Makefile templates
automake: configure.in: installing `./ylwrap'
rebuilding configure
./aclocal.m4:813: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:359: PHP_SUBST is expanded from...
./aclocal.m4:813: the top level
rebuilding main/php_config.h.in
./aclocal.m4:813: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:359: PHP_SUBST is expanded from...
./aclocal.m4:813: the top level
autoconf: tracing failed

^^^^^ Next error. I have no idea with m4...

to compile my module into php i edited the ./configure manually
after this i can compile php with my ipc-support

greetings
gerald

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=13360&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>