From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 26 Nov 2008 15:40:23 -0800 Subject: [sup-talk] sup and OpenBSD In-Reply-To: <98f5a8830811260948v1fbfd41ay62524d78e57b47cc@mail.gmail.com> References: <98f5a8830811260948v1fbfd41ay62524d78e57b47cc@mail.gmail.com> Message-ID: <1227742378-sup-558@entry> Reformatted excerpts from Nick Guenther's message of 2008-11-26: > The problem here is that you are asking for libc.so.6 which OpenBSD > doesn't have (on my 4.3 system I see ["/usr/lib/libc.so.41.0", > "/usr/lib/libc.so.43.0"]). Someone else just reported this problem too. I wonder whether the best solution is your patch (remove the .6) or the patch I was thinking of, where we special-case BSD to look for libc.so.43. Does anyone have any suggestions? > I installed the OpenBSD ruby-ncurses package instead and hoped all was > well. I am just learning Ruby, but the fact that sup gets past > `require 'ncurses'` means that ncurses should be installed right? I... think so. What's your TERM environment variable set to? Do other (color!) ncurses programs work? > form_wrap.c: In function `field_check': > form_wrap.c:1147: error: `true' undeclared (first use in this function) Do you have both ncurses and ruby development libraries installed? I know what they are in Linux world but not in BSD land. > Anyway, it shouldn't matter that the gem can't install because the > ncurses.rb I have installed in site_ruby is newer than the ncurses.rb > from the gem, judging from the version line. I don't know what to make > of this since at all. I'm not familiar with Ruby yet but if you could > point me at a right direction I will probably be able to figure this > out. Yeah, I would ignore the gem issue for now. I suspect that at this point it's a matter of tricking the 1970's technology that is ncurses into displaying color on your particular environment, by trying different TERMs and terminal emulators. -- William