autoconf
[Top][All Lists]
Advanced

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

Re: Using autoconf with perl?


From: Russ Allbery
Subject: Re: Using autoconf with perl?
Date: 13 Nov 2000 13:53:25 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Paul Lussier <address@hidden> writes:

> The problem I'm having is this.  I've written a utility in perl which
> relies upon a perl library module I've written as well.  I want to be
> able to allow the end-user of my package install it where ever they
> wish.  Part of the problem I have is that perl has a list of built-in
> paths it searches for loadable modules in.  The user may or may not want
> to install my package such that my module ends up in one of these paths.

Are there any non-Perl parts of your package?  If not, you don't want to
use autoconf.  You want to use ExtUtils::MakeMaker, which was designed
specifically for installing Perl scripts and Perl libraries and which
knows how to search through Perl's configuration to find the right places
to install things.

See perldoc ExtUtils::MakeMaker and the man page for h2xs to get an idea
of where to start.  See also the various documentation on how to write a
Perl module (man perlmodlib is a good place to start).

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]