Aktivierung des PEAR Package Managers

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Aktivierung des PEAR Package Managers

Postby curio » 25. February 2005 13:40

Hallo,

Ich habe die neueste XAMPP-Version völlig problemlos unter Win XP Prof. installiert und alles funktioniert prächtig.
Um die darin enthaltenen PEAR-Packages zu administrieren, benötige ich den PEAR-Package-Manager. Um diesen zu aktivieren, bin ich der Anleitung im PEAR-Manual "Getting the Manager" gefolgt und habe "go-pear.bat" genutzt.
Allerdings ohne Erfolg. Lasse ich die darin vorgegebenen Pfadangaben unverändert, bricht die Installation mit einer Fehlermeldung ab:
Code: Select all
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation prefix           : D:\apachefriends\xampp\php
 2. Binaries directory            : $prefix
 3. PHP code directory ($php_dir) : $prefix\pear
 4. Documentation base directory  : $php_dir\docs
 5. Data base directory           : $php_dir\data
 6. Tests base directory          : $php_dir\tests
 7. php.exe path                  : D:\apachefriends\xampp\php\php.exe

1-7, 'all' or Enter to continue:

The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, PHPUnit.
Would you like to install these as well? [Y/n] : Y

Loading zlib: ok
Using local package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................(local) ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(local) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: PHPUnit..........ok
Extracting installer..................
Invalid checksum for file "<?php
//
// +----------------------------------------------------------------------+
// | PEAR, the " : 30824 calculated, 0 expected

Warning: unlink(C:\DOKUME~1\Frank\LOKALE~1\Temp/gopA3.tmp\PEAR.php): Permission
denied in D:\apachefriends\xampp\php\pear\go-pear.php on line 1081

Warning: rmdir(C:\DOKUME~1\Frank\LOKALE~1\Temp/gopA3.tmp): Directory not empty in D:\apachefriends\xampp\php\pear\go-pear.php on line 1085
Drücken Sie eine beliebige Taste . . .

Ich weiß nicht wirklich, was konkret mit "Installation prefix" oder "Binaries directory" etc. gemeint ist. Deshalb kann ich die Pfade auch nicht korrekt umbenennen.
Kann mir hier vielleicht jemand konstruktiv weiterhelfen?

Beim ISP-Server kam es zu solch einem Installationsabbruch, wenn ich die Zugriffsrechte für den PEAR-Installationsordner nicht auf 777 gestellt hatte. Dies dürfte doch aber unter meiner Windowsinstalltion keine Rolle spielen, zumal ich ja als Administrator die ganze Sache betreibe.

Also für Anregungen wäre ich sehr dankbar.

Gruß, Siggi
Last edited by curio on 25. February 2005 17:55, edited 1 time in total.
curio
 
Posts: 2
Joined: 25. February 2005 11:33

Postby Wiedmann » 25. February 2005 14:18

PEAR ist beim XAMPP schon (fast komplett) dabei. Das Packetsystem wird gestartet durch "pear.bat" im Verzeichnis "\xampp\php".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby curio » 25. February 2005 18:00

Jo, guter Hinweis mit der "pear.bat" über die Konsole. Ich hatte gehofft, dies über eine komfortable GUI konfigurieren zu können, wie bei der Online-Installation von PEAR. Aber so gehts auch.
Einige Pfadangaben müssen noch angepasst werden, wie z.B. für "doc_dir", "data_dir", "test_dir". Diese verweisen noch auf c:\php5\docs etc.

Vielen Dank für den Tipp.

Gruß, Siggi
curio
 
Posts: 2
Joined: 25. February 2005 11:33

Postby redbat1 » 27. February 2005 07:54

Woher kommt die Fehlermeldung (Warining) am Ende des Codes, fehlt dann ein Teil der Installation? Und wie verhindere ich die?

Code: Select all
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation prefix           : D:\apachefriends\xampp\php
 2. Binaries directory            : $prefix
 3. PHP code directory ($php_dir) : $prefix\pear
 4. Documentation base directory  : $php_dir\docs
 5. Data base directory           : $php_dir\data
 6. Tests base directory          : $php_dir\tests
 7. php.exe path                  : D:\apachefriends\xampp\php\php.exe

1-7, 'all' or Enter to continue:

The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, PHPUnit.
Would you like to install these as well? [Y/n] : Y

Loading zlib: ok
Using local package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................(local) ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(local) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: PHPUnit..........ok
Extracting installer..................
Invalid checksum for file "<?php
//
// +----------------------------------------------------------------------+
// | PEAR, the " : 30824 calculated, 0 expected

Warning: unlink(C:\DOKUME~1\Frank\LOKALE~1\Temp/gopA3.tmp\PEAR.php): Permission
denied in D:\apachefriends\xampp\php\pear\go-pear.php on line 1081

Warning: rmdir(C:\DOKUME~1\Frank\LOKALE~1\Temp/gopA3.tmp): Directory not empty in D:\apachefriends\xampp\php\pear\go-pear.php on line 1085
Drücken Sie eine beliebige Taste . . .
User avatar
redbat1
 
Posts: 12
Joined: 09. December 2004 20:16


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 48 guests