First time using CPAN trying to get module. Why can't i install?
cpan[9]> install GD::Graph
Running install for module 'GD::Graph'
Running make for R/RU/RUZ/GDGraph-1.48.tar.gz
Prepending blib/arch and blib/lib of 18 build dirs to PERL5LIB; for 'get'
Has already been unwrapped into directory /root/.cpan/build/GDGraph-1.48-LBF9mR
Prepending blib/arch and blib/lib of 18 build dirs to PERL5LIB; for 'make'
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't make
Prepending blib/arch and blib/lib of 18 build dirs to PERL5LIB; for 'test'
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
After manual install i got this:
...
Installing /usr/local/share/man/man3/Graph::Matrix.3pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/lib64/perl5/auto/Graph'
mkdir /usr/local/lib64/perl5: File exists at /usr/share/perl5/ExtUtils/Install.pm line 483
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_site_install] Error 17
tar xvzf GDGraph-1.48.tar.gz; cd foo; perl Makefile.PL; make; make test; make install;
) and look at the error messages (which will probably tell you that a c library you are depending on is missing).sudo make install
?make
(not install) or by settingcpan
'sbuild_dir_reuse
to0
.