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

 

目录
相关文章
|
8月前
|
Go C语言
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
295 0
解决办法:.No package ‘freetype2‘ found
解决办法:.No package ‘freetype2‘ found
812 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]
|
Python
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
628 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
222 0
No package ‘gtk+-3.0‘ found
No package ‘gtk+-3.0‘ found
183 0
No package ‘libusb‘ found
No package ‘libusb‘ found
141 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‘
67 0
No package 'libxml-2.0' found
No package 'libxml-2.0' found
337 0
编译libxcb时报错:No package 'xcb-proto' found
编译libxcb时报错:No package 'xcb-proto' found
202 0

热门文章

最新文章