libXfont not installing

james oscartheduck at gmail.com
Tue Oct 30 09:25:58 PDT 2007


Hi folks,

I'm having issues getting libXfont installed from ports. It's a
requirement of a lot of different things, such as xorg, xpdf etc.

The problem that ran up to this was a while back, upgrading x11 from 6.9
to 7.2, I apparently borked it but didn't notice. I remembered
everything as going off smoothly, but then the upgrade to 7.3 broke. I
checked pkg_info and found that some of the x11 components were still at
6.9, some were at 7.2, and some were at 7.3. So that was bust.

I managed to get x updated consistently to 7.3, but libXfonts errored.
And has been erroring for a long, long time. I can't seem to get this
one ironed out.

It *looks* like a library is being called on that shouldn't be.


Here's the relevant output:



===>    Verifying install for /usr/local/libdata/xorg/libraries
in /usr/ports/x11/xorg-libraries
===>  Vulnerability check disabled, database not found
===>  Extracting for xorg-libraries-7.3_1
===>  Patching for xorg-libraries-7.3_1
===>  Configuring for xorg-libraries-7.3_1
===>  Installing for xorg-libraries-7.3_1
===>   xorg-libraries-7.3_1 depends on
file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   xorg-libraries-7.3_1 depends on
file: /usr/local/libdata/pkgconfig/xfont.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xfont.pc
in /usr/ports/x11-fonts/libXfont
===>  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.
*** Error code 1





More information about the freebsd-ports mailing list