Re: php extension problem
| From: | Pierre Ancelot | Date: | Tue, 26 Oct 2004 02:42:08 +0000 |
| Subject: | Re: php extension problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200311@lists.php.net to get a copy of this message | ||
fixed. i downloaded the source from php.net and it works now... the previous
source i had came from apt system. maybe the source is patched ? if i'm not
the only one to have had this problem, let me know, i'll mail the debian
maintener
thanks,
On Monday 25 October 2004 19:19, Pierre Ancelot wrote:
> Hi !
>
> I am having some trouble creating a php extension.
> as show in the documentation i did a ./ext_skel --extname=mymodule
> which created the directory mymodule
> i edited the config.m4 file to tune it to something very basic :
>
> PHP_ARG_WITH(mymodule, for mymodule support,
> [ --with-mymodule Include mymodule support])
> if test "$PHP_MYMODULE" != "no"; then
> PHP_NEW_EXTENSION(mymodule, mymodule.c, $ext_shared)
> fi
>
>
> saved and went to the base of the source tree...
>
>
> pierre@debian:/usr/src/php4-4.3.9$ ./buildconf
> You should not run buildconf in a release package.
> use buildconf --force to override this check.
> pierre@debian:/usr/src/php4-4.3.9$ ./buildconf --force
> Forcing buildconf
> using default Zend directory
> buildconf: checking installation...
> buildconf: autoconf version 2.59 (ok)
> buildconf: Your version of autoconf likely contains buggy cache code.
> Running cvsclean for you.
> To avoid this, install autoconf-2.13 and automake-1.5.
> buildconf: libtool version 1.5.6 (ok)
> rebuilding configure
> autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
> configure.in:147: the top level
> pierre@debian:/usr/src/php4-4.3.9$
>
>
> then, i been looking up if the module was taken
>
> pierre@debian:/usr/src/php4-4.3.9$ ./configure --help | grep -i mymodule
> pierre@debian:/usr/src/php4-4.3.9$
>
>
> and.... no, it's not.... any idea ? something i did wrong ?
>
>
> thank you :)