Ubuntu安装circos时安装GD失败解决方法小记

Linux 安装circos 方法

详细安装方法:from(Linux下软件安装:Circos) link

用cpanm安装perl模块中GD报错

使用cpanm快速安装GD

sudo ./cpanm --mirror http://mirror163.com/cpan --mirror-only GD

但是出现了以下问题,从对应log文件中发现:No package ‘gdlib’ found

! cannot open file '/home/ubuntu/.cpanm/sources/http%mirror163.com%cpan/02packages.details.txt.gz': No such file or directory opening compressed index
! Couldn't find module or a distribution GD

尝试安装gdlib

sudo apt-get install  libgd-dev

然后再次尝试安装GD,成功

--> Working on GD
Fetching http://mirrors.163.com/cpan/authors/id/R/RU/RURBAN/GD-2.83.tar.gz ... OK
Configuring GD-2.83 ... OK
==> Found dependencies: Test::Fork, Test::NoWarnings
--> Working on Test::Fork
Fetching http://mirrors.163.com/cpan/authors/id/M/MS/MSCHWERN/Test-Fork-0.02.tar.gz ... OK
Configuring Test-Fork-0.02 ... OK
Building and testing Test-Fork-0.02 ... OK
Successfully installed Test-Fork-0.02
--> Working on Test::NoWarnings
Fetching http://mirrors.163.com/cpan/authors/id/H/HA/HAARG/Test-NoWarnings-1.06.tar.gz ... OK
Configuring Test-NoWarnings-1.06 ... OK
Building and testing Test-NoWarnings-1.06 ... OK
Successfully installed Test-NoWarnings-1.06
Building and testing GD-2.83 ... OK
Successfully installed GD-2.83
3 distributions installed
  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值