解决办法:.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

 

目录
相关文章
|
6月前
[cmake] --- find_package
[cmake] --- find_package
139 0
解决办法:.No package ‘freetype2‘ found
解决办法:.No package ‘freetype2‘ found
773 0
装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
205 0
No package ‘libusb‘ found
No package ‘libusb‘ found
139 0
No package ‘gtk+-3.0‘ found
No package ‘gtk+-3.0‘ found
173 0
No package ‘libpeas-1.0‘ found/No package ‘libpeas-gtk-1.0‘
No package ‘libpeas-1.0‘ found/No package ‘libpeas-gtk-1.0‘
51 0
No package 'libxml-2.0' found
No package 'libxml-2.0' found
326 0
编译OpenJDK8:configure: could not find or use freetype at location
编译OpenJDK8:configure: could not find or use freetype at location
160 0
php7 编译 No package 'libzip' found
php7 编译 No package 'libzip' found
649 0