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

Re: [cobalt-users] RaQ4i : Perl / LWP update



On 14 Nov 2003 at 13:33, Richard Abrams wrote:

> Hi folks - bit of a panic here...
> 
> Was doing some work to integrate a clients website with Barclays (UK bank)
> online purchasing system and needed to update LWP::UserAgent to a more recent
> version to enable a script to work.
> 
> Gave perl -MCPAN -e shell the command "install LWP::UserAgent" and it happily
> went off looking for dependancies and installing as I specified. However it's
> now saying "Sources for perl5 found in "/root/.cpan/build/perl-5.8.2" and
> "Beginning of configuration questions for perl5". I get the distinct impression
> that I've done something that I didn't want to do and now my perl installation
> is going to be trashed. Sat at a prompt presently waiting your expert advice.
> 
> Thanks in advance.
> 
> -
> Richard Abrams
> artejano-dbh ltd.

Hi,

Don't let it install, cancel out now, otherwise the GUI will be trashed.

You're best bet is to go to:

	http://search.cpan.org

Search for the module you want, download the .tar.gz file and compile it 
manually.

This is easier than it sounds ;)


First unpack the file with

	tar -zxvf <filename-version>.tar.gz

move in to the directory

	cd <filename-version>

Read all the install/readme documents.

The usually way to compile is:

	perl Makefile.PL
	make
	make test
	make install

But it may be different for the module you want.

Regards

Ian
--