comment j'utilise mkpath???
Version imprimable
comment j'utilise mkpath???
dans la première exécution de
j'avais l'erreur décrit au par avant et j'avais le Strawberry Perl installéCode:perl -MCPAN -e 'install DB_File'
lorsque j'ai désinstallé le Strawberry Perl j'ai trouvé l'erreur suivante:
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 Parsing config.in... Looks Good. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -llibdb Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for comctl32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for DB_File Writing MYMETA.yml PMQS/DB_File-1.826.tar.gz nmake -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Je te recommande de désinstaller tous les perl de ta bécanne. De supprimer les répertoire C:\Perl, faire le ménage dans les variables d'environnement et redémarrer ta machine.
Après cette désinstallation propre de perl, tu peux réinstaller ActivePerl et faire tes installation de modules.
j'ai trouvé plusieurs fichier DB_File.yml dans le dossier: C:\Perl\cpan\build
(par exemple:Alien-wxWidgets-0.56-WW0zt0.yml ;DB_File-1.826-7oy4bI.yml ; DB_File-1.826-9cimDT.yml ;etc)
comme il est indiqué dans la pièce ci-jointe
est ce que c'est normale ou pose des problème ????
Non, les fichiers DB_File.pm des répertoires cpan ne sont que des fichiers temporaires nécessaire au CPAN pour l'installation. Ils ne sont pas utilisés par la suite pour le fonctionnement de perl.
Essaye la procédure de djibril et revient nous voir ensuite. En installant ActivePerl et DB_File à l'aide de ppm, ça devrait marcher comme sur ma machine.
J'ai laissé tomber cette méthode (j'ai essayé la procédure de djibril mais ça n'a pas marché)
et j'ai essayé autre méthode
j'ai installer le strawberry Perl
j'ai pu installer le module DB_File avec strowberry
merci bien pour votre aide