On Aug 20, 2008, at 2:38 PM, Yann Corno wrote: > Hello everyone: > > I am suffering from a crasher recently introduced in FreeType (or so > it > seems). After a wild goose chase from Apache to PHP to GD2 to > FreeType, > it boils down to a crash because Apache2 uses fork() without a > corresponding exec() and, upon calling PHP/GD/FreeType, the Carbon > call > in FreeType causes Apache2 to crash. This is what is explained here: > > http://90kts.com/blog/2008/installing-gd-libraries-for-leopard-apache-php-525/#comment-126 > > The next comment in the above link explains that FreeType should be > recompiled with a couple of options off: with-quickdraw-carbon and > with-quickdraw-toolbox > > My question is: how do I do this in MacPort? > > I tried to change the portfile like this: > > configure.args \ > --with-old-mac-fonts \ > --with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no > --with-quickdraw-carbon=no >
That should be working as you expect, but I believe you also need to remove --with-old-mac-fonts to fully get around the CoreFoundation issue. There's also a ticket covering this issue: <http://trac.macports.org/ticket/15909> Bryan > But it does not seem to make any difference. Heck, I am not even sure > that these options carry through down to the compiler. Sorry, I am > such > a MacPort newbee... > > Any advise on what I should do? Should I also rebuild gd2 and php5 > after > that? > > Thanks in advance for your insights, > > Yann > > PS: I am using Mac OS X 10.5.4 on a PowerPC G4 PowerBook machine, and > updated to the latest MacPorts builds. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
