develooper Front page | perl.macosx | Postings from August 2003

Re: Installing/Uninstalling CPAN modules

Thread Previous
From:
drieux
Date:
August 26, 2003 14:15
Subject:
Re: Installing/Uninstalling CPAN modules
Message ID:
F3810C76-D809-11D7-BF27-0030654D3CAE@wetware.com

On Tuesday, Aug 26, 2003, at 12:20 US/Pacific, Greenhalgh David wrote:

> This may be the wrong forum to ask this...
>
> How do I uninstall a module downloaded from CPAN? Specifically, I 
> cannot get the DBD::MySQL driver to install under OS X. It refuses to 
> find the mysql_config file, and when I run Makefile again with the -L 
> and -I switches it won't work after install.
>
> I am running the Complete MySQL distribution which has worked before, 
> but since this installs into /usr/Library and not /usr/local, I am 
> wondering if the module ignores symlinks to /usr/local. Hence I want 
> to pull everything out and reload the MySQL AB distribution and try 
> again. A quick search shows DBD in dozens of places, in perl/ in DBI/ 
> in mySQL/ etc etc, which ones do I trash?

I just noticed that you have also put up something
to the macOSX group - which may be more useful in all of this.

As a general rule, there is not specific 'uninstall'
mechanism that comes with CPAN modules. But you might
try the

	make uninstall

to see if the package came with one.

You will also probably want to look at how they ran
any 'configure' type things - normally done with the

	perl Makefile.PL

to spin up the Makefile for the make test phase.

HTH...

ciao
drieux

---


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About