ID: 20399 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Linux Redhat8.0 PHP Version: 4CVS-2002-11-12 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-11-12 22:15:28] [EMAIL PROTECTED] Hi boys, I'm still trying to build it, now I use snapshot php4-200211130230, and there is a little better, the error is when is installing the helper programs, it can't find phpextdist, and in fact it is not in the pear/scripts directory of my pushd so the problem should be in the compile or make that should have something missing about this, here the error... Installing PHP SAPI module Installing shared extensions: /var/tmp/php-root/usr/lib/php4/ Installing PHP CLI binary: /var/tmp/php-root/usr/bin/ Installing PEAR environment: /var/tmp/php-root/usr/share/pear/ [PEAR] Archive_Tar - installed: 0.9 [PEAR] Console_Getopt - installed: 1.0 [PEAR] PEAR - installed: 1.0b2 [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 [PEAR] XML_RPC - installed: 1.0.4 Installing build environment: /var/tmp/php-root/usr/lib/php/build/ Installing header files: /var/tmp/php-root/usr/include/php/ Installing helper programs: /var/tmp/php-root/usr/bin/ program: phpize program: php-config program: phpextdist cp: cannot stat `pear/scripts/phpextdist': No such file or directory make: *** [install-programs] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.3752 (%install) ------------------------------------------------------------------------ [2002-11-12 17:36:35] [EMAIL PROTECTED] Hi snipper: >>Are you sure you have done 'make clean' at some point? Yes I make clean at the end. >>Are you sure your cvs checkout is recent and clean? >>(or that you're using clean snapshot sources?) Yes I'm using snapshot sources >>.and it works fine here (and for dozens of other people too) Those people are building packages in RedHat8.0???. Did they change the default dir of pear ??. I think that it's not making something related to the instalation of PEAR. I'm doing this RPMS based in Redhat RPMS, and worked fine for php-4.2.4-dev, now it should work ok, but it doesn't, I'm trying to find waht it is but is really difficult.. ------------------------------------------------------------------------ [2002-11-12 17:06:40] [EMAIL PROTECTED] Those errors look more like some problem in the compile of the sapi/cli/php binary..and it works fine here (and for dozens of other people too). Are you sure you have done 'make clean' at some point? Are you sure your cvs checkout is recent and clean? (or that you're using clean snapshot sources?) ------------------------------------------------------------------------ [2002-11-12 13:06:10] [EMAIL PROTECTED] Fi, all the PHP people, and thank's for a great job, I'm building rpms for Redhat 8.0 of php-4.3.0 and httpd-2.0.40 from redhat packages, my configure script looks like this %configure \ --prefix=%{_prefix} \ --with-config-file-path=%{_sysconfdir} \ --enable-force-cgi-redirect \ --disable-debug \ --enable-pic \ --disable-rpath \ --enable-inline-optimization \ --with-bz2 \ --with-db3 \ --with-curl \ --with-dom=%{_prefix} \ --with-exec-dir=%{_bindir} \ --with-freetype-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-gd \ --enable-gd-native-ttf \ --with-ttf \ --with-gdbm \ --with-gettext \ --with-pdflib=shared \ --with-tiff-dir=%{_prefix} \ --with-ncurses \ --with-gmp \ --with-iconv \ --enable-xslt=shared \ --with-jpeg-dir=%{_prefix} \ --with-openssl \ --with-png \ --with-pspell \ --with-regex=system \ --with-xml \ --with-expat-dir=%{_prefix} \ --with-zlib \ --with-layout=GNU \ --enable-bcmath \ --enable-exif \ --enable-ftp \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-discard-path \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --without-oci8 \ --with-pear=/usr/share/pear \ --with-imap=shared \ --with-imap-ssl \ --with-kerberos=/usr/kerberos \ --with-ldap=shared \ --with-mcal=shared,%{_prefix} \ --with-mcrypt=shared,%{_prefix} \ --with-mhash=shared,%{_prefix} \ --with-mysql=shared,%{_prefix} \ %if %{oracle} --with-oci8=shared \ %endif --with-pgsql=shared \ --with-snmp=shared,%{_prefix} \ --with-snmp=shared \ --with-sybase-ct=shared,%{_prefix} \ --with-xslt-sablot=shared,%{_prefix} \ --with-sablot-js=shared,%{_prefix} \ --enable-ucd-snmp-hack \ --with-unixODBC=shared \ --enable-memory-limit \ --enable-bcmath \ --enable-shmop \ --enable-versioning \ --enable-calendar \ --enable-dbx \ --enable-dio \ --enable-mcal \ $* my makes are like this pushd build-cgi build \ --enable-force-cgi-redirect popd # Second, build an Apache tree. # pushd build-apache # Add the buildroot location to the front of the libexecdir. # Again use the build() call # build \ --with-apxs2=%{_sbindir}/apxs popd and my installs like this %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT # First, install the CGI tree. # pushd build-cgi make install INSTALL_ROOT=$RPM_BUILD_ROOT popd # Second, install the Apache tree. Note that this overwrites the modules which # were installed as part of the CGI build. Lucky for us they're compatible. # pushd build-apache make install INSTALL_ROOT=$RPM_BUILD_ROOT INSTALL_IT="echo " popd and is failing with this error Installing PHP SAPI module Installing shared extensions: /var/tmp/php-root/usr/lib/php4/ Installing PHP CLI binary: /var/tmp/php-root/usr/bin/ Installing PEAR environment: /var/tmp/php-root/usr/share/pear/ HTTP/1.0 0 X Content-type: text/html PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: core_globals_id in Unknown on line 0 [PEAR] Archive_Tar - already installed: 0.9 [PEAR] Console_Getopt - already installed: 1.0 [PEAR] PEAR - already installed: 1.0b2 HTTP/1.0 0 X Content-type: text/html PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: core_globals_id in Unknown on line 0 [PEAR] DB - already installed: 1.3 [PEAR] HTTP - already installed: 1.2 [PEAR] Mail - already installed: 1.0.1 [PEAR] Net_SMTP - already installed: 1.0 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0 [PEAR] XML_RPC - already installed: 1.0.4 Installing build environment: /var/tmp/php-root/usr/lib/php/build/ Installing header files: /var/tmp/php-root/usr/include/php/ Installing helper programs: /var/tmp/php-root/usr/bin/ program: phpize program: php-config program: phpextdist cp: cannot stat `pear/scripts/phpextdist': No such file or directory make: *** [install-programs] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.86837 (%install) it s appear to be a problem in the pear install, or something that is giving those warnings and error. I hope helps, bye aliet ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20399&edit=1
