CPAN - cpan has no option for removing old builds?

Posted on Wed Jul 9 16:01:33 2008 by hgs
cpan has no option for removing old builds?
Trying to install PDL under cygwin on Vista I've been getting:
Hugh@Home-PC ~ $ cpan -i PDL CPAN: File::HomeDir loaded ok (v0.80) CPAN: Storable loaded ok (v2.18) Going to read /home/Hugh/.cpan/Metadata Database was generated on Tue, 08 Jul 2008 19:02:48 GMT CPAN: YAML loaded ok (v0.66) Going to read /home/Hugh/.cpan/build/ ............................................................................DONE Found 4 old builds, restored the state of 3 Running install for module 'PDL' Running make for C/CS/CSOE/PDL-2.4.3.tar.gz Has already been unwrapped into directory /home/Hugh/.cpan/build/PDL-2.4.3-cVc WIG '/usr/bin/perl5.10.0.exe Makefile.PL' returned status 2, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install Hugh@Home-PC ~ $
I can't see any option for removing the old builds. If I poked around in the metadata directory I could possibly figure out what is going on, but there is the risk that I would corrupt the data.
`cpan -c`
doesn't seem to clear this stuff out. The whole point of CPAN is modules and hence interfaces that one does not break. I should not be having to attempt to clear this out by hand, should I? Is this a missing option, or have I failed to see something that is there? Searching with google has not turned up anything useful. How is it intended that I clear this out so it forgets about old builds and starts afresh, please?
Write a response