bugThe FreeType Project - Bugs: bug #52808, Building in a custom directory,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52808: Building in a custom directory, the gd library cannot be built with freetype since version 2.8.*

Submitter:  None
Submitted:  Thu 04 Jan 2018 03:07:08 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Tue 05 Jun 2018 05:49:51 AM UTC, comment #2: 

No response since a long time, thus closing as invalid.

Werner LEMBERG <wl>
Group administrator
Thu 04 Jan 2018 04:33:18 PM UTC, comment #1: 

Please provide the `configure.log' files from

  • FreeType 2.7.1
  • FreeType 2.8.1
  • libgd using FreeType 2.7.1
  • libgd using FreeType 2.8.1


[FreeType's `configure.log' file is in directory `builds/unix'.]

And please test with current git also, if possible!  To do that, you have to run the `autogen.sh' script (so that a `configure' script gets created).  I'm going to release 2.9 within a few days, and in case there is really a bug it would be nice to fix it in time.

Werner LEMBERG <wl>
Group administrator
Thu 04 Jan 2018 03:07:08 PM UTC, original submission:  

When building freetype-2.7.1 in a custom user home directory, I can then build libgd-2.2.4 or libgd-2.2.5 also in the same custom user home directory.

But when building freetype-2.8 or freetype-2.8.1 in the same custom user home directory, the libgd-2.2.4 and libgd-2.2.5 fail to build. The error message says the ft2build.h file cannot be found.

The commands to build freetype:

Download the file freetype-2.7.1.tar.gz from http://www.freetype.org/download.html#stable

The 2.7.1 version is a version that can be built into the GD library. The 2.8 and 2.8.1 version prevented the GD library from building.

Run the configure file
./configure \
  --prefix=/home/stephane/programs/install \
  --with-bzip2

Run the make file
make

Run the make file with the install option
make install

The commands to build gdlib:

Install the zlib library first

Install the jpeg library first

Install the libpng library first

Install the freetype library first

Download the file libgd-2.2.4.tar.gz from https://github.com/libgd/libgd/releases

Run the configure file
./configure \
  --prefix=/home/stephane/programs/install \
  --with-jpeg=/home/stephane/programs/install \
  --with-png=/home/stephane/programs/install \
  --with-freetype=/home/stephane/programs/install \
  --with-zlib=/home/stephane/programs/install \
  --with-xpm

Run the make file
make

Run the make file with the install option
make install


See https://stackoverflow.com/questions/45627349/building-freetype2-in-a-custom-directory-which-must-be-found-when-building-gd

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-05 wl StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2018-01-04 wl StatusNone Need Info
        Assigned toNone wl

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code