#25379 [Opn->Bgs]: 'make install' partially broken

From: Date: Fri, 19 Sep 2003 21:19:12 +0000
Subject: #25379 [Opn->Bgs]: 'make install' partially broken
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21807@lists.php.net to get a copy of this message
ID: 25379 Updated by: avsm@php.net Reported By: marcus at synchromedia dot co dot uk -Status: Open +Status: Bogus Bug Type: PEAR related Operating System: OpenBSD PHP Version: 4.3.3 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Have you tried the OpenBSD 3.4 port of PHP-4.3.3? It has quite a few patches to fix issues with the build process that I haven't had a chance to integrate properly with the PHP build process. Try it out from latest snapshots and let me know if it fixes your problem. Previous Comments: ------------------------------------------------------------------------ [2003-09-08 05:23:49] marcus at synchromedia dot co dot uk Thanks for looking at this. This snapshot doesn't generate errors, but the resulting installation is still not usable. I still get 'php -v' giving nothing, and 'pear -v' giving PHP info. the results of 'make install' still differ. In 4.3.2 I get: Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module [activating module `php4' in /var/www/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so chmod 755 /usr/lib/apache/modules/libphp4.so cp /var/www/conf/httpd.conf /var/www/conf/ httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/ httpd.conf rm /var/www/conf/httpd.conf.new Installing shared extensions: /usr/local/lib/php/ extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar - installed: 0.9 [PEAR] Console_Getopt - installed: 1.0 [PEAR] PEAR - installed: 1.1 [PEAR] DB - installed: 1.3 [PEAR] HTTP - installed: 1.2 [PEAR] Mail - installed: 1.0.1 [PEAR] Net_SMTP - installed: 1.0 [PEAR] Net_Socket - installed: 1.0.1 [PEAR] XML_Parser - installed: 1.0.1 [PEAR] XML_RPC - installed: 1.0.4 Installing build environment: /usr/local/lib/php/ build/ Installing header files: /usr/local/include/ php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist and in this snapshot I get: Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: apache [activating module `php4' in /var/www/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so chmod 755 /usr/lib/apache/modules/libphp4.so cp /var/www/conf/httpd.conf /var/www/conf/ httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/ httpd.conf rm /var/www/conf/httpd.conf.new Installing shared extensions: /usr/local/lib/php/ extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ Installing build environment: /usr/local/lib/php/ build/ Installing header files: /usr/local/include/ php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist i.e. you can see it's missing a load of PEAR stuff. ------------------------------------------------------------------------ [2003-09-07 18:58:27] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-09-03 05:40:51] marcus at synchromedia dot co dot uk Description: ------------ 4.3.3 'make install' reports errors but partially completes. mod_php works, but CLI is confused. 'pear - v' gives php version info. 'php -v' does nothing. The same setup builds and installs correctly with PHP 4.3.2 I have made sure that pear is up to date (in particular Archive is 1.1) in php 4.3.2 before trying this in 4.3.3. Reproduce code: --------------- # ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local --enable-exif --with-gd --with-jpeg-dir=/usr/local/bin --with-bz2 --with-zlib --with-openssl --with-gettext --with-ldap --with-mhash --disable-overload --enable-sockets --with-mcrypt --enable-sysvshm --enable-pcntl --with-config-file-path=/var/www/conf --enable-mbstring --with-pear=/usr/local/lib/php --enable-bcmath --enable-gd-native-ttf --enable-gd-imgstrttf --with-freetype-dir=/usr/local --with-imap --with-imap-ssl --with-curl # make # make install Expected result: ---------------- (Output from PHP 4.3.2) Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module[activating module `php4' in /var/www/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so chmod 755 /usr/lib/apache/modules/libphp4.so cp /var/www/conf/httpd.conf /var/www/conf/ httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/ httpd.conf rm /var/www/conf/httpd.conf.new Installing shared extensions: /usr/local/lib/php/ extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar - already installed: 1.1 [PEAR] Console_Getopt - already installed: 1.0 [PEAR] PEAR - already installed: 1.2.1 [PEAR] DB - already installed: 1.5.0RC1 [PEAR] HTTP - already installed: 1.2.1 [PEAR] Mail - already installed: 1.1.1 [PEAR] Net_SMTP - already installed: 1.2.3 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0.1 [PEAR] XML_RPC - already installed: 1.0.4 Installing build environment: /usr/local/lib/php/ build/ Installing header files: /usr/local/include/ php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist Actual result: -------------- Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: apache [activating module `php4' in /var/www/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so chmod 755 /usr/lib/apache/modules/libphp4.so cp /var/www/conf/httpd.conf /var/www/conf/ httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/ httpd.conf rm /var/www/conf/httpd.conf.new Installing shared extensions: /usr/local/lib/php/ extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ PHP Parse error: parse error in /usr/local/src/php- 4.3.3/pear/package-Archive_Tar.xml on line 1 *** Error code 255 Stop in /usr/local/src/php-4.3.3 (line 274 of Makefile). *** Error code 1 Stop in /usr/local/src/php-4.3.3 (line 280 of Makefile). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25379&edit=1

« previous php.pear.dev (#21807) next »