在linux上安装fontconfig-2.11.1时出错

在linux上安装fontconfig-2.11.1时出错,linux,fontconfig,Linux,Fontconfig,我尝试根据在red hat上安装fontconfig-2.11.1,但在进行安装时出现以下错误: /usr/share/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts: failed to write cache /usr/share/fonts/bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/bi

我尝试根据在red hat上安装fontconfig-2.11.1,但在进行安装时出现以下错误:

/usr/share/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts: failed to write cache
/usr/share/fonts/bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/bitstream-vera: failed to write cache
/usr/share/X11/fonts/Type1: skipping, no such directory
/usr/share/X11/fonts/OTF: skipping, no such directory
Re-scanning /usr/share/fonts: /usr/share/fonts: error scanning
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/dn48866/fontconfig-2.11.1/fc-cache/.libs/lt-fc-cache: failed
ia64make[2]: *** [install-data-local] Error 3
ia64make[2]: Leaving directory `/home/dn48866/fontconfig-2.11.1'
ia64make[1]: *** [install-am] Error 2
ia64make[1]: Leaving directory `/home/dn48866/fontconfig-2.11.1'
make: *** [install-recursive] Error 1

非常感谢您的帮助

这个问题在这里是离题的,但在运行
makeinstall
@FrédéricHamidi Ok之前,您似乎忘记了成为root用户,谢谢。但我无法获得root权限,是否有其他方法来实现它?