Précédent   Forum des professionnels en informatique > PHP > Bibliothèques et frameworks > PEAR
PEAR Forum d'entraide sur le framework PHP : PEAR. Avant de poster -> cours PEAR.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 26/08/2011, 16h44   #1
Invité de passage
 
Inscription : mai 2009
Messages : 14
Détails du profil
Informations forums :
Inscription : mai 2009
Messages : 14
Points : 2
Points : 2
Par défaut problème d'installation du pear

salam tous le monde
s'il vous plait j'ai besoin de votre aide, j'essaye d'installer le pear sous WampServer Version 2.1 , php : version: 5.3.5
mais qu'on je tape la commande pear upgrade pear il m'affiche un ensemble des erreurs
voila la commande pear upgrade pear sous le console

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
 
 
C:\wamp\bin\php\php5.3.5>pear upgrade pear
downloading PEAR-1.9.4.tgz ...
Starting to download PEAR-1.9.4.tgz (296,332 bytes)
.............................................................done: 296,332 bytes
 
downloading Archive_Tar-1.3.7.tgz ...
Starting to download Archive_Tar-1.3.7.tgz (17,610 bytes)
...done: 17,610 bytes
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
...done: 30,318 bytes
downloading Console_Getopt-1.3.1.tgz ...
Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
...done: 4,471 bytes
 
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
 or directory in PEAR\Downloader.php on line 1217
PHP Warning:  require_once(Structures/Graph.php): failed to open stream: No such
 file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
1217
PHP Stack trace:
PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700
 
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
 or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217
 
Call Stack:
    0.0022     531392   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    0.1315    3478576   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
    0.1315    3478576   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
    7.6083   10022536   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700
 
PHP Fatal error:  require_once(): Failed opening required 'Structures/Graph.php'
 (include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Downloader.php on line 1217
PHP Stack trace:
PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700
 
Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
\Downloader.php on line 1217
 
Call Stack:
    0.0022     531392   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    0.1315    3478576   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
    0.1315    3478576   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
    7.6083   10022536   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700
 
 
C:\wamp\bin\php\php5.3.5>pear upgrade pear
downloading PEAR-1.9.4.tgz ...
Starting to download PEAR-1.9.4.tgz (296,332 bytes)
.............................................................done: 296,332 bytes
 
downloading Archive_Tar-1.3.7.tgz ...
Starting to download Archive_Tar-1.3.7.tgz (17,610 bytes)
...done: 17,610 bytes
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
...done: 30,318 bytes
downloading Console_Getopt-1.3.1.tgz ...
Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
...done: 4,471 bytes
 
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
 or directory in PEAR\Downloader.php on line 1217
PHP Warning:  require_once(Structures/Graph.php): failed to open stream: No such
 file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
1217
PHP Stack trace:
PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700
 
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
 or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217
 
Call Stack:
    0.0019     531392   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    0.1229    3478576   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
    0.1229    3478576   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
    6.4106   10022536   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700
 
PHP Fatal error:  require_once(): Failed opening required 'Structures/Graph.php'
 (include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Downloader.php on line 1217
PHP Stack trace:
PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700
 
Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
\Downloader.php on line 1217
 
Call Stack:
    0.0019     531392   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    0.1229    3478576   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
    0.1229    3478576   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
    6.4106   10022536   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700

je sais pas c'est pas quoi faire pour resoudre ces problemes

merci d'avance de m'avoir aidé
goood est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 26/08/2011, 17h01   #2
Modérateur
 
Inscription : septembre 2010
Messages : 7 131
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 131
Points : 8 491
Points : 8 491
essaye avec pear upgrade-all
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 26/08/2011, 17h10   #3
Membre chevronné
 
Avatar de Marc3001
 
Homme
Ingénieur développement logiciels
Inscription : février 2008
Messages : 430
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 28
Localisation : France, Ille et Vilaine (Bretagne)

Informations professionnelles :
Activité : Ingénieur développement logiciels

Informations forums :
Inscription : février 2008
Messages : 430
Points : 682
Points : 682
Citation:
Envoyé par goood Voir le message
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in PEAR\Downloader.php on line 1217
PHP Warning: require_once(Structures/Graph.php): failed to open stream: No such
file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
1217
On dirait qu'il manque des fichiers de pear. Comment l'as-tu installé?
__________________
Le logiciel, c'est comme le sexe, c'est meilleur quand c'est libre.

Linus Torvalds
Marc3001 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 30/08/2011, 01h00   #4
Invité de passage
 
Inscription : mai 2009
Messages : 14
Détails du profil
Informations forums :
Inscription : mai 2009
Messages : 14
Points : 2
Points : 2
Par défaut problème d'installation du pear

@stealth35 : merci de m'avoir repondre, mais meme si j'ai utilisé cette commande pear upgrade-all le console m'a affiche les meme erreurs :S

@Marc3001 : merci pour votre reponse , oui il me manque des fichiers mais je sais pas comment faire pour les installer , et si j'installé un il apparait un autre , y a t'il une commande qui installe l'ensemble des fichiers convenable pour un projet symfony, et compatible avec php5.3.5 ???
goood est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 30/08/2011, 10h13   #5
Membre chevronné
 
Avatar de Marc3001
 
Homme
Ingénieur développement logiciels
Inscription : février 2008
Messages : 430
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 28
Localisation : France, Ille et Vilaine (Bretagne)

Informations professionnelles :
Activité : Ingénieur développement logiciels

Informations forums :
Inscription : février 2008
Messages : 430
Points : 682
Points : 682
PEAR\Downloader.php semble être plus un fichier interne à PEAR plutot qu'à un package PEAR mal downloadé.

Comment as-tu installé PEAR?
__________________
Le logiciel, c'est comme le sexe, c'est meilleur quand c'est libre.

Linus Torvalds
Marc3001 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 03h12.


 
 
 
 
Partenaires

Hébergement Web