php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13360 Creating an Skeleton in ext/
Submitted: 2001-09-18 03:57 UTC Modified: 2001-09-18 06:28 UTC
From: g dot exner at scheller dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.6 OS: Tru64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: g dot exner at scheller dot de
New email:
PHP Version: OS:

 

 [2001-09-18 03:57 UTC] g dot exner at scheller dot de
i've an little extension to use message queues from php to an other process.

the steps after ext_skel producinf some errors:

ege@sst30> cd php-4.0.6/ext/

ege@sst30> ./ext_skel --extname=ipc

-> all okay

ege@sst30>  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@sst30> cd ..
ege@sst30> ./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@sst30> cp cp generated_lists build/

ege@sst30> ./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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-18 06:28 UTC] mfischer@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 09:01:30 2024 UTC