Debian Etch: PEAR-Modulinstallation läuft nicht

Hey ho zusammen,

ich hab hier gerade erhebliche Probleme mit PEAR:

Situation:

-> Ich will egroupware auf einem frisch installierten minimalem debian etch installieren
-> Da ich ähnliche Installationen mit den gleichen Ansprüchen in Bezug auf Funktionalitäten schon vorgenommen habe, weiß ich welche Pear-Module ich brauche
-> Also bin ich folgendermaßen vorgegangen:

Apache:

Code:
aptitude install apache2

Mysql:

Code:
aptitude install mysql-server mysql-client mysql-common

Und abschließend PHP + PEAR:

Code:
aptitude install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi php-pear php5-imap php5-gd

Ist alles sauber durchgelaufen.

Da ich hier hinter einem Proxy hänge, hab ich PEAR entsprechend konfiguriert:

Code:
pear config-set http_proxy http://proxy.foooo.com:81
config-set succeeded

PEAR scheint auch keine Problem mit der I-Net Verbindung zu haben, zumindest interpretiere ich mal diese Ausgabe so:

Code:
 pear channel-update pear.php.net
Retrieving channel.xml from remote server
Channel pear.php.net channel.xml is up to date

Dann hab ich erstmal alle bisherigen Pakete auf den neuesten Stand gebracht:

Code:
 pear upgrade-all

Das läuft sauber ohne Ausgabe durch.

Modul-Installation:

Das "scheint" zunächst mal zu passen:

Code:
 pear install Log

Notice: unserialize(): Error at offset 0 of 388 bytes in PEAR/REST/10.php on line 247
/tmp/glibctestUFVp2l:1:22: error: features.h: No such file or directory
downloading Log-1.9.16.tgz ...
Starting to download Log-1.9.16.tgz (-1 bytes)
............done: 40,971 bytes
pear/Log can optionally use package "pear/DB" (version >= 1.3)
pear/Log can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
pear/Log can optionally use PHP extension "sqlite"
install ok: channel://pear.php.net/Log-1.9.16

Stutzig gemacht hat mich dabei aber die anfängliche Ausgabe:

Code:
Notice: unserialize(): Error at offset 0 of 388 bytes in PEAR/REST/10.php on line 247
/tmp/glibctestUFVp2l:1:22: error: features.h: No such file or directory

googlen nach: "Notice: unserialize(): Error at offset 0 of 1699 bytes" => nichts
googlen nach: "error: features.h: No such file or directory"

Entweder sind die Links in japanisch oder ich finde sowas:

http://www.virtualmin.com/forums/virtualmin/install-horde-false..html

Hello You have to do this commands :

pear upgrade-all

And all will be ok

=> Das hatte ich ja schon durchlaufen, habs zur Vorsicht nochmal durchlaufen lassen, hat aber nichts geändert.

Hier: http://dev.wifidog.org/wiki/doc/install/ubuntu/auth-server

steht allerdings das das wohl kein Problem darstellen soll.

Some more libs. On "sudo pear install Phlickr-0.2.5.tgz", you will receive an error like "/tmp/glibctestWTQG39:1:22: error: features.h no such file"... this isn't important, the install will continue without problem and FlickrPhotoStream? will be a valid content type.

Aber nun zum....

Problem:

Drei Module lassen sich nicht installieren:

1.. Net_Sieve

Code:
 pear install Net_Sieve

Code:
Notice: unserialize(): Error at offset 0 of 230 bytes in PEAR/REST/10.php on line 247
/tmp/glibctestHdeR88:1:22: error: features.h: No such file or directory
downloading Net_Sieve-1.1.5.tgz ...
Starting to download Net_Sieve-1.1.5.tgz (13,492 bytes)
.....done: 13,492 bytes
pear/Net_Sieve requires package "pear/Net_Socket" (version >= 1.0)

2. Net_IMAP

Code:
 pear install Net_IMAP

Code:
Notice: unserialize(): Error at offset 0 of 230 bytes in PEAR/REST/10.php on line 247
/tmp/glibctestrQhqnx:1:22: error: features.h: No such file or directory
downloading Net_IMAP-1.1.0beta1.tgz ...
Starting to download Net_IMAP-1.1.0beta1.tgz (-1 bytes)
.........done: 35,776 bytes
pear/Net_IMAP requires package "pear/Net_Socket" (version >= 1.0)

