Or just type: phpize
in the imlib extension directory
then type: ./configure --with-imlib=shared
make
Then you will have an imlib.so file in your modules/ directory which you
can then point an extension=imlib.so directive to in your php.ini file.
-Rasmus
On Wed, 25 Apr 2001, Matt McClanahan wrote:
> On Wed, Apr 25, 2001 at 03:34:18PM -0400, Charles wrote:
>
> > Hello,
> >
> > Somebody know how to make IMLIB library compile into php ?
> > i tried --with, --enable, but doesn't work !
>
> Check to see that it actually got added to the source properly with:
>
> ./configure --help|grep imlib
>
> If it isn't there, read the side-note below.
>
> Obligatory quote from the INSTALL file:
>
> Built-in Extension Installation
> -------------------------------
> To build php_imlib into PHP, extract the extension into the ext/
> subdirectory of the PHP source tree, run buildconf, and recompile.
>
> tar -C /path/to/php_src/ext -zxvf php_imlib-0.3.tgz
> cd /path/to/php_src
> ./buildconf
> ./configure --with-imlib[=/path/to/Imlib2] [other args]
> make
> make install
>
> The side-note that I keep forgetting to add to the documentation: It
> may be necessary to do 'touch ./config.m4' in ext/imlib before running
> buildconf. Otherwise buildconf may not add php_imlib to the available
> extensions.
>
> Matt
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]