Clifford Sobchuk <[email protected]> writes: > I created a new VM and loaded Lubuntu (lxde interface instead of gnome for > lower memory footprint). > > I performed > sudo apt-get install pdl pgplot5 libpgplot-perl gnuplot > this install the 2.4.11 version of PDL > I then tried > cpan upgrade PDL
Stop right there. You installed pdl via APT, then tried doing an update through CPAN. The "cpan" utility is an entirely separate entity from APT; it exists mostly because the various operating systems can't agree on how to manage software installations. You're free to use the "cpan" tool, of course, but be very clear that you're not upgrading the 'pdl' that you just installed via APT. What you ARE doing is installing a second copy of PDL in a different place (wherever it is "cpan" puts things). This can easily cause confusion because when you run software that uses PDL, you're not 100% sure about PDL is actually being picked up. Worse, PDL isn't monolithic, so it could be using pieces from each of those installations, and this can easily break stuff. Your problems could easily be caused by this. What are you really trying to do? Is the goal to install a later version of PDL in some way so that you can run your code that does 'use PDL' and have it work? If so, I'd recommend strongly to either build a new package with the later PDL, or to just build from source and 'use blib' in your code. Or are you trying to have a development environment so that you can build PDL sources using dependencies from APT? If so, you really should make sure only a single PDL is installed. Mixing installations can be done, but it takes great care, and I wouldn't assume at all that it's set up perfectly already. I can help with either of these goals. Ask away. dima. _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
