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