Bug #76310 [Opn->Csd]: with-freetype-dir doesn't work with custom prefix

From: Date: Sat, 22 May 2021 13:12:34 +0000
Subject: Bug #76310 [Opn->Csd]: with-freetype-dir doesn't work with custom prefix
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233971@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76310&edit=1

 ID:                 76310
 Updated by:         krakjoe@php.net
 Reported by:        fred5 at originsystems dot co dot za
 Summary:            with-freetype-dir doesn't work with custom prefix
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            GD related
 Operating System:   CentOS 7
 PHP Version:        7.1.17
-Assigned To:        
+Assigned To:        krakjoe
 Block user comment: N
 Private report:     N

 New Comment:

Since we've switched to pkg-config, this problem should have resolved itself in the latest
versions of PHP.


Previous Comments:
------------------------------------------------------------------------
[2020-03-21 16:15:50] cmb@php.net

Well, not quite sure what to do here wrt. PHP 7.3.  As of PHP
7.4.0, pkg-config is used instead of freetype-config, so that
issue should be resolved anyway.

------------------------------------------------------------------------
[2018-09-07 09:47:15] somewheremylove dot nh87 at gmail dot com

Hi, I'm using custom path also has the problem but remove pkg-config made the error no longer
shows up. Sound like a problem with freetype-config from freetype

------------------------------------------------------------------------
[2018-08-31 09:11:37] php-bugs-2018 at ryandesign dot com

fred5, if "[custom directory]/bin/freetype-config --cflags" returns
"-I/usr/include/freetype2", as you say, then it sounds like your complaint is with
freetype-config, not php. It shouldn't be doing that (and doesn't on my system). Maybe
your freetype-config was built wrong, or I've just realized that freetype-config from freetype
2.8 and later uses a different codepath depending on whether or not pkg-config was found at build
time and is still available at runtime. Check your freetype-config, and if it is using pkg-config,
try it without; or if it isn't, try it with.

------------------------------------------------------------------------
[2018-07-04 12:10:44] fred5 at originsystems dot co dot za

Related To: Bug #76324

------------------------------------------------------------------------
[2018-05-14 20:47:12] cmb@php.net

It seems to me we're merely hitting a limitation of
freetype-config here, and the cleanest way to get rid of this
limitation would be to switch to pkg-config (see
<https://bugs.php.net/76324>).

For time reasons I won't be able to have a closer look at this
now, so I'm unassigning myself.  A pull request would certainly be
welcome.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=76310


--
Edit this bug report at https://bugs.php.net/bug.php?id=76310&edit=1


Thread (10 messages)

« previous php.bugs (#233971) next »