pbl cl.exe
Le
Frantz Dorsemaine
bonjour, je veux installer le module Geo-Query-LatLong-0.8011
voici l'erreur que j'ai au moment de l'installation:
cp lib/Geo/Query/LatLong.pm blib\lib\Geo\Query\LatLong.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:
\Perl\lib\E
xtUtils\typemap LatLong.xs > LatLong.xsc && C:\Perl\bin\perl.exe -
MExtUtils::Co
mmand -e "mv" -- LatLong.xsc LatLong.c
Please specify prototyping behavior for LatLong.xs (see perlxs manual)
cl -c -I. -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -
D_CONSOLE -DNO
_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CON
TEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -
DNDEBUG -O1
-DVERSION=\"0.8011\" -DXS_VERSION=\"0.8011\" "-IC:\Perl\lib
\CORE" LatLon
g.c
'cl' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code
'0x1'
Stop.
Avez vous une solution? Merci
voici l'erreur que j'ai au moment de l'installation:
cp lib/Geo/Query/LatLong.pm blib\lib\Geo\Query\LatLong.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:
\Perl\lib\E
xtUtils\typemap LatLong.xs > LatLong.xsc && C:\Perl\bin\perl.exe -
MExtUtils::Co
mmand -e "mv" -- LatLong.xsc LatLong.c
Please specify prototyping behavior for LatLong.xs (see perlxs manual)
cl -c -I. -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -
D_CONSOLE -DNO
_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CON
TEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -
DNDEBUG -O1
-DVERSION=\"0.8011\" -DXS_VERSION=\"0.8011\" "-IC:\Perl\lib
\CORE" LatLon
g.c
'cl' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code
'0x1'
Stop.
Avez vous une solution? Merci

Poser une question


Frantz Dorsemaine
C'est quoi ce 'cl' ? C'est un compilateur C ? En tous cas, Perl (ou le
module CPAN) ne sait pas où le trouver...
--
Paul Gaborit - Perl en français -
Ce module nécessite un compilateur C.
Le plus simple est d'utiliser ppm car le module est dans le dépôt ActiveState :
http://cpan.uwinnipeg.ca/search?que...ode=module
Dans une console, tapez la commande ppm et choisissez le module à installer dans
la liste : un clic droit sur le nom : dans le menu, sélectionnez le module pour
l'installation. Ensuite, on clique sur l'icône "action" (flèche verte ->) et le
module s'installe tout seul.
--
J-L.M.
http://www.bribes.org/perl
Dans une console, j'obtiens ça :
C:tmp>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C'est mon compilateur préféré ! ;-))
--
J-L.M.
http://www.bribes.org/perl
(Jean-Louis MOREL) écrivait (wrote):
Ok.
Mais le PO a-t-il ce compilateur ? Est-il installé correctement ? Perl,
le module CPAN et 'nmake' savent-ils où le trouver ?
Je pense que le passage via 'ppm' est quand même plus simple (lorsqu'on
utilise ActivePerl). ;-)
--
Paul Gaborit - Perl en français -