You are not logged in.

#1 2023-06-05 14:20:11

ADI-mistrzu
Member
From: Poland/Legionowo
Registered: 2016-06-22
Posts: 12

Asterisk - 'libedit' development package

Hi,

I try to build Asterisk package from AUR, but while doing this an error pops up:

...
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for LIBEDIT... no
checking for history_init in -ledit... no
configure: error: *** Please install the 'libedit' development package.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: asterisk-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
asterisk - exit status 4

libedit is already installed on the system, I suppose it's looking for another package (libedit-dev ?)
have you encountered this, do you know how to solve this problem?

Offline

#2 2023-06-05 14:30:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Asterisk - 'libedit' development package

Arch doesn't split out -dev packages.

See the configure log, it should tell you how it's looking for it and give you an idea what's not working.

Offline

#3 2023-06-09 08:53:01

ADI-mistrzu
Member
From: Poland/Legionowo
Registered: 2016-06-22
Posts: 12

Re: Asterisk - 'libedit' development package

Thanks Scimmia, I found the problem, pkgconf was missing, strange that it didn't check for the lack of this package...

Offline

#4 2023-06-09 11:16:25

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Asterisk - 'libedit' development package

ADI-mistrzu wrote:

Thanks Scimmia, I found the problem, pkgconf was missing, strange that it didn't check for the lack of this package...

See Arch_User_Repository#Getting_started.
https://github.com/asterisk/asterisk/bl … re.ac#L318 does check for pkgconf but does not check the result or value of the PKG_CONFIG variable.

Offline

Board footer

Powered by FluxBB