添加 /usr/local 到 ./configure 的路径
Add /usr/local to path for ./configure
我正在尝试安装 libvisio-0.1.5
,这需要 librevenge-0-0
。我收到错误:
checking for REVENGE... no
configure: error: Package requirements (
librevenge-0.0
) were not met:
我刚刚安装了 librevenge 并且我有所有 pkg-config 信息,但它们在 /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/
我正在尝试安装 libvisio-0.1.5
,这需要 librevenge-0-0
。我收到错误:
checking for REVENGE... no
configure: error: Package requirements (
librevenge-0.0
) were not met:
我刚刚安装了 librevenge 并且我有所有 pkg-config 信息,但它们在 /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/