Page 1 of 1

Installing GD and GD::Image on CentOS/Bluequartz system

Posted: 2010/11/13 20:53:22
by Zoro
Dear friends,

We would like to use the features of [url=]GD[/url] within our CentOS/Bluequartz system.

Installed the modules like this:

[quote]yum install gd gd-devel php-gd[/quote]

However, some Perl scripts which reference GD are giving software errors like this:

[quote]Software error:
Can't locate object method "copyRotated" via package "GD::Image" at /home/... line 1258.[/quote]

For reference purposes, here's the server's summary:

[code][root@www user]# uname -rmi
2.6.9-89.0.28.ELsmp i686 i386

[root@www user]# rpm -q centos-release

[root@www user]# ls /etc/yum.repos.d/
BlueQuartz-Base.repo CentOS-Base.repo CentOS-Media.repo mirrors-rpmforge NuOnce.repo rpmforge.repo rpmforge-testing.repo[/code]

How can we install the complete GD modules using the "yum" feature to properly install this software?

Any help from the CentOS community will be highly appreciated.

Thank you.


Re: Installing GD and GD::Image on CentOS/Bluequartz system

Posted: 2010/11/14 08:06:46
by Zoro
[b]Additional notes:[/b]

The following command:
[quote][root@www rootuser]# rpm -qa | grep gd[/quote]


Thus, GD version 2.0.28 is installed. This may be the reason why it does not work on some Perl scripts and gives the "GD::Image" error.

How can I install the [url=]latest GD 2.45 version from CPAN[/url] using the [b]yum[/b] feature without breaking the GUI or CentOS 4 system?

I appreciate any help from the CentOS community. Thank you.


Installing GD and GD::Image on CentOS/Bluequartz system

Posted: 2010/12/07 18:36:37
by pschaff
Please don't [url=]dual-post[/url].

About all I can say about your issues:

1. Bluequartz is not really CentOS.
[url=]Other Voices[/url]
[url=]When CentOS Is Not CentOS[/url]
[url=]Broken Virtual Server[/url]

2. Installing with yum is preferred. Installing cpan modules makes them invisible to the package management system.

Re: Installing GD and GD::Image on CentOS/Bluequartz system

Posted: 2010/12/17 05:42:36
by Zoro
Dear Phil,

Thank you for your message.

In regards to the dual-post, I considered the two messages to be two distinct issues which need to be addressed so that others in similar situations can learn from them. The first issue is installing the GD library on a CentOS 4 server, and the second is a Perl Mail form script which depends on the GD module.

I try to give information about the server in hopes of helping others in similar situations and also for administrators to make it easier for them to offer potential solutions. For your reference, our server is a picture-perfect CentOS 4 with a "BlueQuartz" administration GUI, and gets its updates from mirrors.

As you've mentioned, installing with yum is preferred, and that's exactly what I had thought of and had chosen to do.

[i][b]How exactly can I install the latest [url=]GD module[/url] using yum on a CentOS 4 server?[/b][/i]

I appreciate any help from the community to resolve this issue. Thank you.