Community Forum

Resolved
0 votes
I would like to know if it is possible to install GD Library and / or ImageMagick.
If yes, how do I do that (I'm a newbie, sorry).
Sunday, January 10 2010, 07:55 AM
Share this post:
Responses (17)
  • Accepted Answer

    Jeff
    Jeff
    Offline
    Friday, August 23 2013, 07:32 AM - #Permalink
    Resolved
    0 votes
    Tim,

    I'm trying to install php-dom, php-mcrypt and php-gd for a magento install on Clearbox running 5. I have installed and upgrade PHP using you timb-testing repo but now get the following (same as above) when trying to install the modules. any idea how to correct this?

    =============================================================================
    Package Arch Version Repository Size
    =============================================================================
    Installing:
    php-mcrypt i686 5.3.8-5.clearos timb-testing 46 k
    php-xml i686 5.3.8-5.clearos timb-testing 209 k
    Installing for dependencies:
    php-common i686 5.3.8-5.clearos timb-testing 989 k

    Transaction Summary
    =============================================================================
    Install 3 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 1.2 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running rpm_check_debug
    ERROR with rpm_check_debug vs depsolve:
    Package php-pdo needs php-common = 5.3.19-1.clearos, this is not available.
    Package php-cli needs php-common = 5.3.19-1.clearos, this is not available.
    Package php-mbstring needs php-common = 5.3.19-1.clearos, this is not available.
    Package php-ldap needs php-common = 5.3.19-1.clearos, this is not available.
    Package php needs php-common = 5.3.19-1.clearos, this is not available.
    Package php-imap needs php-common = 5.3.19-1.clearos, this is not available.
    Complete!

    Thanks!

    Jeff
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 08 2013, 11:07 PM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
  • Accepted Answer

    Charles
    Charles
    Offline
    Monday, January 07 2013, 10:27 PM - #Permalink
    Resolved
    0 votes
    How to install GD Library and ImageMagick on clearos 6?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, November 23 2012, 10:16 AM - #Permalink
    Resolved
    0 votes
    yum --enablerepo=timb-testing install php-xml php-mcrypt
    ?
    The reply is currently minimized Show
  • Accepted Answer

    anwoke8204
    anwoke8204
    Offline
    Friday, November 23 2012, 09:32 AM - #Permalink
    Resolved
    0 votes
    ok, I got that installed, but now im trying to install php-xml and am getting the same issues.

    Running rpm_check_debug
    ERROR with rpm_check_debug vs depsolve:
    Package php-pdo needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-cli needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-ldap needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-mbstring needs php-common = 5.3.8-5.clearos, this is not available.
    Package php needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-gd needs php-common = 5.3.8-5.clearos, this is not available.
    Complete!

    I need to install php-xml and php-mcrypt

    any ideas how I can fix this? im trying to install ajaxplorer
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 21 2012, 01:38 PM - #Permalink
    Resolved
    0 votes
    Looks like you have installed PHP from the community testing repo for ClearOS 5.2...so to install your extension with the same version (not the version in the main repos) run the following
    yum --enablerepo=timb-testing install php-gd
    service httpd restart
    The reply is currently minimized Show
  • Accepted Answer

    anwoke8204
    anwoke8204
    Offline
    Wednesday, November 21 2012, 03:40 AM - #Permalink
    Resolved
    0 votes
    hi, im trying to install gd library and I get the following when I run yum install gd gd-devel php-gd



    ERROR with rpm_check_debug vs depsolve:
    Package php-pdo needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-cli needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-ldap needs php-common = 5.3.8-5.clearos, this is not available.
    Package php-mbstring needs php-common = 5.3.8-5.clearos, this is not available.
    Package php needs php-common = 5.3.8-5.clearos, this is not available.
    Complete!


    I have confirmed that I have php-common 5.3.8-5.clearos installed

    what am I doing wrong here
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 25 2012, 07:13 PM - #Permalink
    Resolved
    0 votes
    I had this very same issue. It looks like if you do the OS upgrade first and then try to run Tim's repo, it fails with the current messages. I followed the previous poster's steps and was able to install GD cleanly. Took a day to figure out!

    It's probably fine in 6.x. We're stuck with 5.2 until the update scripts are sent out for those of us using ClearBox.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 30 2011, 12:24 PM - #Permalink
    Resolved
    0 votes
    That is the long way round!

    The php-gd library has been there all the time, but the 'upgrade' command will only upgrade what you have already installed :)
    The reply is currently minimized Show
  • Accepted Answer

    w1z4rd
    w1z4rd
    Offline
    Monday, August 29 2011, 10:02 AM - #Permalink
    Resolved
    0 votes
    Hey time,

    Thanks... I went the long way around :D

    I first removed php-common (that removed everything associated with it), I then reinstalled everything that was removed from the normal repos (in case I broke lots of stuff.)

    Then I used your repo, and installed it. Basically I took the long way around and it looks like this:

    yum update <==----- This will take a little while

    yum remove php-common <=------ this will remove a ton of stuff, including the conflicting versions

    yum install php <=--- This reinstalls php

    yum install php-mysql horde-imp php-ldap php-imap app-php php-mbstring app-horde php-pdo <=---- this reinstalls everything the remove command removes

    yum install php-gd gd gd-devel <=------ this installs all the GD packages

    However, now we are back to an older version so we need to upgrade php to the newer version:

    yum --enablerepo=timb upgrade php <==--- upgraded php from your repo (except this time it did the gd libraries as well).

    service httpd restart

    All working :D

    Were the GD libraries recently added because Im sure I ran the yum --enablerepo=timb upgrade php command a while back on this server, but didnt check the GD libraries. Either that or I was just being an idiot.

    I meant to come back and reply to this message to update it.
    service httpd restart <=-------------- this restarts apache
    The reply is currently minimized Show
Your Reply