Re: CPAN - 'cl' is not recognized as an internal or external command,
- From: "Henry McGuinness" <henry.mcguinness@xxxxxxxxxxxxxx>
- Date: Tue, 5 Sep 2006 11:43:22 +0100
Ok you seem to be using ActivePerl for windows (you didn't say :)). This is
compiled using Visual C++ version 6, and you have to use the same compiler
to build Perl modules that contain any functions written in C. Some modules
are Pure Perl, so you don't need to worry about compiling any C.
Not everyone is going to have VC++, so there are 2 approaches: By far the
easiest is to use PPM, which gives you compiled windows binaries (as .dll
files) for the relevant bits of the modules you want, and copies these and
the perl code to your perl/site/lib directory. Easy. And there are several
repositories with lots of modules on them, not all of the CPAN, though
More difficult is to build things with Active Perl if you haven't got VC++:
get hold of make.exe, cl.exe etc (you sometimes need a lot of libraries and
header files). Can be a painful way to go.
The Strawberry/Vanilla Perl projects are attempting to provide Windows Perl
distributions compiled using gcc (which is included in the distribution I
think) instead. So you'll be able to use CPAN. They're still experimental
though.
Henry
"MoshiachNow" <lev.weissman@xxxxxxxx> wrote in message
news:1157358492.870947.101260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Install such modules using the ppm utility instead.
Thanks,Rob
Works like majic.
But why these errors pop up in the first place?
Do I realy need have C++ compilers installed for this ?
.
- Follow-Ups:
- References:
- CPAN - 'cl' is not recognized as an internal or external command,
- From: MoshiachNow
- Re: CPAN - 'cl' is not recognized as an internal or external command,
- From: Mumia W.
- Re: CPAN - 'cl' is not recognized as an internal or external command,
- From: MoshiachNow
- Re: CPAN - 'cl' is not recognized as an internal or external command,
- From: MoshiachNow
- CPAN - 'cl' is not recognized as an internal or external command,
- Prev by Date: Re: IPC on Win XP: messages, shared memory
- Next by Date: Re: CPAN - 'cl' is not recognized as an internal or external command,
- Previous by thread: Re: CPAN - 'cl' is not recognized as an internal or external command,
- Next by thread: Re: CPAN - 'cl' is not recognized as an internal or external command,
- Index(es):
Relevant Pages
|
|