OpenJDK build and libfreetype

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Oct 25 09:06:34 PDT 2012


Freetype is not used when building with closed sources, so it has not been finding itself, it has never been used. Still, it's weird that configure let you pass without a valid freetype path. What did configure print while checking freetype?

/Magnus

25 okt 2012 kl. 03:20 skrev David Holmes <david.holmes at oracle.com>:

> 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