|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-03-07 10:11 UTC] lists at iezzi dot ch
Description: ------------ Both compilation of PHP 5.5.10 and 5.4.26 fail upon 'make install': --snip-- ./configure --prefix=/opt/php/5.5.10 --with-config-file-path=/etc/php55 --with-pear=/usr/share/php --with-imap --enable-ftp --enable-exif --with-xsl --enable-soap --disable-rpath --enable-calendar --with-gettext --enable-mbstring --enable-sockets --enable-wddx --enable-sysvsem --enable-sysvshm --disable-debug --enable-bcmath --enable-ctype --enable-dba --enable-intl --with-readline --with-iconv --with-bz2 --disable-static --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-imap-ssl --with-kerberos --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --enable-zip --with-curl --with-mhash --enable-gd-native-ttf --with-freetype-dir --with-t1lib --with-layout=GNU --with-pcre-regex --enable-sysvmsg --with-xmlrpc --with-gmp --with-mm --with-mcrypt --with-zlib-dir=/usr --with-openssl=/usr --enable-shmop --enable-tokenizer --with-ldap=/usr --with-libdir=/lib/x86_64-linux-gnu --snip-- --snip-- Installing shared extensions: /opt/php/5.5.10/lib/php/20121212/ Installing PHP CLI binary: /opt/php/5.5.10/bin/ Installing PHP CLI man page: /opt/php/5.5.10/share/man/man1/ cp: cannot stat `sapi/cli/php.1': No such file or directory make: *** [install-cli] Error 1 --snip-- Directory listing of sapi/cli/... --snip-- # ls -lah sapi/cli/ total 44M drwxr-xr-x 4 1001 1001 4.0K Mar 7 10:55 . drwxr-xr-x 24 1001 1001 4.0K Mar 5 11:18 .. -rw-r--r-- 1 1001 1001 1.9K Mar 5 11:18 cli.h -rw-r--r-- 1 1001 1001 56 Mar 5 11:18 cli_win32.c -rw-r--r-- 1 1001 1001 3.3K Mar 5 11:18 config.m4 -rw-r--r-- 1 1001 1001 715 Mar 5 11:18 config.w32 -rw-r--r-- 1 1001 1001 88 Mar 5 11:18 CREDITS drwxr-xr-x 2 root root 4.0K Mar 7 10:54 .libs -rw-r--r-- 1 1001 1001 590 Mar 5 11:18 Makefile.frag -rwxr-xr-x 1 root root 43M Mar 7 10:55 php -rw-r--r-- 1 1001 1001 9.4K Mar 5 11:18 php.1.in -rw-r--r-- 1 1001 1001 39K Mar 5 11:18 php_cli.c -rw-r--r-- 1 root root 321 Mar 7 10:54 php_cli.lo -rw-r--r-- 1 root root 177K Mar 7 10:54 php_cli.o -rw-r--r-- 1 1001 1001 2.6K Mar 5 11:18 php_cli_process_title.c -rw-r--r-- 1 1001 1001 1.6K Mar 5 11:18 php_cli_process_title.h -rw-r--r-- 1 root root 363 Mar 7 10:54 php_cli_process_title.lo -rw-r--r-- 1 root root 40K Mar 7 10:54 php_cli_process_title.o -rw-r--r-- 1 1001 1001 73K Mar 5 11:18 php_cli_server.c -rw-r--r-- 1 1001 1001 1.9K Mar 5 11:18 php_cli_server.h -rw-r--r-- 1 root root 342 Mar 7 10:54 php_cli_server.lo -rw-r--r-- 1 root root 412K Mar 7 10:54 php_cli_server.o -rw-r--r-- 1 1001 1001 45K Mar 5 11:18 php_http_parser.c -rw-r--r-- 1 1001 1001 5.3K Mar 5 11:18 php_http_parser.h -rw-r--r-- 1 root root 345 Mar 7 10:54 php_http_parser.lo -rw-r--r-- 1 root root 55K Mar 7 10:54 php_http_parser.o -rw-r--r-- 1 1001 1001 13K Mar 5 11:18 ps_title.c -rw-r--r-- 1 1001 1001 1.7K Mar 5 11:18 ps_title.h -rw-r--r-- 1 root root 324 Mar 7 10:54 ps_title.lo -rw-r--r-- 1 root root 16K Mar 7 10:54 ps_title.o -rw-r--r-- 1 1001 1001 828 Mar 5 11:18 README drwxr-xr-x 2 1001 1001 4.0K Mar 5 11:18 tests -rw-r--r-- 1 1001 1001 7 Mar 5 11:18 TODO --snip-- Expected result: ---------------- Should be able to compile. Actual result: -------------- Compile failure upon make install. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
Is there any possibility "make clean" called somewhere in the middle of a build process? Just faced it myself. There is an interesting change in 5.5.10: diff -ruN php-5.5.9/Makefile.global php-5.5.10/Makefile.global --- php-5.5.9/Makefile.global 2014-02-05 17:00:36.000000000 +0700 +++ php-5.5.10/Makefile.global 2014-03-05 17:18:00.000000000 +0700 @@ -115,6 +115,7 @@ find . -name \*.la -o -name \*.a | xargs rm -f find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf + find . -name \*.1 | xargs rm -f rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(SAPI_CGI_PATH) $(SAPI_MILTER_PATH) $(SAPI_LITESPEED_P ATH) $(SAPI_FPM_PATH) $(OVERALL_TARGET) modules/* libs/* distclean: clean Seems that *.1 files are generated during "./configure" stage, but deleted during "make clean", which is somewhat against GNU coding standards (see https://www.gnu.org/prep/standards/html_node/Standard-Targets.html). I suppose it's better to remove them in "distclean" since make can't regenerate them if needed.