[Gambas-user] Building Gambas on Solus

Patrik Karlström patrik at trixon.se
Wed Apr 8 17:08:42 CEST 2020


Den ons 8 apr. 2020 kl 17:05 skrev Tobias Boege <taboege at gmail.com>:

> 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
>
> Thanks, it looks like you are on to something here.

pata at xps ~/src/gambas/gb.ncurses $ pkg-config --modversion ncurses panel
Package ncurses was not found in the pkg-config search path.
Perhaps you should add the directory containing `ncurses.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ncurses' found
Package panel was not found in the pkg-config search path.
Perhaps you should add the directory containing `panel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'panel' found
pata at xps ~/src/gambas/gb.ncurses $ pkg-config --modversion ncursesw panelw
6.1.20180127
6.1.20180127
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200408/8c9966b8/attachment.html>


More information about the User mailing list