From:             mamfelt at gmail dot com
Operating system: AIX
PHP version:      Irrelevant
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:configure --prefix=/opt fails to search /opt/<subdirs> for 
packages

Description:
------------
./configure --prefix /opt

====
Basically, to resolve this I "patch" configure so that all references to
/usr/local are replaced by /opt.

Note: I have tried
./buildconf --force

but get the following message:
root@x104:[/data/prj/php/php-RC1-5.3.18]./buildconf --force
Forcing buildconf
buildconf: checking installation...
buildconf: You need autoconf 2.59 or lower to build this version of PHP.
           You are currently trying to use 2.68
           Most distros have separate autoconf 2.13 or 2.59 packages.
           On Debian/Ubuntu both autoconf2.13 and autoconf2.59 packages
exist.
           Install autoconf2.13 and set the PHP_AUTOCONF env var to 
           autoconf2.13 and try again.
make: *** [buildmk.stamp] Error 1

======
I went to the autoconf downloads and see that autoconf-2.59 is rather
ancient, and wonder if this problem is already resolved using newer tools?


[   ] autoconf-2.12.tar.gz                      26-Nov-1996 03:00  401K  
[   ] autoconf-2.13.tar.gz                      15-Jan-1999 16:03  433K  
[   ] autoconf-2.50-2.52.xdelta                 18-Jul-2001 09:59   58K  
...
[   ] autoconf-2.59.tar.bz2                     16-Dec-2003 15:53  903K  
[   ] autoconf-2.59.tar.bz2.sig                 16-Dec-2003 15:52   65   
[   ] autoconf-2.59.tar.gz                      16-Dec-2003 15:52  1.2M  
[   ] autoconf-2.59.tar.gz.sig                  16-Dec-2003 15:52   65   
[   ] autoconf-2.60.tar.bz2                     26-Jun-2006 13:02  1.0M  
...
[   ] autoconf-2.68.tar.xz                      22-Sep-2010 18:54  1.1M  
[   ] autoconf-2.68.tar.xz.sig                  22-Sep-2010 18:54  556   
[   ] autoconf-2.69.tar.gz                      24-Apr-2012 23:17  1.8M  
[   ] autoconf-2.69.tar.gz.sig                  24-Apr-2012 23:17  556   
[   ] autoconf-2.69.tar.xz                      24-Apr-2012 23:17  1.2M  
[   ] autoconf-2.69.tar.xz.sig                  24-Apr-2012 23:17  556   

Test script:
---------------
./configure --prefix=/opt

...
checking for xml2-config path... 
configure: error: xml2-config not found. Please check your libxml2
installation.

root@x104:[/data/prj/php/php-RC1-5.3.18]

Expected result:
----------------
...
...
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

Actual result:
--------------
checking for xml2-config path... 
configure: error: xml2-config not found. Please check your libxml2
installation.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63221&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63221&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63221&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63221&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63221&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63221&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63221&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63221&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63221&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63221&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63221&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63221&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63221&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63221&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63221&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63221&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63221&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63221&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63221&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63221&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63221&r=mysqlcfg

Reply via email to