On Mon, Oct 12, 1998 at 03:34:15PM -0700, Jack Killpatrick wrote:
> Perl folks:
> 
> I just did a new install of Perl on my NT Workstation. I'm trying to install
> the DBi perl module. I can run:
> 
> perl Makefile.pl
> 
> but when I try to do
> 
> make
> 
> I get a message that makes me think that make has to be in a path. Haven't
> had this problem before, so I'm not sure what to do. I looked for a file
> called make.*, but no luck.

"make" is a Unix command that's designed to maintain groups of programs.
It uses transformation and dependency rules to automatically execute
only the necessary commands to rebuild executables (or other targets).

For example:

        foo.o:  foo.c
                cc -c foo.c

        foo:    foo.o
                cc -o foo foo.o

is a simple (and rather redundant) Makefile which will Do The Right Thing
when invoked with

        make foo.o

or 

        make foo

The genius of make is that it uses the timestamps on files to only
rebuild those which depend on files which have been modified more
recently.  One of the joys of Unix is doing:

        cd /usr/src
        make install

and having every single executable on the system get rebuilt
and reinstalled while you go grab lunch.

Make expects to find these rulesets in files named either "Makefile"
or "makefile"; but given that you're on NT, I doubt you have "make"
available.  My guess is that somebody has written a pseudo-Makefile
suitable for consumption by Perl to be used during the install
process and that you're not supposed to be trying to run "make"...
but that's just a guess.

---Rsk
Rich Kulawiec
[EMAIL PROTECTED]
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to