Results 1 to 15 of 15
  1. #1
    Join Date
    Jul 2004
    Posts
    873

    * problem with installing gd

    i tried to install gd with updating apache ,it showing these errors :

    configure: error: libjpeg.(a|so) not found.

    also showing this

    warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
    Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/base/packages/libpng10-1.0.13-15.i386.rpm
    Error: You may want to run yum clean or remove the file:
    /var/cache/yum/base/packages/libpng10-1.0.13-15.i386.rpm
    Error: You may also check that you have the correct GPG keys installed

  2. #2
    Join Date
    May 2001
    Location
    HK
    Posts
    3,082

    Smile

    I think the first error means that you do not have the libjpeg installed ~

    Not sure the second one. If you use YUM to install, it should resolve the dependencies ~

  3. #3
    Join Date
    Jul 2004
    Posts
    873
    so how can i install gd ?

  4. #4
    Join Date
    May 2001
    Location
    HK
    Posts
    3,082

  5. #5
    Join Date
    Jul 2004
    Posts
    873
    thanks
    but how can i install yum ?

  6. #6
    Join Date
    Sep 2004
    Location
    Flint, Michigan
    Posts
    5,766
    which OS are you using?

  7. #7
    Join Date
    Jul 2004
    Posts
    873
    centos + cpanel

  8. #8
    Join Date
    Sep 2004
    Location
    Flint, Michigan
    Posts
    5,766
    You should have yum installed already, but in any event.

    rpm -Uvh yum*.noarch.rpm
    edit yum.conf, located in /etc/

    pico -w /etc/yum.conf
    Example yum.conf:

    [main]
    exclude=httpd* mysql* php* perl*
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported
    tolerant=1
    exactarch=1

    [base]
    name=CentOS-$releasever - Base
    baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/os/i386/
    gpgcheck=1

    #released updates
    [update]
    name=CentOS-$releasever - Updates
    baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/updates/i386/
    gpgcheck=1

    #packages used/produced in the build but not released
    [addons]
    PHP Code:
    rpm --import [url]http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3[/url] 
    name=CentOS-$releasever - Addons
    baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/addons/i386/
    gpgcheck=1

    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/extras/i386/
    gpgcheck=1


    Change "http://mirror.pacific.net.au" to a mirror near you, a list can be found here: http://www.centos.org/index.php?opti...ror2&Itemid=84

    rpm --import http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3
    yum upgrade
    yum upgrade may take a while, but you should be all set after that
    Last edited by dollar; 11-16-2004 at 08:32 AM.

  9. #9
    Join Date
    Sep 2004
    Location
    Flint, Michigan
    Posts
    5,766
    since it won't let me edit my post the way i want to, i'll repost part

    rpm --import http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3

    it automatically put in the [URL] tags which I can no remove.

  10. #10
    Join Date
    Jul 2004
    Posts
    873
    thanks !!
    i will do but can u say me YUM is for what ?
    its a package with a lot of programs ? or ?

  11. #11
    Join Date
    Jul 2004
    Posts
    873
    okey this was result , is it ok ?

    Code:
    root@server [~/downloads]# yum upgrade
    Gathering header information file(s) from server(s)
    Server: CentOS-3.3 - Addons
    Server: CentOS-3.3 - Base
    Server: CentOS-3.3 - Extras
    Server: CentOS-3.3 - Updates
    Finding updated packages
    Downloading needed headers
    Finding obsoleted packages
    Resolving dependencies
    Dependencies resolved
    I will do the following:
    [update: libxml2-python 2.5.10-7.i386]
    [update: libxml2 2.5.10-7.i386]
    [update: libxml2-devel 2.5.10-7.i386]
    Is this ok [y/N]: y
    Downloading Packages
    Getting libxml2-2.5.10-7.i386.rpm
    libxml2-2.5.10-7.i386.rpm 100% |=========================| 618 kB    00:00
    Getting libxml2-devel-2.5.10-7.i386.rpm
    libxml2-devel-2.5.10-7.i3 100% |=========================| 1.5 MB    00:01
    Running test transaction:
    Test transaction complete, Success!
    libxml2 100 % done 1/6
    libxml2-python 100 % done 2/6
    libxml2-devel 100 % done 3/6
    Completing update for libxml2-python  - 4/6
    Completing update for libxml2  - 5/6
    Completing update for libxml2-devel  - 6/6
    Updated:  libxml2-python 2.5.10-7.i386 libxml2 2.5.10-7.i386 libxml2-devel 2.5.10-7.i386
    Transaction(s) Complete

  12. #12
    Join Date
    Jul 2004
    Posts
    873
    now can i install GD ?
    also other question i tried to install MRTG but it said just working with cgi mode ! ?
    http://www.host4persian.com/info.php

  13. #13
    Join Date
    Sep 2004
    Location
    Flint, Michigan
    Posts
    5,766
    Originally posted by artin1982
    thanks !!
    i will do but can u say me YUM is for what ?
    its a package with a lot of programs ? or ?
    yum is a tool that is just like up2date if you ever used that on RH9. It is bascially a tool used to make installing other programs very easy. It also is used to keep your server up to date with the latest software so that you don't have security holes all over. Now you can install GD with yum.

    As for MRTG, I have yet to install a copy of it myself, so im not much help there.

  14. #14
    Join Date
    Jul 2004
    Posts
    873
    what about GD ? did u install this yet ?

  15. #15
    Join Date
    Jul 2004
    Posts
    873
    thanks !
    after useing YUM i used apache update and everything was ok ! and gd is working !
    just can u check my php info and see if anythings need to remove or to add ?
    thanks !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •