[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does ncurses need?
From: |
Gary E. Miller |
Subject: |
Re: What does ncurses need? |
Date: |
Fri, 11 Dec 2020 12:17:35 -0800 |
Yo Hal!
On Fri, 11 Dec 2020 09:16:40 -0800
Hal Murray <hmurray@megapathdsl.net> wrote:
> Checking for C header file curses.h... yes
> Checking pkg-config for ncurses... no
> Turning off ncurses support, library not found.
>
> Package ncurses-devel-6.2-3.20200222.fc33.armv7hl is already
> installed.
The test is simple:
config.CheckPKG('ncurses')
You can see the detail of scons tests in config.log. Here is what mine
says for ncurses:
scons: Configure: Checking pkg-config for ncurses...
scons: Configure: ".sconf_temp/conftest_b3334fdd9bde29954a69c36a37bb058b" is up
to date.
scons: Configure: The original builder output was:
|pkg-config --exists 'ncurses'
|
scons: Configure: (cached) yes
So there is what scons did: pkg-config --exists 'ncurses'
Which just returns an exit code:
spidey gpsd # pkg-config --exists 'ncurses'
spidey gpsd # echo $?
0
Note the test is for "ncurses" not for "ncurses-devel".
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpF31xJifa8f.pgp
Description: OpenPGP digital signature