FreeType crasher: how to recompile ?

Yann Corno yann+macports at daysofwonder.com
Wed Aug 20 13:38:32 PDT 2008


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

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.




More information about the macports-dev mailing list