Possibly self-induced xlib build failure

sp0rkmail sp0rkmail at brainguts.no-ip.com
Wed May 26 18:48:54 PDT 2004


Hey guys,

I got xorg-server to install great once, but then soon discovered that 
it doesn't seem to install any fonts by default (or any that i could 
find and point to in my xorg.conf), so after installing, deinstall, 
pkg_deleting, etc several ports, I decided to scrap the whole thing and 
start over.  Upon starting over, xlibs dies at libXrandr...here's the 
output:

===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xproto.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xextensions.pc
- found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/ice.pc 
- found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/sm.pc - 
found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/x11.pc 
- found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xau.pc 
- found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xaw.pc 
- found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xcomposite.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xcursor.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xdamage.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xdmcp.pc - found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xext.pc 
- found===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xfixes.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xfont.pc - found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xi.pc - 
found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xinerama.pc - found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xmu.pc 
- found
===>   xlibs-1.0.1 depends on file: /usr/X11R6/libdata/pkgconfig/xpm.pc 
- found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xrender.pc - found
===>   xlibs-1.0.1 depends on file: 
/usr/X11R6/libdata/pkgconfig/xrandr.pc - not found
===>    Verifying install for /usr/X11R6/libdata/pkgconfig/xrandr.pc in 
/usr/ports/x11/libXrandr
===>  Building for libXrandr-1.0.2_1
gmake  all-am
gmake[1]: Entering directory `/usr/ports/x11/libXrandr/work/libXrandr-1.0.2'
if /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.    
-DXTHREADS -DXUSE_MTSAFE_API -I/usr/X11R6/include   -DXTHREADS 
-DXUSE_MTSAFE_API -I/usr/X11R6/include   -O -pipe -mcpu=pentiumpro 
-DMALLOC_0_RETURNS_NULL -MT Xrandr.lo -MD -MP -MF ".deps/Xrandr.Tpo" \
  -c -o Xrandr.lo `test -f 'Xrandr.c' || echo './'`Xrandr.c; \
then mv -f ".deps/Xrandr.Tpo" ".deps/Xrandr.Plo"; \
else rm -f ".deps/Xrandr.Tpo"; exit 1; \
fi
 cc -DHAVE_CONFIG_H -I. -I. -I. -DXTHREADS -DXUSE_MTSAFE_API 
-I/usr/X11R6/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/X11R6/include 
-O -pipe -mcpu=pentiumpro -DMALLOC_0_RETURNS_NULL -MT Xrandr.lo -MD -MP 
-MF .deps/Xrandr.Tpo -c Xrandr.c  -fPIC -DPIC -o .libs/Xrandr.o
In file included from Xrandr.c:33:
Xrandrint.h:37:34: X11/extensions/randr.h: No such file or directory
Xrandrint.h:38:39: X11/extensions/randrproto.h: No such file or directory
In file included from Xrandrint.h:39,
                 from Xrandr.c:33:
Xrandr.h:30:34: X11/extensions/randr.h: No such file or directory
In file included from Xrandrint.h:39,
                 from Xrandr.c:33:
Xrandr.h:55: error: syntax error before "SizeID"
Xrandr.h:89: error: syntax error before "Rotation"
Xrandr.h:97: error: syntax error before "Rotation"
Xrandr.h:102: error: syntax error before "XRRConfigRotations"
Xrandr.h:102: error: syntax error before "Rotation"
Xrandr.h:102: warning: data definition has no type or storage class
Xrandr.h:110: error: syntax error before "XRRConfigCurrentConfiguration"
Xrandr.h:111: error: syntax error before "Rotation"
Xrandr.h:111: warning: data definition has no type or storage class
Xrandr.h:136: error: syntax error before "XRRRotations"
Xrandr.h:136: error: syntax error before "Rotation"
Xrandr.h:136: warning: data definition has no type or storage class
In file included from Xrandr.c:33:
Xrandrint.h:57: error: syntax error before "Rotation"
Xrandr.c:36: error: `RANDR_NAME' undeclared here (not in a function)
Xrandr.c: In function `XRRWireToEvent':
Xrandr.c:64: error: `xRRScreenChangeNotifyEvent' undeclared (first use 
in this function)
Xrandr.c:64: error: (Each undeclared identifier is reported only once
Xrandr.c:64: error: for each function it appears in.)
Xrandr.c:64: error: `awire' undeclared (first use in this function)
Xrandr.c:70: error: `RRScreenChangeNotify' undeclared (first use in this 
function)
Xrandr.c:71: error: syntax error before ')' token
Xrandr.c:82: error: structure has no member named `size_index'
Xrandr.c:83: error: structure has no member named `subpixel_order'
Xrandr.c:84: error: structure has no member named `rotation'
Xrandr.c: In function `XRREventToWire':
Xrandr.c:99: error: `xRRScreenChangeNotifyEvent' undeclared (first use 
in this function)
Xrandr.c:99: error: `awire' undeclared (first use in this function)
Xrandr.c:105: error: `RRScreenChangeNotify' undeclared (first use in 
this function)
Xrandr.c:106: error: syntax error before ')' token
Xrandr.c:109: error: structure has no member named `rotation'
Xrandr.c:115: error: structure has no member named `size_index'
Xrandr.c:116: error: structure has no member named `subpixel_order'
Xrandr.c: In function `XRRFindDisplay':
Xrandr.c:138: error: `RRNumberEvents' undeclared (first use in this 
function)
Xrandr.c: At top level:
Xrandr.c:179: error: syntax error before "XRRConfigRotations"
Xrandr.c:179: error: syntax error before "Rotation"
Xrandr.c: In function `XRRConfigRotations':
Xrandr.c:181: error: `current_rotation' undeclared (first use in this 
function)
Xrandr.c:181: error: `config' undeclared (first use in this function)
Xrandr.c: At top level:
Xrandr.c:220: error: syntax error before "XRRConfigCurrentConfiguration"
Xrandr.c:221: error: syntax error before "Rotation"
Xrandr.c: In function `XRRConfigCurrentConfiguration':
Xrandr.c:223: error: `rotation' undeclared (first use in this function)
Xrandr.c:223: error: `Rotation' undeclared (first use in this function)
Xrandr.c:223: error: syntax error before "config"
Xrandr.c:224: error: `SizeID' undeclared (first use in this function)
Xrandr.c:224: error: syntax error before "config"
Xrandr.c: At top level:
Xrandr.c:255: error: syntax error before "XRRRotations"
Xrandr.c:255: error: syntax error before "Rotation"
Xrandr.c: In function `XRRRotations':
Xrandr.c:258: error: syntax error before "cr"
Xrandr.c:259: error: `dpy' undeclared (first use in this function)
Xrandr.c:260: error: `screen' undeclared (first use in this function)
Xrandr.c:261: error: `current_rotation' undeclared (first use in this 
function)
Xrandr.c:261: error: structure has no member named `current_rotation'
Xrandr.c:262: error: `cr' undeclared (first use in this function)
Xrandr.c:262: error: structure has no member named `rotations'
Xrandr.c:268: error: `RR_Rotate_0' undeclared (first use in this function)
Xrandr.c: In function `XRRQueryVersion':
Xrandr.c:363: error: syntax error before "rep"
Xrandr.c:364: error: `xRRQueryVersionReq' undeclared (first use in this 
function)
Xrandr.c:364: error: `req' undeclared (first use in this function)
Xrandr.c:376: error: `sz_xRRQueryVersionReq' undeclared (first use in 
this function)
Xrandr.c:376: error: syntax error before ')' token
Xrandr.c:376: error: `X_RRQueryVersion' undeclared (first use in this 
function)
Xrandr.c:379: error: `RANDR_MAJOR' undeclared (first use in this function)
Xrandr.c:380: error: `RANDR_MINOR' undeclared (first use in this function)
Xrandr.c:381: error: `rep' undeclared (first use in this function)
Xrandr.c: In function `_XRRVersionHandler':
Xrandr.c:411: error: syntax error before "replbuf"
Xrandr.c:412: error: `xRRQueryVersionReply' undeclared (first use in 
this function)
Xrandr.c:412: error: `repl' undeclared (first use in this function)
Xrandr.c:422: error: syntax error before ')' token
Xrandr.c: In function `_XRRGetScreenInfo':
Xrandr.c:434: error: syntax error before "rep"
Xrandr.c:435: error: `xRRGetScreenInfoReq' undeclared (first use in this 
function)
Xrandr.c:435: error: `req' undeclared (first use in this function)
Xrandr.c:440: error: syntax error before "size"
Xrandr.c:444: error: `xRRQueryVersionReq' undeclared (first use in this 
function)
Xrandr.c:444: error: `vreq' undeclared (first use in this function)
Xrandr.c:455: error: `sz_xRRQueryVersionReq' undeclared (first use in 
this function)
Xrandr.c:455: error: syntax error before ')' token
Xrandr.c:455: error: `X_RRQueryVersion' undeclared (first use in this 
function)
Xrandr.c:458: error: `RANDR_MAJOR' undeclared (first use in this function)
Xrandr.c:459: error: `RANDR_MINOR' undeclared (first use in this function)
Xrandr.c:471: error: `sz_xRRGetScreenInfoReq' undeclared (first use in 
this function)
Xrandr.c:471: error: syntax error before ')' token
Xrandr.c:471: error: `X_RRGetScreenInfo' undeclared (first use in this 
function)Xrandr.c:476: error: `rep' undeclared (first use in this function)
Xrandr.c:506: error: `sz_xScreenSizes' undeclared (first use in this 
function)
Xrandr.c:536: error: structure has no member named `rotations'
Xrandr.c:539: error: structure has no member named `current_rotation'
Xrandr.c:553: error: `size' undeclared (first use in this function)
Xrandr.c: In function `XRRSelectInput':
Xrandr.c:598: error: `xRRSelectInputReq' undeclared (first use in this 
function)Xrandr.c:598: error: `req' undeclared (first use in this function)
Xrandr.c:603: error: `sz_xRRSelectInputReq' undeclared (first use in 
this function)
Xrandr.c:603: error: syntax error before ')' token
Xrandr.c:603: error: `X_RRSelectInput' undeclared (first use in this 
function)
Xrandr.c: At top level:
Xrandr.c:618: error: syntax error before "Rotation"
Xrandr.c: In function `XRRSetScreenConfigAndRate':
Xrandr.c:622: error: `dpy' undeclared (first use in this function)
Xrandr.c:623: error: syntax error before "rep"
Xrandr.c:637: error: `xRRSetScreenConfigReq' undeclared (first use in 
this function)
Xrandr.c:637: error: `req' undeclared (first use in this function)
Xrandr.c:638: error: `sz_xRRSetScreenConfigReq' undeclared (first use in 
this function)
Xrandr.c:638: error: syntax error before ')' token
Xrandr.c:638: error: `X_RRSetScreenConfig' undeclared (first use in this 
function)
Xrandr.c:641: error: `draw' undeclared (first use in this function)
Xrandr.c:642: error: `size_index' undeclared (first use in this function)
Xrandr.c:643: error: `rotation' undeclared (first use in this function)
Xrandr.c:644: error: `timestamp' undeclared (first use in this function)
Xrandr.c:645: error: `config' undeclared (first use in this function)
Xrandr.c:646: error: `rate' undeclared (first use in this function)
Xrandr.c:650: error: `xRR1_0SetScreenConfigReq' undeclared (first use in 
this function)
Xrandr.c:651: error: `sz_xRR1_0SetScreenConfigReq' undeclared (first use 
in this function)
Xrandr.c:651: error: syntax error before ')' token
Xrandr.c:651: error: `X_RR1_0SetScreenConfig' undeclared (first use in 
this function)
Xrandr.c:661: error: `rep' undeclared (first use in this function)
Xrandr.c:663: error: `RRSetConfigSuccess' undeclared (first use in this 
function)
Xrandr.c: At top level:
Xrandr.c:680: error: syntax error before "Rotation"
Xrandr.c: In function `XRRSetScreenConfig':
Xrandr.c:682: error: `dpy' undeclared (first use in this function)
Xrandr.c:682: error: `config' undeclared (first use in this function)
Xrandr.c:682: error: `draw' undeclared (first use in this function)
Xrandr.c:682: error: `size_index' undeclared (first use in this function)
Xrandr.c:683: error: `rotation' undeclared (first use in this function)
Xrandr.c:683: error: `timestamp' undeclared (first use in this function)
Xrandr.c: In function `XRRUpdateConfiguration':
Xrandr.c:708: error: `RRScreenChangeNotify' undeclared (first use in 
this function)
Xrandr.c:716: error: structure has no member named `subpixel_order'
gmake[1]: *** [Xrandr.lo] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/libXrandr/work/libXrandr-1.0.2'
gmake: *** [all] Error 2
*** Error code 2
 
Stop in /usr/ports/x11/libXrandr.
*** Error code 1
 
Stop in /usr/ports/x11/xlibs.

Any tips?

Thanks,
Eli


More information about the freebsd-x11 mailing list