installing APM on REDHAT 9.0 (freetype2 and gd problem maybe)

From: returnGoodguy (yugdoog_at_uos.ac.kr)
Date: 06/29/05

  • Next message: Tim: "Re: SElinux really needed ?"
    Date: Wed, 29 Jun 2005 14:26:36 +0900
    
    

    I have redhat9.0 on my machine.
    And I'm now installing APM(+ freetype2 + gd2).
    Up to now, here is my installation progress. It's from an installation
    document.

    1. I downloaded following files from their homepages.
      - mysql-4.1.12.tar.gz
      - httpd-2.0.54.tar.gz
      - php-4.3.11.tar.gz
      - freetype-2.1.9.tar.gz
      - gd-2.0.9.tar.gz
      - ZendOptimizer-2.5.10-linux-glibc21-i386.tar.gz

    2. Deleted from my machine all related rpm.
      - rpm -e --nodeps *mysql*
      - rpm -e --nodeps *httpd*
      - rpm -e --nodeps *php*
      (The others were not on my machine.)

    3. Installed mysql.
      - I think there's no problem

    4. Installed freetype2.
      - No problem maybe ?

    5. Here's a bad boy, gd2.
      - Configuration was done. ( ./configure [blah blah.. options] )
      - Also compilled successfully ( make )
      - BUT, installation ( make install ) was failed. Key part of the error
    message is following......

    In file included from gdft.c:55:
    /usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
    hasn't been included yet!"
    /usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always
    use macros to include FreeType header
    files."/usr/local/include/freetype2/freetype/freetype.h:22:2: #error
    "Example:"
    /usr/local/include/freetype2/freetype/freetype.h:23:2: #error " #include
    <ft2build.h>"
    /usr/local/include/freetype2/freetype/freetype.h:24:2: #error " #include
    FT_FREETYPE_H"
    make[1]: *** [gdft.lo] error 1
    make[1]: exit `/usr/local/src/gd-2.0.9' directory
    make: *** [install-recursive] error 1

    Have you ever seen this? I searched a lot thoughout the INTERNET. But I
    couldn't find any helpful solution.
    There are somewhat similar problems, but no solution.
    I cannot solve this problem by myself. Sooooooo I need a help. Please give
    me good advices.


  • Next message: Tim: "Re: SElinux really needed ?"
  • Quantcast