#22007 [Com]: Make install fails for error in install-pear.php

From: Date: Thu, 03 Apr 2003 07:12:11 +0000
Subject: #22007 [Com]: Make install fails for error in install-pear.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14831@lists.php.net to get a copy of this message
ID: 22007 Comment by: thomas dot lamy at in-online dot net Reported By: alietss at yahoo dot com Status: Open Bug Type: PEAR related Operating System: Openna Linux PHP Version: 4CVS-2003-02-02 (stable) New Comment: Had the same issue on a Debian/sarge box. I'm not really sure, but it seems locally generated Zent/zend_language_scanner.c do not work at all. I fixed it in re-extracting this file from the source archive, and "touch" it before compiling. Previous Comments: ------------------------------------------------------------------------ [2003-02-02 01:07:17] alietss at yahoo dot com Hi, all the php people... I'm trying to build RPMS for Openna Linux of php-4.3.1 from 02/02/2003 with httpd-2.0.43 but I'm having a error in the make install part wich cause the stop error, here the error... Installing PHP SAPI module Installing shared extensions: /var/tmp/php-4.3.1-root/usr/lib/php4/ Installing PEAR environment: /var/tmp/php-4.3.1-root/usr/share/pear/ Parse error: syntax error, unexpected T_WHITESPACE in /usr/src/openna/BUILD/php-4.3.1/pear/install-pear.php on line 3 make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2 Here my configure line... %configure \ --prefix=%{_prefix} \ --cache-file=../config.cache \ --with-layout=GNU \ --with-config-file-path=%{_sysconfdir}/httpd \ --enable-force-cgi-redirect \ --with-exec-dir=%{_bindir} \ --with-openssl \ --with-zlib \ --with-bz2 \ --with-gd \ --with-ttf \ --with-png \ --with-jpeg-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-freetype-dir=%{_prefix} \ --with-expat-dir=%{_prefix} \ --with-gmp \ --with-xml \ --with-curl \ --with-pear=/usr/share/pear \ --with-imap=shared \ --with-imap-ssl \ --with-mysql=shared,%{_prefix} \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --with-pgsql=shared \ --with-ldap=shared \ --with-pspell \ --disable-debug \ --disable-rpath \ --disable-posix \ --enable-discard-path \ --enable-safe-mode \ --enable-magic-quotes \ --enable-bcmath \ --enable-dio \ --enable-gd-native-ttf \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-wddx \ --enable-inline-optimization \ --enable-memory-limit \ my installs... pushd build-cgi make install INSTALL_ROOT=$RPM_BUILD_ROOT popd pushd build-apache make install INSTALL_ROOT=$RPM_BUILD_ROOT INSTALL_IT="echo " popd Any Ideas, I hope helps.... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22007&edit=1

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