[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Help installing modules



On Tue, Jul 14, 1998 at 12:47:16PM -0400, Awrobinson@aol.com wrote:
} In "MacPerl - Power and Ease", it says
} 
}   Sometimes, there are many modules in one archive, as is 
}   the case with LWP (also known as libwww-perl), a set of 
}   modules providing World Wide Web access (see Chapter 17, 
}   Network Programming). It is imperative that each file with 
}   the .pm suffix get installed in its proper directory. 
}   Otherwise, MacPerl will not be able to find (and load) the 
}   required module code.
} 
} It just so happens that LWP is the package I want to install. But what are the

LWP-5.13 comes with MacPerl, so if you're satisfied with an earlier
version, you already have it.

There are Unixisms in the standard LWP distribution that mean that
some of it won't work under MacPerl.  I've maintained a MacPerl port
of LWP for some time, and the current version, 5.35, is available.
You can find it at <http://pobox.com/~schinder/MacPerl.html>.  It's in
the form of a BinHexed Stuffit archive.  (Also available are the other
packages that used to be a part of LWP.)  The easiest thing to do with
it is to unpack it, put the folder somewhere (the site_perl folder in
your MacPerl folder is a good place; if you don't already have one,
make one), and put that folder, the one *containing* LWP.pm in your
library search path.  It should come before MacPerl's lib, otherwise
you'll get the old version.

It's also possible to drag everything into place over the old version
in MacPerl's lib, but that's more of a pain.  LWP is a big package and
gets extensively autosplit, so there are a lot of files to deal with.

An older version of the port, 5.33 I think, is on the CD ROM, I think
in the contrib folder.

} correct directories for the various modules? When I gunzip and untar the
} distribution on the "MacPerl -- Power and Ease" cdrom, the various modules are
} included in a directory named "lib". Looking on the UNIX installation at work,
} the modules reside in the LWP directory under the site_perl directory. The
} LWP.pm file itself resides in the site_perl directory. 
} 
} On the UNIX installation, this scheme seems to apply generally to the modules
} loaded. Is this a general rule for MacPerl? If I find a lib directory with
} auxillary modules in the package distribution, do I copy it into the site_perl
} directory and rename it to the name of the package? Should I expect to find
} some information in the package documentation that tells me the proper
} directory structure?
} 
} Sorry for the really basic question. I'm a brand newbie at MacPerl (but
} looking to get better).
} 
} Thanks!
} 
} Andrew Robinson
----
Paul Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch