From: mamfelt at gmail dot com Operating system: AIX PHP version: 5.3.20 Package: *Compile Issues Bug Type: Bug Bug description:--prefix is not recognized by configure for all libraries
Description: ------------ Running CFLAGS=-O2 -qcpluscmt ./configure \ --prefix=/opt \ --sysconfdir=/var/php/etc \ --sharedstatedir=/var/php/com \ --localstatedir=/var/php \ --mandir=/usr/share/man fails because it does not find files in ${prefix}/lib and/or ${prefix}/include Test script: --------------- CFLAGS=-O2 -qcpluscmt ./configure \ --prefix=/opt \ --sysconfdir=/var/php/etc --sharedstatedir=/var/php/com \ --localstatedir=/var/php --mandir=/usr/share/man Expected result: ---------------- + make install DESTDIR=/var/tmp/root/php-5.3.20.0 > build/aix/install.out + mkinstallp.ksh /var/tmp/root/php-5.3.20.0 > build/aix/mkinstallp.out ============================== aixtools.php:aixtools.php.man:5.3.20.0::I:T:::::N:php man pages 2012.Dec.26 13.51 CUT::::0:: aixtools.php:aixtools.php.rte:5.3.20.0::I:T:::::N:php 5.3.20.0 2012.Dec.26 13.51 CUT::::0:: ============================== Actual result: -------------- ... configure:20951: cc -o conftest -O2 -qcpluscmt conftest.c -lrt -lm 1>&5 configure:20923: checking for strftime configure:21413: checking which regex library to use configure:21830: checking whether to enable LIBXML support configure:21875: checking libxml2 install dir configure:21901: checking for xml2-config path Usage: configure [options] [host] ... Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] ... -- Edit bug report at https://bugs.php.net/bug.php?id=63856&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63856&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63856&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63856&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63856&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63856&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63856&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63856&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63856&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63856&r=support Expected behavior: https://bugs.php.net/fix.php?id=63856&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63856&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63856&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63856&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63856&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63856&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63856&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63856&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63856&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63856&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63856&r=mysqlcfg