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

From: Date: Sat, 21 Mar 2020 16:15:50 +0000
Subject: Bug #76310 [Opn]: with-freetype-dir doesn't work with custom prefix
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226200@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: cmb@php.net Reported by: fred5 at originsystems dot co dot za Summary: with-freetype-dir doesn't work with custom prefix Status: Open Type: Bug Package: GD related Operating System: CentOS 7 PHP Version: 7.1.17 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2018-05-14 16:33:32] fred5 at originsystems dot co dot za bump. apologies for push on this but it as configure is generated dynamically this is a a real problem for our automated build and I would greatly appreciate knowing whether this has been accepted as a real bug and whether I can expect a fix to appear. thanks ------------------------------------------------------------------------ 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

« previous php.bugs (#226200) next »