libXfont not installing properly

James oscartheduck at gmail.com
Thu Oct 25 12:16:34 PDT 2007


I'm having issues with six or seven ports installing. I've traced it back to
two ports that are having issues, one of which is libXfont.

The version I've got installed is:

evolution# pkg_info -Ix libXfont
libXfontcache-1.0.4 The Xfontcache library

The version in ports is 1.3.1


Here's my log:


===>  Building for libXfont-1.3.1,1
make  all-recursive
Making all in src
Making all in fontfile
/bin/sh ../../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.
-I../.. -I../../include/X11/fonts -I../../include
 -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\"
    -Wall -Wpointer-arith -Wstrict-prototypes        -Wmissing-prototypes
-Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe  -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o
fontencc.lo fontencc.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include
-DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\"
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c
fontencc.c  -fPIC -DPIC -o .libs/fontencc.o
fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory
In file included from fontencc.c:35:
../../include/X11/fonts/fontencc.h:32: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:32: warning: function declaration isn't a
prototype
../../include/X11/fonts/fontencc.h:33: error: syntax error before
"font_encoding_find"
../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int' in
declaration of `font_encoding_find'
../../include/X11/fonts/fontencc.h:33: warning: data definition has no type
or storage class
../../include/X11/fonts/fontencc.h:34: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:34: warning: function declaration isn't a
prototype
fontencc.c: In function `font_encoding_from_xlfd':
fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD'
fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD'
fontencc.c:42: warning: return makes pointer from integer without a cast
fontencc.c: At top level:
fontencc.c:46: error: syntax error before "font_encoding_find"
fontencc.c:47: warning: return type defaults to `int'
fontencc.c: In function `font_encoding_find':
fontencc.c:48: warning: implicit declaration of function `FontEncFind'
fontencc.c:48: warning: nested extern declaration of `FontEncFind'
fontencc.c: At top level:
fontencc.c:53: error: syntax error before "FontEncPtr"
fontencc.c:54: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_recode':
fontencc.c:55: error: `encoding' undeclared (first use in this function)
fontencc.c:55: error: (Each undeclared identifier is reported only once
fontencc.c:55: error: for each function it appears in.)
fontencc.c:55: error: `mapping' undeclared (first use in this function)
fontencc.c :59: warning: implicit declaration of function `FontEncRecode'
fontencc.c:59: warning: nested extern declaration of `FontEncRecode'
fontencc.c:59: error: `code' undeclared (first use in this function)
fontencc.c: At top level:
fontencc.c:64: error: syntax error before "FontEncPtr"
fontencc.c:65: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_name':
fontencc.c :66: error: `encoding' undeclared (first use in this function)
fontencc.c:66: error: `mapping' undeclared (first use in this function)
fontencc.c:70: warning: implicit declaration of function `FontEncName'
fontencc.c:70: warning: nested extern declaration of `FontEncName'
fontencc.c:70: error: `code' undeclared (first use in this function)
fontencc.c:70: warning: return makes pointer from integer without a cast
fontencc.c: In function `identifyEncodingFile':
fontencc.c:76: warning: implicit declaration of function `FontEncIdentify'
fontencc.c:76: warning: nested extern declaration of `FontEncIdentify'
fontencc.c :76: warning: return makes pointer from integer without a cast
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont- 1.3.1/src.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont.



Can anyone see what's going on?

Thanks!

James


More information about the freebsd-ports mailing list