OpenJDK build and libfreetype

David Holmes david.holmes at oracle.com
Wed Oct 24 18:20:31 PDT 2012


On 24/10/2012 9:49 PM, Magnus Ihse Bursie wrote:
> On 2012-10-24 03:16, David Holmes wrote:
>> Probably a FAQ but I just tried to force an OpenJDK build of my forest
>> and it failed:
>>
>> /usr/bin/ld: cannot find -lfreetype
>>
>> what do I have to set to make this work?
>
> You have to specify --with-freetype to configure, pointing to your
> freetype installation.

I don't normally so it is finding it itself for non-openjdk builds.

> I'm not sure why a missing freetype wasn't caught by configure, though.

Me neither. All I'm changing is whether it is an openjdk build or not.

The good news is that --with-java-path fixed it for me.

David

> On the other hand, the freetype handling in configure is currently
> really crappy, so I'm not surprised. (I'm hoping I'll have enough time
> to fix that before I leave.)
>
> /Magnus



More information about the build-infra-dev mailing list