php extension problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux