ID: 25379 Updated by: [EMAIL PROTECTED] Reported By: marcus at synchromedia dot co dot uk -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: OpenBSD PHP Version: 4.3.3 New Comment:
What compiler you have there? Previous Comments: ------------------------------------------------------------------------ [2003-09-22 04:47:23] marcus at synchromedia dot co dot uk Unfortunately I can't. I'm running OpenBSD 3.1-stable, and the docs say: > The current ports tree may not be used with the > previous release. This is due to changes, typically > with the port make process, that require code based > upon the OpenBSD-current source tree. I guess a solution would be to upgrade to OpenBSD 3.4 when it comes out, but that's a whole load of work and downtime I can't afford right now. I can make do with 4.3.2 for now as I was planning on upgrading the whole system for PHP5. I don't know if you want to continue tracking this bug - 3.1 isn't that old (about 15 months), but I don't know how many users it may affect. FWIW, the current PHP5 beta installs ok. ------------------------------------------------------------------------ [2003-09-19 17:20:40] [EMAIL PROTECTED] Sigh, let me try that again: 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. ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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