When doing make install with a prefix of /apps/php/7.0.0-dev I get:
Installing shared extensions:
/apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/ Installing PHP CLI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CLI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing PHP CGI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CGI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing build environment: /apps/php/7.0.0-dev/lib/php/build/ Installing header files: /apps/php/7.0.0-dev/include/php/ Installing helper programs: /apps/php/7.0.0-dev/bin/ program: phpize
program: php-config
Installing man pages: /apps/php/7.0.0-dev/php/man/man1/ page: phpize.1
page: php-config.1
Installing PEAR environment: /apps/php/7.0.0-dev/lib/php/ make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2
Hmm.
Then prepending /apps/php/7.0.0-dev/php/man to my MANPATH, then doing man php I get this:
No manual entry for php
See 'man 7 undocumented' for help when manual pages are not available.
I would have expected the man pages to work since that portion of the install script worked, but I suppose they could be related.
In any case, it will be hard for me to test things until make install works properly.
Quoted text · 8 lines
When doing
make installwith a prefix of/apps/php/7.0.0-devI get:Installing shared extensions:
/apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/ Installing PHP CLI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CLI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing PHP CGI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CGI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing build environment: /apps/php/7.0.0-dev/lib/php/build/ Installing header files: /apps/php/7.0.0-dev/include/php/ Installing helper programs: /apps/php/7.0.0-dev/bin/ program: phpize
program: php-config
Installing man pages: /apps/php/7.0.0-dev/php/man/man1/ page: phpize.1
page: php-config.1
Installing PEAR environment: /apps/php/7.0.0-dev/lib/php/ make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2Hmm.
I had that exact (I think) problem on building a checkout on Jan 14, but could not reproduce it no matter how hard I tried, that's why I didn't open a bug report - but apparently it's kind of valid.
Some info for my machine:
Debian GNU/Linux 7.8 (wheezy)
x86_64
'./configure'
'--prefix=/usr/local/stow/php-7.0-master'
'--with-config-file-path=/etc/php5/7.0-master'
'--enable-fpm'
'--with-fpm-user=www-data'
'--with-fpm-group=www-data'
'--with-gd'
'--enable-zip'
'--with-mysqli=mysqlnd'
'--with-pdo-mysql=mysqlnd'
'--enable-mbstring'
'--with-curl'
'--with-freetype-dir=/usr/include/freetype2'
'--enable-gd-native-ttf'
"$@"
Greetings,
Florian
Quoted text · 14 lines
When doing
make installwith a prefix of/apps/php/7.0.0-devI get:Installing shared extensions:
/apps/php/7.0.0-dev/lib/php/extensions/no-debug-non-zts-20141001/ Installing PHP CLI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CLI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing PHP CGI binary: /apps/php/7.0.0-dev/bin/ Installing PHP CGI man page: /apps/php/7.0.0-dev/php/man/man1/ Installing build environment: /apps/php/7.0.0-dev/lib/php/build/ Installing header files: /apps/php/7.0.0-dev/include/php/ Installing helper programs: /apps/php/7.0.0-dev/bin/ program: phpize
program: php-config
Installing man pages: /apps/php/7.0.0-dev/php/man/man1/ page: phpize.1
page: php-config.1
Installing PEAR environment: /apps/php/7.0.0-dev/lib/php/ make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2Hmm.
Then prepending
/apps/php/7.0.0-dev/php/manto my MANPATH, then doingman phpI get this:No manual entry for php
See 'man 7 undocumented' for help when manual pages are not available.I would have expected the man pages to work since that portion of the install script worked, but I suppose they could be related.
In any case, it will be hard for me to test things until
make installworks properly.--
About pear: Nikita recently merged another piece(removing Assignment of new by reference) from
https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 so until somebody (me probably) fixes the pear installer you need --without-pear to your configure if you aren't using --disable-all. About the man page: what files do you have in php/man/man1 ?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
About the man page: what files do you have in php/man/man1 ?
php.1 php-cgi.1 php-config.1 phpize.1
^ Those four. Normally there are two more (phar.1 and phar.phar.1) from looking my 5.6.3 install. Aside from that I'm not sure what else could be different. I'm not very familiar with how man pages work, honestly; I just read them :)
About the man page: what files do you have in php/man/man1 ?
php.1 php-cgi.1 php-config.1 phpize.1
^ Those four. Normally there are two more (phar.1 and phar.phar.1) from looking my 5.6.3 install. Aside from that I'm not sure what else could be different. I'm not very familiar with how man pages work, honestly; I just read them :)
that seems ok, how do you prepend your MANPATH exactly? what's the output of
MANPATH="/apps/php/7.0.0-dev/php/man:$MANPATH" man php ?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu