Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian/PHP5 - Von Hand kompilieren
Hi Leute.
Beim kompilieren von PHP5 unter Debian erhalte ich folgende Fehlermeldung:
checking for BZip2 support... yes, shared
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
Bzip2 ist installiert. Jedoch finde ich keine libbzip2-dev(el) oder ähnliches. So ließ sich bei allen anderen Meldungen vieles beheben. Weiss jemand welche Datei mir fehlt, bzw. was ich per apt-get nachsaugen sollte?
Ich suche schon seit Stunden in Google, finde aber nichts passendes für Debian. :(
HirschHeisseIch
15.09.06, 19:39
Package libbz2-dev
* stable (libdevel): high-quality block-sorting file compressor library - development
1.0.2-7: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
Würd ich jetzt einfach mal vermuten...
Warum kompilierst du PHP5 unter Debian? Falls du Sarge nimmst, kannst du php5 auch per apt-get installieren!
für neuere Updates:
deb http://dotdeb.pimpmylinux.org/ stable all
deb-src http://dotdeb.pimpmylinux.org/ stable all
deb http://dotdeb.netmirror.org/ stable all
deb-src http://dotdeb.netmirror.org/ stable all
in die sources.list (/etc/apt/sources.list)
Weil ich PHP4 als Modul und PHP5 als CGI parallel laufen lasse.
Danke, ich werde mir das mal ansehen.
Hi,
ich bin heute wieder dazu gekommen weiter zu compilieren und zu testen.
libbz2-dev war übrigens das richtige Paket. Danke sehr.
Leider hänge ich nach einem "make" nun bei folgendem Fehler:
/usr/local/share/php5/ext/gd/gd.c: In function `zif_imagepng':
/usr/local/share/php5/ext/gd/gd.c:1934: error: `gdImagePngCtxEx' undeclared (first use in this function)
/usr/local/share/php5/ext/gd/gd.c:1934: error: (Each undeclared identifier is reported only once
/usr/local/share/php5/ext/gd/gd.c:1934: error: for each function it appears in.)
Das Configure hat allerdings keinen Fehler mehr ausgegeben.
Hier meine Configure-Anweisungen:
'./configure' \
'--prefix=/usr/share/php5' \
'--datadir=/usr/share/php5' \
'--bindir=/usr/bin/php5' \
'--libdir=/usr/share/php5' \
'--with-config-file-path=/etc/php5' \
'--with-exec-dir=/usr/lib/php5/bin' \
'--with-pear=/usr/share/pear/php5' \
'--enable-memory-limit' \
'--enable-force-cgi-redirect' \
'--enable-discard-path' \
'--enable-track-vars' \
'--enable-trans-sid' \
'--enable-bcmath' \
'--enable-ctype' \
'--with-db4' \
'--with-iconv' \
'--enable-filepro' \
'--enable-wddx' \
'--disable-xml' \
'--with-expat-dir=/usr' \
'--with-xmlrpc' \
'--with-pcre-regex' \
'--without-sqlite' \
'--without-mm' \
'--enable-fastcgi' \
'--disable-safe-mode' \
'--enable-sigchild' \
'--enable-magic-quotes' \
'--disable-debug' \
'--with-openssl' \
'--with-kerberos' \
'--with-bz2' \
'--with-zlib' \
'--with-zlib-dir=/usr' \
'--enable-bcmath' \
'--with-curl=shared,/usr' \
'--with-dom=shared,/usr' \
'--with-curlwrappers' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd=shared,/usr' \
'--enable-gd-native-ttf' \
'--with-jpeg-dir=shared,/usr' \
'--with-xpm-dir=shared,/usr/X11R6' \
'--with-png-dir=shared,/usr' \
'--with-freetype-dir=shared,/usr' \
'--with-imap=shared,/usr' \
'--with-imap-ssl' \
'--with-ldap=shared,/usr' \
'--with-mcal=shared,/usr' \
'--with-mhash=shared,/usr' \
'--with-snmp=shared,/usr' \
'--with-ttf=shared,/usr' \
'--with-t1lib=shared,/usr' \
'--with-gettext' \
'--with-gmp' \
'--enable-mbstring' \
'--with-mcrypt' \
'--with-mhash' \
'--with-mime-magic=/usr/share/misc/file/magic.mime' \
'--without-pgsql' \
'--with-mysql=shared,/usr' \
'--with-mysql-sock' \
'--enable-dio' \
'--with-ncurses' \
'--with-libedit' \
'--with-readline' \
'--enable-shmop' \
'--enable-soap' \
'--enable-sockets' \
'--with-regex=php' \
'--disable-rpath' \
'--disable-static' \
'--with-pic' \
'--enable-dbx' \
'--enable-yp' \
'--enable-calendar' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvmsg' \
'--with-xsl' \
'--enable-xslt=shared' \
'--with-xslt-sablot=shared,/usr' \
'--with-dom-xslt=shared,/usr' \
'--with-dom-exslt=shared,/usr' \
'--with-pear=/usr/share/php5/pear' \
'--enable-shared' \
'--with-zip=/usr' \
'--with-layout=GNU'
Jemand eine Idee? :(
derRichard
23.09.06, 11:59
hallo!
die header von gd hast aber schon installiert?
such mal nach einem paket namens "gd-dev" oder so...
//richard
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.