PHP Kompilieren - db4 Header Fehlermeldung

Apache, Lighttpd, nginx, Cherokee
Post Reply
[Arnold]
Posts: 13
Joined: 2004-05-26 20:08
 

PHP Kompilieren - db4 Header Fehlermeldung

Post by [Arnold] »

Hallo zusammen,

ich versuche bisher leider erfolglos, auf meinem amd64 System ein PHP zu kompilieren. Genauer gesagt scheitere ich schon beim ./configure, das folgendermaßen aussieht:

./configure '--host=x86_64-redhat-linux' '--build=x86_64-redhat-linux' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-apxs2=/usr/sbin/apxs'

Als Fehlermeldung erhalte ich:

checking for db4 major version... configure: error: Header contains different version

Ich habe sowohl PHP 4.3.10. als auch 5.0.3 versucht.

Die devel Pakete von db4 sind installiert.

Hat jemand einen Tipp?

Besten Dank vorab

Arnold
Last edited by [Arnold] on 2005-02-12 12:46, edited 1 time in total.
lufthansen
Posts: 390
Joined: 2002-09-24 17:31
Location: NRW
 

Re: PHP Kompilieren - db4 Header Fehlermeldung

Post by lufthansen »

mal ins blaue gerate


vllt stimmt das nicht ?


--with-db4=/usr'
Post Reply