In beiden Fällen läuft es also auf:

Code:
requires package "pear/Net_Socket" (version >= 1.0)

hinaus.

Hab also mal naiverweise die Suche angeschmissen, die bricht aber mit einem Fehler ab:

Code:
 pear search socket
Retrieving data...0%Invalid xml downloaded from "http://pear.php.net/rest/p/archive_tar/info.xml": XML Error: 'Empty document' on line '1'

Folgende default-channels hab ich:
Code:
 pear list-channels
Registered Channels:
====================
Channel      Summary
pear.php.net PHP Extension and Application Repository
pecl.php.net PHP Extension Community Library
__uri        Pseudo-channel for static packages


Passenderweise sagt nun ein

Code:
pear update-channels

Code:
HTTP error, got response: HTTP/1.0 404 Not Found
Didn't receive 200 OK from remote server. (HTTP/1.0 404 Not Found)

Komischerweise lassen sich die einzelnen Channels updaten:

Code:
pear channel-update pear.php.net
Retrieving channel.xml from remote server
Channel pear.php.net channel.xml is up to date

Code:
pear channel-update pecl.php.net
Retrieving channel.xml from remote server
Channel pecl.php.net channel.xml is up to date

So, soweit so scheisse.

googlen nach: "pear Invalid xml downloaded" => nichts was auf meinen Fall zutreffen würde.

Das xml-Dokument welches initial (s.o.) angemahnt wird

Code:
[CODE] pear search socket
Retrieving data...0%Invalid xml downloaded from "http://pear.php.net/rest/p/archive_tar/info.xml": XML Error: 'Empty document' on line '1'

gibt es unter dieser Adresse und sieht so aus:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<p xmlns="http://pear.php.net/dtd/rest.package"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink="http://www.w3.org/1999/xlink"    xsi:schemaLocation="http://pear.php.net/dtd/rest.package    http://pear.php.net/dtd/rest.package.xsd">
 <n>Archive_Zip</n>
 <c>pear.php.net</c>
 <ca xlink:href="/rest/c/File+Formats">File Formats</ca>
 <l>LGPL</l>
 <s>Zip file archiving management class</s>

 <d>------------------------------------
The PECL Zip extension is faster and more current than this native PHP library. If possible, you should use the PECL extension instead:

  http://pecl.php.net/zip
------------------------------------

Archive_Zip

This class provides the ability to handle Zip files using native PHP. No extra libraries are needed. This class offers tools that can create, list, extract, unpack, append Zip files.

Vincent Blavet wrote this application, but it's unmaintained currently. Some ideas for future work (feel free to volunteer): 
 A) Add driver for use with pecl/zip
 B) Collaborate with File_Archive
 C) Add documentation

See Also:
http://en.wikipedia.org/wiki/ZIP_%28file_format%29

For a PEAR alternative to this class, consider using File_Archive instead.</d>
 <r xlink:href="/rest/r/archive_zip"/>
</p>

Sieht soweit gut aus für mich.....

Was läuft denn hier schief?

Wie kann ich diesen Fehler eingrenzen bzw. lösen?

Wer ist für diese Katastrophe verantwortlich? Gerne nehme ich den Fehler auf meine Kappe, nur sehe ich soweit keinen Fehler meinerseits......

---------------------------------
EDIT:

Das Problem ist gefunden, es hängt am proxy. Dieser ist zwar korrekt gesetzt, aber entweder:

- kommt pear nicht mit diesem Proxy klar, und zwar _nur_ in der Kombination http + xml
- oder unser proxy ist wie auch immer falsch konfiguriert

Eine Behelfslösung: "pear install http://foo.tar.gz."

Da ich mir nicht sicher bin, ob das nicht evtl. sogar ein pear-Problem ist (ich arbeite seit Jahren _problemlos_ hinter diesem Proxy), hab ich es mal im pear-Forum geschildert, wen es interessiert: http://www.pear-forum.de/ftopic2097.html
 
Code:
features.h: No such file or directory

Evtl. keine Kernel-Header installiert?
 
Zurück
Oben