[MacPorts] #15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7
#15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7 --------------------------------------+------------------------------------- Reporter: reine.kurth@free.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 fontconfig freetype | --------------------------------------+------------------------------------- {{{ sudo port install php5 +apache2 +mysql5 +postgresql83 +sqlite }}} on Mac OS 10.5.4[[BR]] with apache2 and mysql5 already successfully installed from MacPorts. During the installation of dependencies, namely fontconfig, the following error occurs: {{{ checking for freetype-config... no configure: error: You must have freetype installed; see http://www.freetype.org/ }}} But freetype ''is'' installed and freetype-config is present in /opt/local/bin. -- Ticket URL: <http://trac.macports.org/ticket/15990> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7 ----------------------------------+----------------------------------------- Reporter: reine.kurth@free.fr | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 fontconfig freetype ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * cc: jwa@macports.org (added) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org -- Ticket URL: <http://trac.macports.org/ticket/15990#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7 ----------------------------------+----------------------------------------- Reporter: reine.kurth@free.fr | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 fontconfig freetype ----------------------------------+----------------------------------------- Comment (by ryandesign@macports.org): Can you please attach php's config.log? -- Ticket URL: <http://trac.macports.org/ticket/15990#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7 ----------------------------------+----------------------------------------- Reporter: reine.kurth@free.fr | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 fontconfig freetype ----------------------------------+----------------------------------------- Comment (by reine.kurth@free.fr): Replying to [comment:2 ryandesign@macports.org]:
Can you please attach php's config.log?
Well I cannot find a config.log file for php itself (ran find config.log under /opt/local) but here is the fontconfig one. And... my mystake, I had messed with the macports.conf file after another error I had encountered earlier. Seemed also to be a path problem so I had added the line {{{ binpath ${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin:${x11prefix}/bin }}} (default value taken from the MacPorts Guide - but apparently this variable does not exist anymore!) This had seemed to work but maybe it was just a coincidence? Anyway now that I have removed it fontconfig installed without error! -- Ticket URL: <http://trac.macports.org/ticket/15990#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15990: php5-5.2.6 Configure error for fontconfig-2.6.0 with freetype-2.3.7 ----------------------------------+----------------------------------------- Reporter: reine.kurth@free.fr | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 fontconfig freetype ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => invalid Comment: You need to expand variables in the binpath. So you need to write "binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin", not "binpath ${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin:${x11prefix}/bin". Because you had not expanded the variables, /opt/local/bin, where freetype-config lives, was not in the path. That is why fontconfig could not find it. Changing the binpath variable is not recommended. The best idea is to remove it from the macports.conf. -- Ticket URL: <http://trac.macports.org/ticket/15990#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts