Subject: Can't build XFree86-clients
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 05/04/2004 21:05:49
I'm trying to install almost everything from pkgsrc on my new
home PC. I'm running Slackware 9.1.
Any ideas why I can't build XFree?
# uname -srm
Linux 2.6.5 i686
# make
===> Extracting for XFree86-clients-4.4.0
===> Required installed package XFree86-libs>=4.4.0:
XFree86-libs-4.4.0nb1 found
===> Required installed package PAM>=0.75: PAM-0.77nb1 found
===> Required installed package Xft2>=2.1nb1: Xft2-2.1.2nb1 found
===> Required installed package png>=1.2.4: png-1.2.5nb4 found
===> Required package Xrandr>=1.0.1: NOT found
===> Verifying update for ../../x11/Xrandr
===> Xrandr-1.0.2 won't build without the X Extension
===> library which is only present in XFree86>=4.3.
*** Error code 1
I solved this by setting X11BASE=/usr/pkg/X11R6 in /etc/mk.conf. The
next error is:
===> Building for XFree86-clients-4.4.0
making all in programs/xdm...
make: Entering directory
`/usr/pkgsrc/x11/XFree86-clients/work/xc/programs/xdm'
rm -f resource.o
gcc -c -O2 -ansi -pedantic -Wall -Wpointer-arith -Wundef
-I/usr/pkgsrc/x11/XFree86-clients/work/xc
-I/usr/pkgsrc/x11/XFree86-clients/work/xc/exports/include
-I/usr/pkgsrc/x11/XFree86-clients/work/.buildlink/include -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -DBINDIR=\"/usr/pkg/X11R6/bin\"
-DXDMDIR=\"/usr/pkg/X11R6/lib/X11/xdm\" -DUSESHADOW
-DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6
-DGREET_USER_STATIC -DFRAGILE_DEV_MEM -DOSMAJORVERSION=2
-DOSMINORVERSION=6 -DXPM -DUSE_XINERAMA -DHAS_MKSTEMP
'-DDEF_SERVER_LINE=":0 local /usr/pkg/X11R6/bin/X :0"'
'-DXRDB_PROGRAM="/usr/pkg/X11R6/bin/xrdb"'
'-DDEF_SESSION="/usr/pkg/X11R6/bin/xterm -ls"'
'-DDEF_USER_PATH=":/bin:/usr/bin:/usr/pkg/X11R6/bin:/usr/ucb"'
'-DDEF_SYSTEM_PATH="/etc:/bin:/usr/bin:/usr/pkg/X11R6/bin:/usr/ucb"'
'-DDEF_SYSTEM_SHELL="/bin/sh -e"'
'-DDEF_FAILSAFE_CLIENT="/usr/pkg/X11R6/bin/xterm"'
'-DDEF_XDM_CONFIG="/usr/pkg/X11R6/lib/X11/xdm/xdm-config"'
'-DDEF_CHOOSER="/usr/pkg/X11R6/lib/X11/xdm/chooser"'
'-DDEF_AUTH_DIR="/usr/pkg/X11R6/lib/X11/xdm"'
'-DDEF_GREETER_LIB="/usr/pkg/X11R6/lib/X11/xdm/libXdmGreet.so"' resource.c
<command line>:1:17: missing terminating " character
make: *** [resource.o] Error 1
make: Leaving directory
`/usr/pkgsrc/x11/XFree86-clients/work/xc/programs/xdm'
*** Error code 2