imlib2 problems
| From: | Gareth Ardron | Date: | Sun, 11 Aug 2002 21:04:05 +0000 |
| Subject: | imlib2 problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112049@lists.php.net to get a copy of this message | ||
ok, had a look through the archives but couldn't find anything, so I'm sorry if I'm asking questions answered long ago.
basically i'm trying to install imlib2 as a module for php rather than compiled into it as that was giving errors.
when I run phpize, I get this:
root@snipe:/home/gaz/imlib# phpize
aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
autoheader: config.h.in is unchanged
You should update your `aclocal.m4' by running aclocal.
so then I run aclocal which gives me basically the same:
root@snipe:/home/gaz/imlib# aclocal
aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
Now it will actually let me ./configure --with-imlib=shared;make;make install; but whenever I try to use the module I get the following:
warning: invalid library (maybe not a PHP library) 'imlib.so' in /home/gaz/public_html/upload.php on line 6
which suggests to me that although make worked, it didn't work right because of this aclocal stuff.
anybody any ideas on how to fix this?
btw, this is on a i386 slackware 8.0 box, automake 1.4, autoconf 2.5 (as i'm thinking it could be down to one of these atm)