#15909: freetype 2.3.7 / php5 5.2.6 - PHP imagettftext broken --------------------------------------------+------------------------------- Reporter: philip@jocks.to | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: php5 freetype imagettftext gd2 | --------------------------------------------+------------------------------- building php5 with {{{ port install php5 +apache +whatever }}} works fine, but calling PHP's imagettftext() causes apache2 to go crazy: {{{ The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug. [Mon Jul 07 18:51:27 2008] [notice] child pid 67161 exit signal Trace/BPT trap (5) }}} [http://discussions.apple.com/message.jspa?messageID=5705589] suggests to rebuild freetype with {{{ --with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no --with- quickdraw-carbon=no }}} changing freetype's Portfile in line 50 to {{{ # --with-old-mac-fonts \ --with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no --with- quickdraw-carbon=no }}} and php5's Portfile in line 94 to {{{ --with-gd \ }}} works. I know, the --with-old-mac-fonts was somehow important to some people and php5 now uses the bundled GD2, but I'm not too familiar with changing stuff in macports, so maybe someone else can, so all the freetype functions in php5 will work again. -- Ticket URL: <http://trac.macports.org/ticket/15909> MacPorts <http://www.macports.org/> Ports system for Mac OS