How to install Perl GD module in SLES12 SP2

I installed SLES12 SP2 on a 64 bit Intel VM. When trying to install the module GD in Perl, I run into problems. GD requires different libraries/packages, but whatever I try to install everything required, I am not able to cleanly resolve all references.

Can somebody tell me what do install in which order to get the Perl module GD installed?

Franz

[QUOTE=Foko;39055]I installed SLES12 SP2 on a 64 bit Intel VM. When trying to install the module GD in Perl, I run into problems. GD requires different libraries/packages, but whatever I try to install everything required, I am not able to cleanly resolve all references.

Can somebody tell me what do install in which order to get the Perl module GD installed?

Franz[/QUOTE]

Have you tried to install it from packagehub?

https://packagehub.suse.com/packages/perl-gd/

Thomas

On 10/08/17 14:24, Foko wrote:
[color=blue]

I installed SLES12 SP2 on a 64 bit Intel VM. When trying to install the
module GD in Perl, I run into problems. GD requires different
libraries/packages, but whatever I try to install everything required, I
am not able to cleanly resolve all references.

Can somebody tell me what do install in which order to get the Perl
module GD installed?[/color]

I don’t believe SUSE provide the perl-GD package for SLES12 SP2 (it’s
not included on the SLES or SDK media or via the Web & Scripting or
Toolchain modules).

How are you trying to install the Perl GD module? Since SUSE don’t
provide it I think you have a few options, all unsupported by SUSE:

  • install a build for SUSE SLE-12 SLE-Module-Toolchain available from
    the openSUSE Build Service[1]
  • download the source code for the Perl GD module and compile
  • install the Perl GD module via CPAN[2]

HTH.

[1] https://software.opensuse.org/package/perl-GD
[2]
https://www.suse.com/communities/blog/how-add-additional-perl-modules-your-linux-installation/

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

What I started with was to get the Perl GD module from CPAN and to install it using Perl. Then the make process aborts because it does not find gd.h, which is part of some devel package. But whatever I do to resolve the chain of dependencies, it will never come to an end.

I also tried to install the perl-GD package from the SUSE Package Hub. It complains about the Perl version (it wants 5.16, I have 5.18). When I ignore this, it says “Signature verification failed …”. When ignoring this too, the package gets installed, but I cannot observe any effect. Perl apparently knows nothing about it. The GD module is not available. - Or did I misunderstand the meaning of the perl-GD package?

Problem solved. I found a newer version of the perl-GD package (perl-GD-2.56-1.1.x86_64.rpm) at http://rpm.pbone.net/index.php3/stat/4/idpl/35567224/dir/opensuse/com. Installation works without problems. Thanks for your hints.

Franz