[Cc'd to rxvt-workers for general reference]
Sven Guckes <[EMAIL PROTECTED]> typed:
:Hi! Installation on SunOS 5.8 fails:
: $ uname -a
: SunOS ritz 5.8 Generic_108528-10 sun4u sparc
: $ ./configure --prefix=$HOME
: [...]
: xdefaults.c:281: `Rs_scrollBar_align' undeclared here (not in a function)
: xdefaults.c:281: initializer element is not constant
: xdefaults.c:281: (near initialization for `optList[61].doff')
:what now?
You may do one (and only one) of the following three options:
1) configure with a scrollbar (since none are configured by default)
2) apply the following patch
3) tell me I'm stupid :-)
Regards,
Geoff
Index: src/xdefaults.c
===================================================================
RCS file: /cvsroot/rxvt/rxvt/src/xdefaults.c,v
retrieving revision 1.103
diff -u -r1.103 xdefaults.c
--- src/xdefaults.c 2001/11/29 07:07:53 1.103
+++ src/xdefaults.c 2001/11/29 09:41:24
@@ -278,7 +278,9 @@
#endif
RSTRG(Rs_selectstyle, "selectstyle", "mode"),
RSTRG(Rs_scrollstyle, "scrollstyle", "mode"),
+#ifdef HAVE_SCROLLBARS
RSTRG(Rs_scrollBar_align, "scrollBar_align", "mode"),
+#endif
#ifdef PRINTPIPE
RSTRG(Rs_print_pipe, "print-pipe", "string"),
#endif