|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-12 17:06 UTC] sniper@php.net
[2002-11-12 17:36 UTC] alietss at yahoo dot com
[2002-11-12 22:15 UTC] alietss at yahoo dot com
[2002-11-13 19:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Mar 23 01:00:01 2026 UTC |
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