I got it working! And it's no issue with cygwin.
I had to build the Curses library by hand and edit the testsym.c and
list.syms. I suppose that the original version will compile fine on
Linux, but the compiler in cygwin complains about the LINES constant
in list.syms.
So here's what i've done.
Am 07.04.2013 16:46, schrieb Ken Brown:
~/Curses-1.28 $ export CURSES_LDFLAGS=-L/usr/lib/ncurses -lncurses
~/Curses-1.28 $ export CURSES_CFLAGS=-I/usr/include/ncurses
...you need -L/usr/lib/ncursesw and -I/usr/include/ncursesw.
Ken
I tried it even with that compiler options.
Today i
On 4/8/2013 1:23 PM, D. Schüler wrote:
[snip]
~/Curses-1.28 $ gcc-4 -I/usr/include/ncursesw -L/usr/lib/ncursesw
-lncursesw -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -o testsym
testsym.c
/tmp/ccp3WxB0.o: In function `main':
Hello Mailinglist!
i'm using cygwin together with perl 5.14 and the Curses::UI perl module.
It uses the ncursesw library bundled with cygwin.
Installing the Curses::UI worked well using cpan, but using the ncurses
functions like getyx() from the demo-script bundled with the curses
module crahes
On 4/7/2013 9:52 AM, D. Schüler wrote:
Looking into /usr/include/ncursesw/cursesw.h shows that this macro is
defined.
I don't know anything about building perl modules, but...
Even building the Curses module for perl by hand, reveals that there is
something wrong with the ncurses library:
5 matches
Mail list logo