次の手順をインストールする新しいUbuntuの16上のlibvirtをコンパイルすることはできません。次のエラーを取得https://libvirt.org/compiling.htmlは、ページの上部に
checking for LIBNL... yes checking for LIBNL_ROUTE3... no configure: error: Package requirements (libnl-route-3.0) were not met:
No package 'libnl-route-3.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNL_ROUTE3_CFLAGS and LIBNL_ROUTE3_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
は./configureに
おかげ
を実行した後、私はそれからにしてみてくださいインストールする:[email protected]:~/libvirt-3.5.0$ sudo apt-get install libnl-route-3.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libnl-route-3.0 E: Couldn't find any package by glob 'libnl-route-3.0' E: Couldn't find any package by regex 'libnl-route-3.0'
次に試してみてください:
[email protected]:~/libvirt-3.5.0$ sudo apt-get install libnl-3-dev
bnl-3-dev Reading package lists... Done Building dependency tree Reading state information... Done libnl-3-dev is already the newest version (3.2.27-1ubuntu0.16.04.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
私はまったく同じエラーを実行していますが、最新のlibvirtバージョンをUbuntu 16.04にインストールできましたか? –