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

 

目录
相关文章
装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]
【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages
【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages
2539 0
解决办法:.No package ‘freetype2‘ found
解决办法:.No package ‘freetype2‘ found
736 0
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
189 0
No package ‘gtk+-3.0‘ found
No package ‘gtk+-3.0‘ found
167 0
No package ‘libusb‘ found
No package ‘libusb‘ found
136 0
No package 'libxml-2.0' found
No package 'libxml-2.0' found
317 0
编译OpenJDK8:configure: could not find or use freetype at location
编译OpenJDK8:configure: could not find or use freetype at location
149 0
|
Android开发
INSTALL_FAILED_TEST_ONLY的解决办法
INSTALL_FAILED_TEST_ONLY的解决办法
225 0
php7 编译 No package 'libzip' found
php7 编译 No package 'libzip' found
608 0