Redhat Linux 6.5 Perl GD CPAN Module yum -
when try install "gd" (perl -e shell -mcpan ->(next step) cpan[1]> install gd) on redhat 6.5 got error:
-> cpan.pm: building l/ld/lds/gd-2.53.tar.gz
unrecoverable error not find gdlib-config in search path. please install libgd 2.0.28 or higher. if want try compile anyway, please rerun script option --ignore_missing_gd. warning: no success on command[/usr/bin/perl makefile.pl installdirs=site] cpan: yaml loaded ok (v0.90) lds/gd-2.53.tar.gz /usr/bin/perl makefile.pl installdirs=site -- not ok running make test make had problems, won't test running make install make had problems, won't install not read metadata file. falling other methods determine prerequisites failed during command: lds/gd-2.53.tar.gz : writemakefile no '/usr/bin/perl makefile.pl installdirs=site' returned status 512 <-
i tryed install "libgd 2.0.28 or higher" don't find in "yum".
locate libgd (shows):
/usr/lib64/libgd.so.2 /usr/lib64/libgd.so.2.0.0
does know advice?
many perl modules available built , packaged rhel , derivatives such centos. in case of perl-gd, seems available in centos in base repo though not in rhel repo.
however can still use centos repo adding yum configuration. create file /etc/yum.repos.d/cantos.repo
containing:
[centos] name=centos $releasever - $basearch baseurl=http://mirror.centos.org/centos-6/6/os/$basearch/ enabled=0 gpgcheck=0
after should able install perl-gd
yum install --enablerepo centos perl-gd
it looks though current version of perl-gd centos 2.44.
if need newer version that, either need find 3rd party yum repo has later version of libgd available, or compile source. in quick google not find former, recommend download latest source package , install that.
Comments
Post a Comment