[Paraview] superbuild: fontconfig too old to compile (current does)

Fabian Wein fabian.wein at fau.de
Tue Oct 24 10:51:09 EDT 2017


Hello to the list,

I have openSUSE tumbleweed with gcc 7.2.1

fontconfig  2.12.1 does not compile with the error at the end of this 
mail.

Building the current fontconfig 2.12.6 works for me, maybe the version
could be upgraded?

Regards,

Fabian

Here is the error:

Performing build step for 'fontconfig'
Making all in fontconfig
Making all in fc-blanks
Making all in fc-case
Making all in fc-lang
Making all in fc-glyphname
Making all in src
   CC       fcatomic.lo
   CC       fcblanks.lo
   CC       fccache.lo
   CC       fccfg.lo
   CC       fccharset.lo
   CC       fccompat.lo
   CC       fcdbg.lo
   CC       fcdefault.lo
   CC       fcdir.lo
   CC       fcformat.lo
   CC       fcfreetype.lo
   CC       fcfs.lo
   CC       fcinit.lo
   CC       fclang.lo
   CC       fclist.lo
   CC       fcmatch.lo
   CC       fcmatrix.lo
   CC       fcname.lo
   CC       fcobjs.lo
   CC       fcpat.lo
fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not 
in a function); did you mean 'PRI_WIDTH_STRONG'?
  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, 
PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                                ^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
  ^~~~~~~~~
fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in 
a function); did you mean 'PRI_WIDTH_WEAK'?
  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, 
PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
 
               ^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
  ^~~~~~~~~
gmake[6]: *** [Makefile:633: fcmatch.lo] Error 1


More information about the ParaView mailing list