[ltp] build ltp error for ubuntu 20.04 version

Bug #1900441 reported by Fred Kimmy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Invalid
Undecided
Unassigned
Ubuntu-20.04
Invalid
Undecided
Unassigned

Bug Description

[Bug Description]
build ltp error for ubuntu 20.04 version

[Steps to Reproduce]

git clone https://github.com/linux-test-project/ltp.git

cd ltp
make autotools
./configure
make
make install

[Actual Results]
checking for add_key in -lkeyutils... yes
./configure: line 6268: syntax error near unexpected token `LIBMNL,'
./configure: line 6268: ` PKG_CHECK_MODULES(LIBMNL, libmnl,'
root@ubuntu:/home/ubuntu/ltp/ltp#

[Expected Results]
ok

[Reproducibility]

[Additional information]
install
travis/ubuntu.sh
[Resolution]

Revision history for this message
dann frazier (dannf) wrote :

@Fred Kimmy,
  Is there a reason you believe this is an Ubuntu issue? If not, I'd suggest reporting this upstream at https://github.com/linux-test-project/ltp/issues instead.

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Hi,

Could you check if "pkg-config" is installed in your Ubuntu? Here are my steps and they works fine.

1) sudo apt install -y build-essential automake pkg-config
2) git clone https://github.com/linux-test-project/ltp.git
3) cd ltp
4) make autotools
5) ./configure

Ike Panhc (ikepanhc)
Changed in kunpeng920:
status: New → Incomplete
Changed in kunpeng920:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.