2016-05-31 116 views
2

我正在嘗試安裝libvisio-0.1.5,這需要librevenge-0-0。我得到的錯誤:將/ usr/local添加到./configure的路徑

checking for REVENGE... no 
configure: error: Package requirements (
     librevenge-0.0 
) were not met: 

我剛剛安裝librevenge和我所有的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 
+0

什麼REVENGE_CFLAGS&REVENGE_LIBS? – khrm

回答

1

你要做的:

./configure --prefix=/usr/local 
+2

這是默認情況下的配置 – nowox

1

這個命令總是完美的工作對我來說... 。

export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/