Although I successfully installed GD on Windows using Strawberry, I have spent many hours trying to install the Perl module GD on Opensuse with no success. I have followed tutorials, manually installed, installed with CPAN, CPANM, tried older versions, went through YAST2 ... still nothing. I am new to linux and Perl, so please bear with me. Here is the output when I try to run circos:

missing GD error Can't locate loadable object for module GD in @INC (@INC conta +ins: /home/admin/bin/circos/bin/lib /home/admin/bin/circos/bin/../lib + /home/admin/bin/circos/bin /home/Downloads/GD-2.56 /usr/lib/perl5/si +te_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.2 +0.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/ +lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-threa +d-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at (eval 24 +) line 1.Compilation failed in require at (eval 24) line 1. missing GD::Polyline error Attempt to reload GD.pm aborted.Compilation failed in require +at /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi/GD/Polyl +ine.pm line 45.

and here is the output when I try Makefile.PL:

** WARNING: found gd.h header file in /usr/local/include/gd.h, but it +is expected at /usr/include/gd.h. This may cause compile errors! ** ** Possible problems found **

issues with make:

Can't write-open blib/man1/bdf2gdfont.pl.1: Permission denied at /usr/ +lib/perl5/5.20.1/ExtUtils/Command/MM.pm line 145. Makefile:450: recipe for target 'manifypods' failed make: *** [manifypods] Error 13

cpan thinks GD is installed, but running bin/circos -modules shows it isn't...


In reply to GD and GD:Polyline by last_reso

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.