Linux 将/usr/local添加到./configure的路径
我正在尝试安装Linux 将/usr/local添加到./configure的路径,linux,static-libraries,configure,Linux,Static Libraries,Configure,我正在尝试安装libvisio-0.1.5,它需要libvisio-0-0。我得到一个错误: checking for REVENGE... no configure: error: Package requirements ( librevenge-0.0 ) were not met: 我刚刚安装了libvene,我有所有的pkg配置信息,但是它们在/usr/local/lib/pkgconfig中,而不是/usr/lib/pkgconfig中 我如何告诉/configur
libvisio-0.1.5
,它需要libvisio-0-0
。我得到一个错误:
checking for REVENGE... no
configure: error: Package requirements (
librevenge-0.0
) were not met:
我刚刚安装了libvene,我有所有的pkg配置信息,但是它们在/usr/local/lib/pkgconfig
中,而不是/usr/lib/pkgconfig
中
我如何告诉/configure
始终默认查看/usr/lib/pkgconfig
和/usr/local/lib/pkgconfig
我试过了
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
./configure
我有:
$ pkg-config --variable pc_path pkg-config
/usr/lib/pkgconfig:/usr/share/pkgconfig
你必须做到:
./configure --prefix=/usr/local
这个命令对我一直都很有效
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
这是默认的配置复仇之歌和复仇之歌怎么样?