Re: not _that_ fixed....
| From: | Curt Zirzow | Date: | Tue, 26 Oct 2004 14:14:50 +0000 |
| Subject: | Re: not _that_ fixed.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200359@lists.php.net to get a copy of this message | ||
* Thus wrote Robert Cummings:
> On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote:
> >
> > in fact i got it in the ./configure --help :
> >
> > pierre@debian:~/phpsource/php-4.3.9$ ./configure --help | grep -i spider
> > --enable-spider Enable spider support
>...
>
> That said, if you still wish to compile a shared object module of your
> extension then you can run this from the PHP source directory (with
> suitable changes for your extension):
>
> cc -fpic -DCOMPILE_DL_INTERJINN=1 \
> -Iext/interjinn/ -Iinclude -Imain -I. -IZend -ITSRM \
> -c -o ext/interjinn/interjinn.o ext/interjinn/interjinn.c
>
> cc -shared -L/usr/local/lib -rdynamic -o \
> ext/interjinn/interjinn.so \
> ext/interjinn/interjinn.o
>
Actually it gets easier..
cd ext/custommodule/
phpize
./configure --with-custommodule
make
Now you'll have a custommodule.so available.
Curt
--
Quoth the Raven, "Nevermore."