nanogui: Compiling nano-X (SVGAlib) under Linux Mandrake 8
Subject:
Re: [nanogui] Compiling nano-X (SVGAlib) under Linux Mandrake 8
From:
"Greg Haerr" ####@####.####
Date:
10 Jul 2001 17:28:51 -0000
Message-Id: <093b01c10965$625b9300$3aba46a6@xmission.com>
: I ran into a whole slew of problems compiling other relatively
: straightforward packages (Rascal, playavi, anything needing latex)
: on Mandrake 8.0.
Geez. Sounds a lot like RH 7.0.
: > I'm trying to do this, but find many errors:
: >
: > 1. drivers/kbd_ttyscan.c - ioctl_setpalette() and ioctl_getpalette()
: > don't exist.
I'll fix this in 0.89pre8, this is a bug with the SVGA driver when
using the scancode tty driver. You can switch to the normal tty
driver to fix this and the next tty bug.
: > 2. drivers/kbd_ttyscan.c - during running of nano-X, it produces:
: >
: > KDGKBMODE: Invalid argument
: > Cannot initialise keyboard
:
: >
: > 3. Numerous files: either they are missing <stdlib.h> ...for exit()...
: > or they are missing <string.h> ...for strcmp(), strlen()... Some use
: > memset() and are missing its header file too.
This sounds like a C library issue, or perhaps I need to upgrade to
the latest gcc and look at the mess myself. Currently, Microwindows
compiles without header errors using gcc egcs-2.91.66.
: >
: > 4. Ghastly number of errors from the preprocessor during compilation of
: > things in "nwidget" directory; fixed that by not using nwidgets
Set NWIDGETS=N in the config file. I've removed the entire nwidgets
tree in the CVS pre8 version of Microwindows. The problem was a
older-non-ANSI use of the token paste ## operator.
: >
: > I'm trying to compile 0.89pre7 with the SVGAlib (instead of
: > framebuffers) and can't seem to make it happen. I was hoping that there
: > was several binaries for Linux available (so I could at least try it)
: > but they're not there. I wondered about RPMs... Debian packages...
: > etc... Nobody's done these yet?
If you like, I can compile up a version for you, but it will be awfully
dependent on the version of SVGA lib you're using.
Regards,
Greg
: >
: > I also don't need Microsoft Windows compatability, so I compiled for
: > nanox only, and left the keyboard at "kbscan" or whatever it was.
: >
: > If I missed some configuration data, let me know and I'll post more
: > data....
: >
: > I'm compiling under:
: >
: > # uname -a
: > Linux localhost.localdomain 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
: > i586 unknown
: > # gcc -v
: > Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
: > gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
: > # rpm -qa | grep svga
: > svgalib-1.4.3-0.pre.20001010.1mdk
: > svgalib-devel-1.4.3-0.pre.20001010.1mdk
: > #
: >
: > ---------------------------------------------------------------------
: > To unsubscribe, e-mail: ####@####.####
: > For additional commands, e-mail: ####@####.####
:
:
: