• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

Getting Win32::API to work with Core Perl

I have downloaded the win32::API module which I need to run on a core perl version.  I had to download the activestate version of Perl to create the makefile.  The name is MakeFile with no extension.  I then follow the instructions by typing in nmake MakeFile but it gives me an error of:  NMAKE : fatal error U1073: don't know how to make 'Makefile.PL'
Stop.

Can anyone outline the steps that I need to take to get Win32::API working with my core distribution of perl.  The version of Perl that I am using is 5.005_02 and I am using Visual C++ 4.2.
0
paulca
Asked:
paulca
1 Solution
 
maneshrCommented:
instead of nmake MakeFile, try perl Makefile.PL

0
 
paulcaAuthor Commented:
This is how I created the MakeFile in the first place.  The Makefile.pl was part of the Win32::API zip file.  In API.pm it gave me instructions to first type perl makefile.pl to create a makefile.  I did this and could not figure out what I had to do with MakeFile once it was created.
0
 
maneshrCommented:
typically the steps which i follows as part of install are..

perl Makefile.pl
make
make test
make install

you have completed the first step.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
paulcaAuthor Commented:
Where does make come from?  Is that the file that gets created from perl Makefile.pl
0
 
ozoCommented:
make appears to be nmake on your system.
Makefile is the file that gets created from perl Makefile.pl
0
 
makerpCommented:
with activestate just use the ppm program thats distributed with activestate.

in the zip that you got look in it for the module_name.ppd then unzip and type at cmd prompt

D:\blah\blah\ppm -install module.ppd

if you didnt get the apu module from active state then do

www.activestate.com/packages/zips/

all of the modukes are here and ther eeasy to install with ppm

(perl package manager)

hope ive helped ?
0
 
maneshrCommented:
Here is some info about the make utility.

The make  utility executes a list of shell commands  associated  with each target, typically to create or update a file   of the same name. makefile contains  entries  that  describe  how  to  bring  a target up to date with respect to those on  which it depends, which are called dependencies. Since  each  dependency is a target, it may have dependencies of its own.

Targets, dependencies, and sub-dependencies comprise a  tree  structure  that make  traces when deciding whether or not to rebuild a target.
0
 
christopher sagayamCommented:
try downloading

http://www.activestate.com/ppmpackages/5.005/zips/Win32-API.zip

and follow the instruction in the README file
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now