[Alpine-info] Can't compile V2.25 or 2.26 on Rocky 9.2

Andrew C Aitchison via Alpine-info alpine-info at u.washington.edu
Wed Aug 7 06:34:16 PDT 2024



On Sun, 4 Aug 2024, David Morris via Alpine-info wrote:


> FYI Rocky is a linux distribution based on RH Enterprise Linux. Centos

> used to fill that role, but RedHat turned Centos into an advanced release

> sandbox...

>

> What I see running configure:

> ...

> checking for setupterm in -ltinfo... no

> checking for setupterm in -lncurses... no

> checking for setupterm in -lcurses... no

> checking for tgetent in -ltermlib... no

> checking for tgetent in -ltermcap... no

> configure: error: Terminfo/termcap not found

> (in case it matters, this is from the 2.26 attempt)


Do you have EPEL ?
It seems to be still on 2.25, but you could take the source rpm
https://dl.fedoraproject.org/pub/epel/9/Everything/source/tree/Packages/a/alpine-2.25-2.el9.src.rpm
add the 2.26 tarball, upsdte alpine.spec to use v2.26 and run
rpmbuild -ba alpine.spec



> ncurses-6.2.8 is installed and the infocmp command exists and works.

>

> After some digging and comparing my systems, I noticed that ncurses is

> installed in /usr/lib64/ which suggests the problem is associated with the

> fact my system is a 64 bit system and hence a minimal /usr/lib/

>

> I tried looking at 'configure' but it has been too many years since I did

> any shell programming so I made no progress there. I previously tried to

> add support for the 32 bit programs but I think what I found was

> incomplete.

>

> I'd be happy to test any updates to configure, but have to put this on the

> back burner for not.

>

> Thanks,

> David


--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk


More information about the Alpine-info mailing list