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

Re: [coldsync-hackers] Perl



I won't argue with this, but shouldn't it go into the Readme then?

There is the issue though that p5-Palm behaves as I expect it to 
(doesn't go to /usr/local). Shouldn't ColdSync behaves like p5-Palm as 
far as Perl is concerned?


Andrew Arensburger wrote:
> 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
> 
> 



-- 
Daniel Lemire, Ph.D.

http://www.ondelette.com/



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