By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,051 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,051 IT Pros & Developers. It's quick & easy.

PECL install fails, autoconf problem

P: n/a
Tom
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
itself).

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
$PHP_AUTOCONF
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
access?

Thanks...

Feb 5 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
access?

Thanks...
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.

Javier.

Feb 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.