You are here: PECL install fails, autoconf problem « PHP Programming Language « IT news, forums, messages
PECL install fails, autoconf problem

Posted by Tom on 02/05/07 03:40

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация