Click to See Complete Forum and Search --> : Installing PDFLIB 6 with PHP 4.3x


strange1
07-23-2004, 06:16 AM
I downloaded PDFlib-6.0.0p1-Linux and would like to bind pdflib with my PHP version.

I copy the files in bind/php/php-43x to the php extension-dir.

I installed automake and autoconf.

Then I run

pear install pecl/pdflib-2.0.tgz

and I get the following error:



5 source files, building
running: phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
`phpize' failed




Any ideas?

When I try to ./configure php --with-pdflib I get the error that pdflib.h has not been found....