Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing modules manually on Win2k

Status
Not open for further replies.

Stevoie

Programmer
Jun 7, 2001
68
IE
I'm having trouble installing modules in Win2k, i've found a module that i want to install and its not in ppm so i have to do it myself.
I can run the makefile.pl, that works
Its when i run the nmake that it gives an error

C:\Perl\newmodule>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -c -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DE
S_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -
MD -DNDEBUG -DVERSION=\"0.0.665\" -DXS_VERSION=\"0.0.665\" -IC:\Perl\lib\CO
RE newmodule.cpp
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.


I think i need the cl program but where do i get it from?

Thanx in advance
StevoIE
 
Steve,

What C compiler do you have? Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
don't have any c compiler, if i need one and I'm guessing I do, is there a free compiler available for win2k?

Thanx
 
You need to compile Perl extensions using the same compiler that was used to build your copy of Perl, which I know is daunting news.

I believe that Perl can be built using gcc for WindowsXX

I've built Perl on UNIX numerous times, can't be *that* different for WinXX surely....

First of all, downoad the source (a mere 10mb) from
On that page it says

If you have UNIX, or Windows, MS-DOS, VMS, Amiga, QNX, Plan9, MPE/iX, OS/390, BeOS, and a C compilation environment, you should be all set for compilation, the source code kit contains the compilation instructions.

<wry smile>Sounds easy enough... </wry smile> I'll have a go this evening as well. What's the name of your new module? Mike
________________________________________________________________

&quot;Experience is the comb that Nature gives us, after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
From readme.win32.txt in the current stable release

Currently, this port is capable of using one of the following compilers on the Intel x86 architecture:

Borland C++ version 5.02 or later
Microsoft Visual C++ version 4.2 or later
Mingw32 with GCC version 2.95.2 or better

The last of these is a high quality freeware compiler. Support for it is still experimental. (Older versions of GCC are known not to work.)

So... for a free Win32 environment you need Ming32 as well (whatever that is) Mike
________________________________________________________________

&quot;Experience is the comb that Nature gives us, after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top