[Fontconfig] Compiling fontconfig 2.5.92 on tru64 5.1b

Dan Nicholson dbn.lists at gmail.com
Mon May 5 15:12:47 PDT 2008


On Mon, May 5, 2008 at 11:29 AM, Didier Godefroy <ldg at ulysium.net> wrote:
>
>  Making all in src
>  sh ../src/makealias "../src" fcalias.h fcaliastail.h
>  ../fontconfig/fontconfig.h  ../src/fcdeprecate.h  ../fontconfig/fcprivate.h
>  sh ../src/makealias "../src" fcftalias.h fcftaliastail.h
>  ../fontconfig/fcfreetype.h
>  make  all-am
>  source='fcatomic.c' object='fcatomic.lo' libtool=yes  DEPDIR=.deps
>  depmode=tru64 /bin/bash ../depcomp  /bin/bash ../libtool --tag=CC
>  --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I..
>  -I../src                 -I/usr/local/include/freetype2 -I/usr/local/includ
>  -I/usr/local/include
>  -DFC_CACHEDIR='"/usr/local/fontconfig/var/cache/fontconfig"'
>  -DFONTCONFIG_PATH='"/usr/local/fontconfig/etc"'     -O4 -g3 -pthread -c -o
>  fcatomic.lo fcatomic.c
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
>  -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include
>  -DFC_CACHEDIR=\"/usr/local/fontconfig/var/cache/fontconfig\"
>  -DFONTCONFIG_PATH=\"/usr/local/fontconfig/etc\" -O4 -g3 -pthread -c -MD
>  fcatomic.c  -DPIC -o .libs/fcatomic.o
>  cc: Error: /usr/local/include/inttypes.h, line 88: In this declaration,
>  "ldiv_t" appears to be used as if it named a type, but there is no declared
>  type of that name visible. (typedefnotdef)
>  typedef ldiv_t imaxdiv_t;
>  --------^
>  cc: Error: /usr/local/include/inttypes.h, line 90: Missing ";". (nosemi)
>  extern intmax_t imaxabs __((intmax_t));
>  ------------------------^
>  cc: Error: /usr/local/include/inttypes.h, line 91: In this declaration,
>  "imaxdiv_t" appears to be used as if it named a type, but there is no
>  declared type of that name visible. (typedefnotdef)
>  extern imaxdiv_t imaxdiv __((intmax_t, intmax_t));

Is there any reason you're using a local copy of the C headers in
/usr/local? I have no experience on tru64, but typically Unix systems
have the headers for the system C libraries in /usr/include. Unless
you've configured your system to use alternate C libraries in
/usr/local, I'd expect that you'd want to use the versions in
/usr/include.

--
Dan


More information about the Fontconfig mailing list