CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
'nmake' is not recognized as an internal or external command, operable program or batch file.

 



Zerenobsky
Novice

Jul 16, 2009, 10:42 AM

Post #1 of 3 (3626 views)
'nmake' is not recognized as an internal or external command, operable program or batch file. Can't Post

I am new to Perl. As a part of learning client side call to webservices from Perl I have installed ActivePerl in my window machine(XP Professional).

I am trying to install the Template-Toolkit getting the following error:


C:\PerlStdFastClass\Template-Toolkit-2.21.tar\Template-Toolkit-2.21\Template-Too
lkit-2.21>perl Makefile.Pl

Template Toolkit Version 2.21
=============================

Using Win32 defaults.
Run 'perl Makefile.PL TT_HELP' for a summary of options.

The Template Toolkit requires that the AppConfig module (version 1.56
or later) first be installed. This is used by
the 'ttree' program for reading command line options and configuration
files. It is available from CPAN:

http://www.cpan.org/authors/Andy_Wardley/



Template::Stash::XS
-------------------

The Template::Stash module is a core part of the Template Toolkit,
implementing the magic for accessing data using the dot notation.

There is a high speed version, Template::Stash::XS, written in C.
This makes the Template Toolkit run about twice as fast as when using
the regular Template::Stash written in Perl. If you've got a C
compiler on your system then you can elect to have the XS Stash built.
You can also specify that you want to use the XS Stash by default.

Note that as of version 2.15 the XS Stash now supports access to tied
hashes and arrays.

See 'perldoc Template::Config' for further details.

Do you want to build the XS Stash module? [y]
Do you want to use the XS Stash by default? [y]

Checking if your kit is complete...
Looks good
Warning: prerequisite AppConfig 1.56 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for Template::Stash::XS
Writing Makefile for Template

Configuration complete. You should now run 'nmake', 'nmake test' and
then 'nmake install'. See the README file for further information.

C:\PerlStdFastClass\Template-Toolkit-2.21.tar\Template-Toolkit-2.21\Template-Too
lkit-2.21>nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.


How can I make the ‘nmake’ command workable?

Thank you,


FishMonger
Veteran / Moderator

Jul 16, 2009, 11:27 AM

Post #2 of 3 (3625 views)
Re: [Zerenobsky] 'nmake' is not recognized as an internal or external command, operable program or batch file. [In reply to] Can't Post

Did you download/install nmake?

If so, make sure it's in one of the directories of the PATH environment.

Since you installed ActivePerl, it might be easier and better to use the ppm utility.


Quote
C:\TEMP>ppm install Template-Toolkit
Downloading ActiveState Package Repository packlist...not modified
Downloading Template-Toolkit-2.20...done
Downloading AppConfig-1.66...done
Unpacking Template-Toolkit-2.20...done
Unpacking AppConfig-1.66...done
Generating HTML for Template-Toolkit-2.20...done
Generating HTML for AppConfig-1.66...done
Updating files in site area...done
156 files installed



Zerenobsky
Novice

Jul 16, 2009, 1:44 PM

Post #3 of 3 (3621 views)
Re: [FishMonger] 'nmake' is not recognized as an internal or external command, operable program or batch file. [In reply to] Can't Post

Thank you FishMonger . I am able to do through PPM

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives