Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

pbl cl.exe

4 réponses
Avatar
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=3D\"0.8011\" -DXS_VERSION=3D\"0.8011\" "-IC:\Perl\lib
\CORE" LatLon
g.c
'cl' n'est pas reconnu en tant que commande interne
ou externe, un programme ex=E9cutable ou un fichier de commandes.
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code
'0x1'
Stop.

Avez vous une solution? Merci

4 réponses

Avatar
Paul Gaborit
À (at) Fri, 23 Jul 2010 02:16:58 -0700 (PDT),
Frantz Dorsemaine écrivait (wrote):

'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:Windowssystem32cmd.exe' : return code
'0x1'
Stop.



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 - <http://perso.mines-albi.fr/~gaborit/>
Perl en français - <http://perl.mines-albi.fr/>
Avatar
jl_morel
Dans l'article ,
a dit...

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 bliblibGeoQueryLatLong.pm
C:Perlbinperl.exe C:PerllibExtUtilsxsubpp -typemap C:
PerllibE
xtUtilstypemap LatLong.xs > LatLong.xsc && C:Perlbinperl.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:Perllib
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:Windowssystem32cmd.exe' : return code
'0x1'
Stop.

Avez vous une solution? Merci



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?query=Geo-Query-LatLong&mode=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
Avatar
jl_morel
Dans l'article , a
dit...


C'est quoi ce 'cl' ? C'est un compilateur C ? En tous cas, Perl (ou le
module CPAN) ne sait pas où le trouver...




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
Avatar
Paul Gaborit
À (at) 23 Jul 2010 11:25:06 GMT,
(Jean-Louis MOREL) écrivait (wrote):

Dans l'article , a
dit...


C'est quoi ce 'cl' ? C'est un compilateur C ? En tous cas, Perl (ou le
module CPAN) ne sait pas où le trouver...




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é ! ;-))



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 - <http://perso.mines-albi.fr/~gaborit/>
Perl en français - <http://perl.mines-albi.fr/>