[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] coldsync install and perl
On Sat, Apr 21, 2001 at 05:10:31PM -0400, Matt Cashner wrote:
> the coldsync install is not paying any attention to where perl modules are
> actually installed and is forcing ColdSync.pm and companions into
> /usr/local/lib. this is nasty. the perl tree has a Makefile.PL which if
> left alone will figure things out for you. worst case scenario use
> Config; and Config.pm has that information.
How are you configuring, how are you installing, and exactly
what problem are you seeing?
"perl/ColdSync/Makefile.PL" uses the MakeMaker module because
your local Perl installation has a far better idea of where things go
than I do. If you leave it alone, it ought to find where to put
things.
If you're talking about the fact that 'make install' installs
in /usr/local/lib/perl5/site_perl/5.005/ColdSync.pm rather than
/usr/libdata/perl/5.00503/ColdSync.pm, that's a feature, not a bug.
The Makefile.PL uses "'INSTALLDIRS' => 'site'", since ColdSync.pm is a
local add-on module, not part of the main Perl distribution.
Beyond that, the only bit of real weirdness in Makefile.PL is
that it replaces the literal string "/usr/local" (or whatever your
Config.pm sets the prefix to) to the literal string "${PREFIX}". This
is to allow you to have different configure-time and install-time
values of $PREFIX.
> do i need to patch the hell out of the install process or will one of the
> actual developers take a look at this? let me know.
You sound angry. I honestly think you ought to calm down, take
a stress pill, and think things over. This sort of thing has cropped
up before, and it has always been attributable to human error. (Hey,
it's 2001 :-) )
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
User error. Replace user and press any key to continue.
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.