in reply to Re^3: howto uninstall a package/module
in thread howto uninstall a package/module

I used h2xs -AX ABC::Test
Than I installed it like:
perl MakeFile.PL make make install
Now if I type: make uninstall I get the following message:
Uninstall is unsafe and deprecated, the uninstallation was not perform +ed. We will show what would have been done. no packlist file found: at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm l +ine 318. make: *** [uninstall_from_sitedirs] Error 2

Any suggestions ?

Luca

Replies are listed 'Best First'.
Re^5: howto uninstall a package/module
by Anonymous Monk on Mar 02, 2006 at 15:53 UTC
    This is evil, but would work. Reinstall the module you wrote with a version = version + 0.01 . Look at what it says it's doing. (Eg, copying file asdf.pm to /usr/local/perl5/5.8.0/site_perl/asdf.pm or simliar) As an appropriate user, rm -rf those files it says it's copying (if all you're doing is pure perl module). If you used h2xs binding to a library... then you're beyond my knowledge and I wish you good luck... :) Cheers.