The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache

Discussion in 'EasyApache' started by busbyam, Oct 18, 2007.

  1. busbyam

    busbyam Member

    Joined:
    Oct 17, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    I am trying to install GD and php5 on a trustix box. I was at first confussed that it just seemed to be ignoring the GD flag but when I checked the log file it couldn't find the jpeg libs. So I reinstalled the jpeg libs and the png libs from WHM RPM installer. Now it is failed on the xpm lib.

    I know this is a bit of a silly question but which RPM will reinstall the xpm libs. I thought that it would be the x86free rpm but that doesn't appear in th RPM list. I have run /scripsts/upcp and I am now stuck.

    I am not sure if I can't see the woods for the trees on this one.

    Any clear minded help would be much appreicated.
     
  2. jdlightsey

    jdlightsey Perl Developer III
    Staff Member

    Joined:
    Mar 6, 2007
    Messages:
    126
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston Texas
    cPanel Access Level:
    Root Administrator
    What packags did need to install for Jpeg and PNG? You probably need something like xfree86-devel. On Centos 4 XPM is provided by xorg-x11-devel.
     
  3. busbyam

    busbyam Member

    Joined:
    Oct 17, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    The libjpeg, libjpeg-devel, libpng, libpng-devel.

    I see any rpm in the WHM list that mentions xfree86 or xorg or xpm anywhere

    I am stumped

    Here is the result of an rpm -q -a command

    db4-utils-4.1.25-7tr
    gcc-c++-runtime-3.3.4-3tr
    iputils-0.0.20020927-14tr
    mt-st-0.8-1tr
    popt-1.6.4.1-13tr
    rootfiles-5.5-1tr
    filesystem-2.1.0-6tr
    authconfig-4.2.12-9tr
    bash-2.05.b-13tr
    gawk-3.1.4-1tr
    nc-1.10-8tr
    psacct-6.3.2-6tr
    telnet-0.17-11tr
    words-2-22tr
    ash-0.2-26tr
    findutils-4.1.20-3tr
    bc-1.06-9tr
    man-1.5o-1tr
    mkinitrd-3.4.43-13tr
    rpm-4.0.5-13tr
    tcsh-6.13-1tr
    modutils-2.4.27-1tr
    kudzu-0.99.99-2tr
    sysstat-5.0.6-1tr
    yp-tools-2.9-1tr
    swup-conf-2.7.15-1tr
    tsl-utils-1.6-3tr
    swup-cron-2.7.15-1tr
    automake-1.8.2-5tr
    ncurses-devel-5.3-9tr
    unzip-5.51-3tr
    zlib-devel-1.2.3-1tr
    gcc-cpp-3.3.4-3tr
    strace-4.5.7-1tr
    losetup-2.12b-2tr
    setup-2.2.9-7tr
    initscripts-7.14-22tr
    pam-devel-0.77-12tr
    bandmin-1.6.1-1_newinit
    binutils-2.14-5tr
    gzip-1.3.5-1tr
    python-2.2.3-17tr
    gettext-0.14.6-1tr
    MySQL-bench-5.0.27-0.glibc23
    bzip2-libs-1.0.3-4tr
    glibc-2.3.2-20tr
    gnupg-utils-1.2.8-1tr
    freetype-devel-2.2.1-3tr
    libpcap-0.8.3-3tr
    bind-9.3.4-3tr
    gd-devel-2.0.33-7tr
    courier-authlib-pipe-0.59.2-1cp
    vim-6.4.009-3tr
    openssh-4.7p1-1tr
    exim-4.68-1_cpanel_maildir
    bash-static-2.05.b-13tr
    db4-4.1.25-7tr
    gcc-runtime-3.3.4-3tr
    grep-2.5-11tr
    libcom_err-1.35-3tr
    mktemp-1.13-3tr
    pwdb-0.61.2-3tr
    lsof-4.72-1tr
    libtermcap-2.0.8-27tr
    groff-perl-1.19.1-2tr
    lilo-0.22.6-2tr
    psmisc-21.4-3tr
    tmpwatch-2.9.0-3tr
    cracklib-dicts-2.7-17tr
    htmlinfo-0.1.5-13tr
    passwd-0.68-9tr
    ftp-0.17-10tr
    shadow-utils-4.0.3-21tr
    mkbootdisk-1.2.8-13tr
    dump-0.4b37-1tr
    pump-0.8.19-5tr
    kernel-2.4.31-4tr
    sysklogd-conf-1.4.1-32tr
    perl-5.8.5-10tr
    zlib-1.2.3-1tr
    db4-devel-4.1.25-7tr
    make-3.80-7tr
    flex-2.5.4a-18tr
    ncftp-3.1.9-1tr
    patch-2.5.4-9tr
    m4-1.4.3-1tr
    mdadm-1.7.0-2tr
    agetty-2.12b-2tr
    util-linux-2.12b-2tr
    sudo-1.6.8p12-1tr
    rpm-build-4.0.5-13tr
    libtiff-devel-3.7.3-4tr
    portsentry-1.1-6_newinit
    python-docs-2.2.3-17tr
    openldap-libs-2.1.30-7tr
    MySQL-client-5.0.27-0.glibc23
    bzip2-1.0.3-4tr
    tzdata-2007a-1tr
    gnupg-1.2.8-1tr
    freetype-2.2.1-3tr
    kerberos5-libs-1.3.6-8tr
    bind-utils-9.3.4-3tr
    gd-2.0.33-7tr
    mutt-1.4.2.3-1tr
    courier-authlib-devel-0.59.2-1cp
    vim-syntax-6.4.009-3tr
    openssh-server-4.7p1-1tr
    expat-1.95.8-2tr
    db1-1.85-16tr
    finger-0.17-10tr
    glib-2.2.3-4tr
    libacl-2.2.23-2tr
    pciutils-2.1.11-11tr
    rdate-1.4-1tr
    sash-3.7-1tr
    slang-1.4.9-4tr
    termcap-11.0.1-7tr
    e2fsprogs-1.35-3tr
    gmp-4.1.3-1tr
    less-382-3tr
    rmt-0.4b37-1tr
    crontabs-1.9-2tr
    pam-0.77-12tr
    diffutils-2.8.1-9tr
    procps-3.1.15-3tr
    sed-4.1.2-1tr
    sysvinit-2.85-4tr
    which-2.16-4tr
    rpm-python-4.0.5-13tr
    chkconfig-1.3.8-3tr
    console-tools-0.0.19990829-18tr
    stunnel-4.05-7tr
    sysklogd-1.4.1-32tr
    tsl-gpgkeys-sunchild-2.2-1tr
    postfix-conf-2.1.6-1tr
    lynx-2.8.5-4tr
    tcl-8.4.7-2tr
    db1-devel-1.85-16tr
    iptables-1.2.11-8tr
    libtool-1.5.10-1tr
    libjpeg-devel-6b-5tr
    gcc-3.3.4-3tr
    autoconf-2.59-3tr
    net-tools-1.60-9tr
    mount-2.12b-2tr
    logrotate-3.7.3-1tr
    MySQL-shared-compat-4.0.25-0
    frontpage-2002-SR1.2
    libtiff-3.7.3-4tr
    openssl-0.9.7e-8tr
    python-devel-2.2.3-17tr
    MySQL-devel-5.0.27-0.glibc23
    proftpd-1.3.0atls-0_linuxprivs_newinit
    wget-1.10.2-2tr
    hwdata-0.44-26tr
    libpng-1.2.7-3tr
    libxml2-devel-2.6.15-3tr
    bind-libs-9.3.4-3tr
    fcron-2.9.5.1-6tr
    file-4.12-3tr
    courier-imap-4.1.2-3cp
    vim-tools-6.4.009-3tr
    openssh-clients-4.7p1-1tr
    expat-devel-1.95.8-2tr
    cracklib-2.7-17tr
    expat-libs-1.95.8-2tr
    gdbm-1.8.3-5tr
    libattr-2.4.16-1tr
    mailx-8.1.1-28tr
    ostat-0.2-8tr
    release-2.2-1tr
    newt-0.50.33-11tr
    etcskel-2.2-1tr
    iproute-2.6.9-3tr
    ncurses-5.3-9tr
    cpio-2.5-10tr
    traceroute-1.0-3tr
    coreutils-5.2.1-1tr
    grub-0.92-14tr
    readline-4.3-4tr
    groff-1.19.1-2tr
    slocate-2.7-4tr
    xfsprogs-2.6.13-1tr
    hdparm-5.7-1tr
    module-init-tools-3.1-1tr
    portmap-4.0-33tr
    ypbind-mt-1.17.3-1tr
    swup-2.7.15-1tr
    expect-5.41.0-2tr
    linux-headers-2.4.27-1tr
    gdbm-devel-1.8.3-5tr
    quota-3.12-1tr
    libjpeg-6b-5tr
    gcc-c++-devel-3.3.4-3tr
    bison-1.875-10tr
    login-2.12b-2tr
    initscripts-inittab-7.14-22tr
    dev-2.7.19-7tr
    jwhois-3.2.3-1tr
    logwatch-7.3-1
    cyrus-sasl-2.1.20-8tr
    openssl-devel-0.9.7e-8tr
    python-modules-2.2.3-17tr
    MySQL-shared-5.0.27-0.glibc23
    MySQL-server-5.0.27-0.glibc23
    ed-0.4-1tr
    glibc-devel-2.3.2-20tr
    libpng-devel-1.2.7-3tr
    libxml2-2.6.15-3tr
    tcpdump-3.8.3-4tr
    bind-devel-9.3.4-3tr
    gd-utils-2.0.33-7tr
    courier-authlib-0.59.2-1cp
    rsync-2.6.9-1tr
    openssh-server-config-4.7p1-1tr
    tar-1.16-2tr

    Does this give anyone any clues?

    Any Help Gratefuly Recieved
     
    #3 busbyam, Oct 18, 2007
    Last edited: Oct 18, 2007
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Which version of Trustix?
     
  5. busbyam

    busbyam Member

    Joined:
    Oct 17, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    WHM 11.11.0 cPanel 11.15.0-R17665
    TRUSTIX 2.2 i686 on standard - WHM X v3.1.0
     
  6. busbyam

    busbyam Member

    Joined:
    Oct 17, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Problem Solved and a Solution for others

    Dear All,

    I have now solved the problem that I first posted on this thread. As was identified in other threads the problem with install php with GD support on a trustix box is that there are no xpm support installed by default and no trusitix packages build natively (although I think that it has now been added for version 3.0 and up).

    The way to get round this is to install your own support package.

    I chose to use XFree86.

    All these instructions are done from ssh

    Step 1:

    Choose where you want to place you download source files and create a dir

    mkdir XFree86
    cd XFree86

    Then I used wget to download all of the needed packages from ftp.xfree86.org/pub/XFree86/4.7.0/binaries

    First download any of the Xinstall.sh files and us it to determin which version you need

    sh Xinstall.sh -check

    The result of this will tell you which version you need on your system on mine it was version Linux-ix86-glibc22

    Next you have to download 13 core files from the directory which we have identified. A sample command is

    wget ftp.xfree86.org/pub/XFree86/4.7.0/binaries/Linux-ix86-glibc22/Xinstall.sh


    1. Xinstall.sh The installer script
    2. extract The utility for extracting tarballs
    3. Xbin.tgz X clients/utilities and run-time libraries
    4. Xlib.tgz Some data files required at run-time
    5. Xman.tgz Manual pages
    6. Xdoc.tgz XFree86 documentation
    7. Xfnts.tgz Base set of fonts
    8. Xfenc.tgz Base set of font encoding data
    9. Xetc.tgz Run-time configuration files, part 1
    10. Xrc.tgz Run-time configuration files, part 2
    11. Xvar.tgz Run-time data
    12. Xxserv.tgz XFree86 X server
    13. Xmod.tgz XFree86 X server modules

    Then because we are going to be using the libary to complie php we also need to download in the same way

    4. Xprog.tgz X header files, config files and compile-time libs

    Now we are almost ready, the final step is to run sh Xinstall.sh

    This should install XFree86 for us.

    Now re-run easyapache from whm or /scripts/easyapache and php should compile with GD support

    :D

    For more referances visit xfree86.org

    The next step in this process is (as this is trustix) is to remove most of the XFree86 files that are not needed my php's GD libaries. Once I have worked out which files are not needed I will post a list or to save me some time if anyone happens to know which files are needed could you please post a list
     
Loading...

Share This Page