You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by BH...@ecnnews.com on 2004/08/09 21:10:49 UTC

Unintal v.1, install v.2 question

On a Linux system, I am having trouble uninstalling Mod Perl 1.29
during my install of Mod Perl 2

[root@dedicated mod_perl-1.99_14]# perl Makefile.PL APACHE_SRC
=../httpd-2.0.50/src \
> DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
Reading Makefile.PL args from @ARGV
mod_perl/1.29 installation detected...[  error] not ok
[  error] cannot install mod_perl/1.99_14 on top of mod_perl/1.29
[  error] use MP_INST_APACHE2=1 option or to force installation delete:
 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm


I checked the path to the mod_perl.pm and the file is not there.

How do I uninstall 1.29 so that I can have only version 2?

============================
Brian Hall
Webmaster
Eagle-Tribune Publishing Company




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Unintal v.1, install v.2 question

Posted by Stas Bekman <st...@stason.org>.
BHall@ecnnews.com wrote:
> On a Linux system, I am having trouble uninstalling Mod Perl 1.29
> during my install of Mod Perl 2
> 
> [root@dedicated mod_perl-1.99_14]# perl Makefile.PL APACHE_SRC
> =../httpd-2.0.50/src \
> 
>>DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
> 
> Reading Makefile.PL args from @ARGV
> mod_perl/1.29 installation detected...[  error] not ok
> [  error] cannot install mod_perl/1.99_14 on top of mod_perl/1.29
> [  error] use MP_INST_APACHE2=1 option or to force installation delete:
>  /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm
> 
> 
> I checked the path to the mod_perl.pm and the file is not there.
> 
> How do I uninstall 1.29 so that I can have only version 2?

Something like:

find /usr/lib/perl5/ | grep mod_perl | xargs rm -rf
find /usr/lib/perl5/ | grep Apache   | xargs rm -rf

note that it'll nuke any other Apache modules, but it's probably a good 
thing.

You probably also have 
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/mod_perl/.packlist
which you could feed to rm.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html