Subject: Re: ruby-curses builds fine without patches
To: Takahiro Kambe <firstname.lastname@example.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <email@example.com>
Date: 07/20/2005 19:35:42
On Thu, 21 Jul 2005 07:46:22 +0900 (JST)
Takahiro Kambe <firstname.lastname@example.org> wrote:
> In message <email@example.com>
> on Wed, 20 Jul 2005 18:04:41 -0400,
> "César Catrián C." <firstname.lastname@example.org> wrote:
> > Using the patch, the ncurses package installed is ignored.
> It is intentional to avoid ruby-curses depends on ncurses package.
> > I am using NetBSD 2.0 .
> These platform which have curses in base system.
Normal build fails to compile on my system.
César Catrián C.
===> Building for ruby18-curses-1.8.2nb1
cc -fPIC -O2 -I/usr/include -fPIC -pipe -I. -I/usr/pkg/lib/ruby/1.8/i386-netbsdelf -I/usr/pkg/lib/ruby/1.8/i386-
netbsdelf -I. -DHAVE_CURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPD
ATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DH
AVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGD
SET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RE
SET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -I/usr/pkg/include -L/usr/pkg/lib -
I/usr/include -c curses.c
curses.c: In function `window_maxy':
curses.c:915: error: structure has no member named `maxy'
curses.c: In function `window_maxx':
curses.c:936: error: structure has no member named `maxx'
curses.c: In function `window_begy':
curses.c:958: error: structure has no member named `begy'
curses.c:958: error: structure has no member named `begx'
curses.c: In function `window_begx':
curses.c:975: error: structure has no member named `begy'
curses.c:975: error: structure has no member named `begx'
*** Error code 1