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

Re: [coldsync-hackers] Perl



On Thu, Mar 07, 2002 at 02:53:12PM -0500, Daniel Lemire wrote:
> I "made" coldsync from very latest version. However, somehow, coldsync 
> installs ColdSync.pm and other files in
> /usr/local/lib/site_perl/5.6.0/ColdSync.pm
> 
> This is wrong!
> 
> I fixed it by doing...
> 
> sudo cp /usr/local/lib/site_perl/5.6.0/* -r /usr/lib/perl5/site_perl/5.6.0/
> 
> I'm no perl expert, so I don't know what is going on.
> 
> I have redhat 7.1.

	Perl under Redhat is broken: it wants to put locally-installed
modules in /usr, instead of /usr/local . This violates a hidden
assumption in the ColdSync Makefiles: that the Perl stuff goes in a
subdirectory of ${PREFIX}.
	The workaround is to build ColdSync without the Perl stuff,
then install the Perl modules separately:

		./configure --without-perl
		make
		make install
		cd perl/ColdSync
		perl Makefile.PL
		make
		make install

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com                      views of ooblick.com
     Real mathematicians are a subset of complex mathematicians.

-- 
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.