|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-10-28 19:41 UTC] hey at lukecarrier dot me
Description: ------------ When trying to compile PHP 5.3.8 from source on Fedora 15, specifying the target directory for PEAR seems to have no effect; the value is ignored and the default is used instead. Test script: --------------- ./configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --srcdir=.. --cache-file=../config.cache --with-config-file-path=/etc/php.ini --with-config-file-scan-dir=/etc/php.ini.d --with-pear=/var/lib/php/pear Expected result: ---------------- PEAR's PHP files to be installed to /var/lib/php/pear Actual result: -------------- PEAR's PHP files installed to /usr/lib64/php/pear PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 12:00:01 2025 UTC |
Hello, I've tested this with the current Fedora 28 and the PHP 7.2.6 and upcoming PHP 7.3. I've removed the --with-srcdir option and add the --with-openssl. For the PHP 7.2, the adjusted configure options that should work ok are: ./configure --host=x86_64-unknown-linux-gnu \ --build=x86_64-unknown-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib64 \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/var/lib \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --cache-file=../config.cache \ --with-config-file-path=/etc/php.ini \ --with-config-file-scan-dir=/etc/php.ini.d \ --with-pear=/var/lib/php/pear \ --with-openssl Probably this particular bug got fixed somewhere with the migration to the newer build system and newer auto tools (configure.ac instead of configure.in). However, there is now some other bug with the latest PHP 7.3 version which will be reported in a separate bug report. When enabling the phar extension the pear installation fails with some errors.