Failure to Install GD with CPAN: LDS/GD-2.35.tar.gz
I decided to install the GD image library for Perl on my working station, and as usual, using CPAN. However, after running install GD, I was faced with an error.
make: *** [GD.o] Error 1 LDS/GD-2.35.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: LDS/GD-2.35.tar.gz : make NO
Unable to find the cause, I turned to apt-get, which installed GD without any problems.
$ sudo apt-cache search libgd perl libgd-gd2-perl - Perl module wrapper for libgd - gd2 variant libgd-graph-perl - Graph Plotting Module for Perl 5 libgd-text-perl - Text utilities for use with GD ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8 calamaris - log analyzer for Squid or Oops proxy log files libgd-barcode-perl - Library to create barcode images (GD::Barcode) libgd-gd1-noxpm-perl - Perl module wrapper for libgd (old version against GD 1.8.x) libgd-gd1-perl - Perl module wrapper for libgd (old version against GD 1.8.x) libgd-gd2-noxpm-perl - Perl module wrapper for libgd - gd2 variant without XPM support libgd-graph3d-perl - Create 3D Graphs with GD and GD::Graph libgd-perl - Perl module wrapper for libgd libgd-securityimage-perl - Security image (captcha) generator. libgdk-pixbuf-perl - Perl module for the gdkpixbuf library $ sudo apt-get install libgd-perl
Done!

Software Development Guide…
I couldn’t understand some parts of this article, but it sounds interesting…
Trackback by Software Development Guide — November 15, 2007 @ 6:19 pm
I was trying to install GD module through CPAN and faced the problem of unmet dependencies –namely libgd. When I turned to apt-get, I got:
The following packages have unmet dependencies:
libgd-perl: Depends: libgd-gd1-perl (= 1.41-13) but it is not going to be installed
When I tried to install the above dependency using apt-get, I got:
The following packages have unmet dependencies:
libgd-gd1-perl: Depends: perlapi-5.8.8
Now, the version of Perl I am running is 5.10.0.
Does anyone have any ideas as to how to solve this problem.
Thanks in advance.
Comment by Ivan — June 24, 2008 @ 2:03 pm
Ivan: Unfortunately, I cannot help you. Try #linux and #yourdistro on various IRC networks.
Comment by Tim — June 24, 2008 @ 5:26 pm