PECL install fails, autoconf problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm trying to install the Fileinfo extensions from a PECL library
called "fileinfo".  The install fails because autoconf cannot be
found.  I have a custom installation of autoconf running out of my
home directory (I do not have root access), so it's not in the default
location (presumably something like /usr/bin/autoconf).  I don't know
how to manually force ./configure and make to look for autoconf in a
custom location.  I would guess it's something along the lines of:

[server]$ ./configure PHP_AUTOCONF=/some/path

But I can't find any reference to how this is done without root
access, or if it's possible to manually assign a path to autoconf and
autoheader at the command line (or by forcing a value into phpize

Here's what my shell output looks like:
[server]$ pecl install fileinfo
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606
Cannot find autoconf. Please check your autoconf installation and the
environment variable is set correctly and then rerun this script.
ERROR: `phpize' failed

Any idea where this would be done, or is this hopeless without root


Re: PECL install fails, autoconf problem

Quoted text here. Click to load it

Hi, you must install php4-dev package, i use debian so it is available
in packages, if you use package kind of distribution try installing
php4 devel package.

Hope it helps.


Site Timeline