Cannot install GD module on darwin 13.0.1 using cpan

前端 未结 2 1322
名媛妹妹
名媛妹妹 2021-01-19 13:09

I\'m having a tough job trying to get GD installed. I\'m running a Mas OSX 10.9.2 darwin 13.0.1 When I run this: cpan[1]> install GD perl -MCPAN -e shell

I g

2条回答
  •  孤独总比滥情好
    2021-01-19 13:26

    I'm not sure about doing this on OSX, but I recently had similar problems with installing CPAN modules on CentOS.

    Some prerequisite modules simply wouldn't install properly from CPAN. These modules had RPMs available. After installing some of the prerequisites via yum, I was able to get CPAN to install the modules I needed.

    In particular, I had to install Module-Build and Archive-Tar (which brought in a number of other dependency rpm's) using yum.

    Hope this helps.

提交回复
热议问题