Want to compile wide-char dialog

The 'dialog' utility is used in all puppies. Home page:

Over the years I ave tried many times to compile this with wide-character support. But failed.

It should be configured something like this:
# ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin --libdir=/lib --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-nls --with-ncursesw --enable-widec

...however I always get compile errors.

I checked, T2 compiles it with the libncurses library only (not libncursesw). Weirdly, the Debian dialog package specifies libncursesw as dependency, but when I ran 'ldd ./dialog' on the .deb binary I found it is linked against only libncurses.

So, where to go from here... I could complain to the developer I suppose...

Posted on 31 Mar 2011, 17:58


Posted on 31 Mar 2011, 22:58 by L18L
dialog utf8
got it running, a bit weird anyhow.

sample/yesno-utf8 used for test
configured --with-ncurses
then included '#include <intl.h>' in yesno.c (don't ask me why)resulted in error, of course.
configured --with-ncursesw, see screenshot
make results in error <intl.h>
deleted that intl.h line in yesno.c and
make was successful.

Hope that helps although a bit weird.
Was working in wary503q.

[img=http://www.extra-inter.net/dialog/UTF-8.png]screenshot dialog utf8[/img]

Posted on 31 Mar 2011, 23:01 by L18L

sorry, image should display now?

Posted on 31 Mar 2011, 24:41 by lluamco
Barry, I have checked that compilation is OK in Quirky provided you copy the file /usr/include/ncursesw/curses.h to /usr/include/curses.h
The output of ldd ./dialog confirms it is linked against libncursesw
I hope that helps.

Posted on 32 Mar 2011, 2:51 by L18L
curses.h confirmed
lluamco, you have saved me from a sleepless night.
I was trying to reproduce my compilation without success.
Then I saw your post.
copy, configure make make install
and yesno-utf was working.
So it is confirmed in wary, too.

Posted on 32 Mar 2011, 4:14 by GCMartin
Does this address PPM screen scaling in any way?

Posted on 32 Mar 2011, 8:30 by BarryK
What do you mean by "PPM screen scaling"?

If you mean the old problem of being unable to resize the PPM window, that was fixed. In Configure window in PPM, choose "ziggie" user interface.

Posted on 1 Apr 2011, 18:15 by Sage
Blind date?
32Mar2011, or maybe even
Like it!