missing dejavusansmono in rrdtool pango cairo fontconfig

macports at parvis.nl macports at parvis.nl
Sat Apr 14 03:12:34 UTC 2018


> On 2018-04-14, at 04:49, Joshua Root <jmr at macports.org> wrote:
> 
> On 2018-4-14 12:21 , macports at parvis.nl <mailto:macports at parvis.nl> wrote:
>> 
>>> On 2018-04-13, at 19:02, macports at parvis.nl <mailto:macports at parvis.nl>
>>> <mailto:macports at parvis.nl <mailto:macports at parvis.nl>> wrote:
>>> 
>>> port -dv install pango +quartz +x11
>>> 
>>> i see : pango: checking which cairo font backends could be used...
>>> quartz freetype --> NO fontconfig
>>> 
>>> in the Cairo port are several andbales and disables but nothing for
>>> fontconfig. could that be my problem?
>> 
>> Nope.
>> 
>> one step further:
>> 
>> for fontconfig cairo needs variant +opengl so it becomes cairo +opengl
>> +quartz +x11.
>> 
>> then pango complains in configure:
>> -----
>> configure:18611: checking for FcWeightFromOpenTypeDouble
>> configure:18611: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall
>> -I/opt/macp2/include -L/opt/macp2/lib -Wl,-headerpad_max_install_names
>> -arch x86_64 conftest.c  -L/opt/macp2/lib -lfontconfig -lfreetype >&5
>> Undefined symbols for architecture x86_64:
>>   "_FcWeightFromOpenTypeDouble", referenced from:
>>       _main in conftest-b4df1e.o
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> -----
>> 
>> note -lfontconfig
>> 
>> i installed fontconfig -universal.
> 
> <https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcweightfromopentypedouble.html <https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcweightfromopentypedouble.html>>
> 
> Note the part at the bottom: "Since version 2.12.92"
> 
> The fontconfig port is currently at version 2.12.6.
> 
> - Josh

I missed that, so pango needs a function that is not yet not available in fontconfig.

the implication is that rrdtool never could have worked with is own default fonts dejavu.

i think i have to make a ticket about this.

paul.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180414/698edd53/attachment.html>


More information about the macports-dev mailing list