ich möchte PHP5 bei mir installieren um mir das von euch vorgestellte Monitoring Tool anzuschaffen.
Hänge jetzt bei einer sache entgültig fest.
System ist Debian/Sarge
Kompilieren wollte ich folgendermaßen:
Code: Select all
./configure --prefix=/usr --datadir=/usr/share/php --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --enable-inline-optimization --enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring --enable-mbregex --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-versioning --enable-wddx --enable-yp --with-bz2 --with-dom=/usr/include/libxml2 --with-ftp --with-gettext --with-jpeg-dir=/usr --with-mcrypt --with-mhash --with-mysql=/usr --with-png-dir=/usr--with-tiff-dir=/usr --with-ttf --with-freetype-dir=yes --with-zlib=yes --with-gd --with-openssl --with-curl --enable-sockets --with-apx2=/usr/bin/apxs2
Code: Select all
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2 installation.
Kurz nachgeschaut, festgestellt das ich xml2-dev Paket benötige:
Ok ich brauche also libz-dev, alles klar...:debian:~/php-5.0.5# apt-get install libxml2-dev Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libxml2-dev: Depends: zlib1g-dev but it is not going to be installed or
libz-dev
E: Broken packages
Code: Select all
debian:~/php-5.0.5# apt-get install libz-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting zlib1g-dev instead of libz-dev
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zlib1g-dev: Depends: zlib1g (= 1:1.2.2-4) but 1:1.2.2-4.sarge.2 is to be installed
E: Broken packages
Code: Select all
debian:~/php-5.0.5# apt-get install zlib1g-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zlib1g-dev: Depends: zlib1g (= 1:1.2.2-4) but 1:1.2.2-4.sarge.2 is to be installed
E: Broken packages
Standard User wie mich zumindest aus)..ok:
Code: Select all
debian:~/php-5.0.5# apt-get install zlib1g
Reading Package Lists... Done
Building Dependency Tree... Done
zlib1g is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debian:~/php-5.0.5# dpkg --purge zlib1g
dpkg: dependency problems prevent removal of zlib1g:
libgnutls11 depends on zlib1g (>= 1:1.2.1).
libgnutls10 depends on zlib1g (>= 1:1.2.1).
zlib-bin depends on zlib1g (>= 1:1.2.1).
mysql-server depends on zlib1g (>= 1:1.2.1).
util-linux depends on zlib1g (>= 1:1.2.1).
libpng12-0 depends on zlib1g (>= 1:1.2.1).
libopencdk8 depends on zlib1g (>= 1:1.2.1).
libgd1-noxpm depends on zlib1g (>= 1:1.2.1).
apache2-utils depends on zlib1g (>= 1:1.2.1).
libmysqlclient12 depends on zlib1g (>= 1:1.2.1).
libmysqlclient14 depends on zlib1g (>= 1:1.2.1); however:
Package zlib1g is to be removed.
apache2-mpm-prefork depends on zlib1g (>= 1:1.2.1).
lynx depends on zlib1g (>= 1:1.2.1).
libxml2-utils depends on zlib1g (>= 1:1.2.1).
mysql-client depends on zlib1g (>= 1:1.2.1).
libdbd-mysql-perl depends on zlib1g (>= 1:1.2.1).
webalizer depends on zlib1g (>= 1:1.2.1).
ppp depends on zlib1g (>= 1:1.2.1).
libgd2-noxpm depends on zlib1g (>= 1:1.2.1).
libmagic1 depends on zlib1g (>= 1:1.2.1).
libzzip-0-12 depends on zlib1g (>= 1:1.2.1).
libxslt1.1 depends on zlib1g (>= 1:1.2.1).
eggdrop depends on zlib1g (>= 1:1.2.1).
cramfsprogs depends on zlib1g (>= 1:1.2.1).
ssh depends on zlib1g (>= 1:1.2.1).
libxml2 depends on zlib1g (>= 1:1.2.1).
libfreetype6 depends on zlib1g (>= 1:1.2.1).
dpkg: error processing zlib1g (--purge):
dependency problems - not removing
Errors were encountered while processing:
zlib1g
Puh, wohl nochmal Glück gehabt das Package Manager von Debian schlau sind sonst wäre wohl alles ein wenig..ich nenns mal im Arsch...
Ist für mich eine Schleife der Ratlosigkeit, hab im ganzen Internet jetzt über 1h gesucht aber nirgendswo eine Debian Spezifische Problemlösung gefunden, nur Leute mit dem selben Problem...
Weiß jemand um Rat?
Grüße
Dominik