Menu

#9 x11vnc broken on Solaris 2.7

closed
None
5
2004-07-17
2004-07-08
No

when compiling x11vnc on Solaris 2.7 it bails out with

Making all in x11vnc
make[2]: Entering directory
`/ctbto/idc/cicn/source/build/OSS/work/x11vnc-
0.6.1/x11vnc'
source='x11vnc.c' object='x11vnc.o' libtool=no \ depfile='.deps/x11vnc.Po' tmpdepfile='.deps/x11vnc.TPo'
\ depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -
I/usr/openwin/include -I/opt/OSS/include -I .. -c
`test -f 'x11vnc.c' || echo './'`x11vnc.c
In file included from x11vnc.c:118:
/usr/openwin/include/X11/XKBlib.h:31:
X11/extensions/XKBstr.h: No such file or directory
make[2]: *** [x11vnc.o] Error 1
make[2]: Leaving directory
`/ctbto/idc/cicn/source/build/OSS/work/x11vnc-
0.6.1/x11vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/ctbto/idc/cicn/source/build/OSS/work/x11vnc-0.6.1'
make: *** [all] Error 2
================================

Reason:
X11/XKBlib.h is broken on Solaris 2.7
see also http://mail.gnome.org/archives/gnome-
accessibility-devel/2003-April/msg00003.html

When "undef"ing LIBVNCSERVER_HAVE_XKEYBOARD the
x11vnc compiles and runs without a problem(see
x11vnc/x11vnc.c:117) because X11/XKBlib.h is not
included.

Potential Solution:
Have configure check for the existence of
X11/extensions/XKBstr.h and "#undef
LIBVNCSERVER_HAVE_XKEYBOARD" if it is not found.

PS: great stuff!!!

Discussion

  • Johannes Schindelin

    • assigned_to: nobody --> runge
     
  • Johannes Schindelin

    • status: open --> closed