[Gambas-user] Building Gambas on Solus

Tobias Boege taboege at gmail.com
Wed Apr 8 17:04:08 CEST 2020


On Wed, 08 Apr 2020, Tobias Boege wrote:
> On Wed, 08 Apr 2020, Patrik Karlström wrote:
> > I'm building Gambas on Solus and am in the process of sorting out the
> > dependencies. [...]
> > 
> > My first question is in regard to ncurses.
> > ncurses 6.1 is installed, and -devel too.
> > 
> > ls -l /usr/include/ncurses/ncurses.h
> > lrwxrwxrwx 1 root root 12 Apr  7 15:26 /usr/include/ncurses/ncurses.h ->
> > ../ncurses.h
> > 
> > indicate a symlink, could that be the reason of the failure?
> > Any hints on what to do in order to make it work?
> > 
> > pata at xps ~/Hämtningar/gambas-3.14.3/gb.ncurses $ ./reconf
> > 
> > [...]
> >
> > ||
> > || Unable to met pkg-config requirement: ncurses
> > || Unable to met pkg-config requirement: panel
> > || gb.ncurses is disabled
> > ||
> 
> The configure script for gb.ncurses uses pkg-config to determine if and
> what version of ncurses and its panel extension are installed. What does
> 
>   $ pkg-config --modversion ncurses panel
> 
> give you?
> 

Ah, I took a peak into the ncurses-devel package from Solus and it seems
that they install the pkg-config files with a "w" suffix. So if the above
command fails, please try

  $ pkg-config --modversion ncursesw panelw

to confirm my guess.

Ncurses can be compiled with and without **w**ide-character support.
On my system (and I'd bet lots of others) "ncurses" is synonymous with
"ncursesw". Apparently Solus has decided that it will only provide the
"w" names. Once this is confirmed, a fix should be relatively simple.
(Famous last words from someone about to dive into autoconf macros.)

Regards,
Tobias

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list