解决办法:.No package ‘freetype2‘ found

简介: 解决办法:.No package ‘freetype2‘ found

 编译fontconfig时,需要freetype。吾专门下载了freetype并编译安装,结果还是报错。原因是要配置PKG_CONFIG_PATH:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure \
    CFLAGS="-I/usr/local/include -I/usr/local/include/freetype2" \
    --enable-shared \
    --enable-libxml2
目录
相关文章
|
2月前
[cmake] --- find_package
[cmake] --- find_package
26 0
|
10月前
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
164 0
解决办法:.No package ‘freetype2‘ found
解决办法:.No package ‘freetype2‘ found
220 0
No package ‘libusb‘ found
No package ‘libusb‘ found
119 0
No package ‘gtk+-3.0‘ found
No package ‘gtk+-3.0‘ found
135 0
No package 'libxml-2.0' found
No package 'libxml-2.0' found
255 0
checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel pa
checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel pa
497 0
编译OpenJDK8:configure: could not find or use freetype at location
编译OpenJDK8:configure: could not find or use freetype at location
113 0
|
Unix Shell Windows
CMake教程11:find_package
CMake教程11:find_package
332 0