gpt4 book ai didi

linux - 构建 pango-1.4.1 时失败

转载 作者:太空宇宙 更新时间:2023-11-04 04:13:51 25 4
gpt4 key购买 nike

我正在尝试将 pango-1.4.1 软件包安装到我的 Linux 机器上(gtk+-2.0 lib 的先决条件)。使用的发行版是:

CentOS release 5.9 (Final)
Linux 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:52 EST 2012 i686 i686 i386 GNU/Linux

我在这台机器上没有 root 权限,我只是一个简单的用户。我尝试从 tar.gz 安装此软件包,并使用 ./configure --prefix 定义所需的目标文件夹(因此我对该目录具有写入权限),在 ./configure 命令之后,我尝试使用 make 构建 pango,但收到以下错误和警告:

ftxopen.c:23:10: error: #include expects "FILENAME" or <FILENAME>
ftxopen.c:24:10: error: #include expects "FILENAME" or <FILENAME>
ftxopen.c:25:10: error: #include expects "FILENAME" or <FILENAME>
ftxopen.c: In function 'Load_LangSys':
ftxopen.c:44: warning: implicit declaration of function 'FT_FRAME_ENTER'
ftxopen.c:47: warning: implicit declaration of function 'FT_GET_USHORT'
ftxopen.c:51: warning: implicit declaration of function 'FT_FRAME_EXIT'
ftxopen.c:55: warning: implicit declaration of function 'FT_SET_ERROR'
ftxopen.c:55: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY'
ftxopen.c:55: error: expected expression before 'FT_UShort'
ftxopen.c:60: warning: implicit declaration of function 'FT_FREE'
ftxopen.c:39: warning: unused variable 'memory'
ftxopen.c: In function 'Load_Script':
ftxopen.c:95: warning: implicit declaration of function 'FT_STREAM_POS'
ftxopen.c:107: warning: implicit declaration of function 'FT_STREAM_SEEK'
ftxopen.c:141: error: expected expression before 'TTO_LangSysRecord'
ftxopen.c:151: warning: implicit declaration of function 'FT_GET_ULONG'
ftxopen.c: In function 'Load_ScriptList':
ftxopen.c:225: error: expected expression before 'TTO_ScriptRecord'
ftxopen.c: In function 'Load_Feature':
ftxopen.c:322: error: expected expression before 'FT_UShort'
ftxopen.c:305: warning: unused variable 'memory'
ftxopen.c: In function 'Load_FeatureList':
ftxopen.c:374: error: expected expression before 'TTO_FeatureRecord'
ftxopen.c:376: error: expected expression before 'FT_UShort'
ftxopen.c: In function 'Load_Lookup':
ftxopen.c:611: error: expected expression before 'TTO_SubTable'
ftxopen.c: In function 'Load_LookupList':
ftxopen.c:709: error: expected expression before 'TTO_Lookup'
ftxopen.c:711: error: expected expression before 'FT_UShort'
ftxopen.c: In function 'Load_Coverage1':
ftxopen.c:798: error: expected expression before 'FT_UShort'
ftxopen.c:782: warning: unused variable 'memory'
ftxopen.c: In function 'Load_Coverage2':
ftxopen.c:847: error: expected expression before 'TTO_RangeRecord'
ftxopen.c:831: warning: unused variable 'memory'
ftxopen.c: In function 'Load_ClassDef1':
ftxopen.c:1086: error: expected expression before 'FT_UShort'
ftxopen.c:1059: warning: unused variable 'memory'
ftxopen.c: In function 'Load_ClassDef2':
ftxopen.c:1152: error: expected expression before 'TTO_ClassRangeRecord'
ftxopen.c:1131: warning: unused variable 'memory'
ftxopen.c: In function 'Load_ClassDefinition':
ftxopen.c:1206: error: expected expression before 'FT_Bool'
ftxopen.c:1203: warning: unused variable 'memory'
ftxopen.c: In function 'Load_EmptyClassDefinition':
ftxopen.c:1251: error: expected expression before 'FT_Bool'
ftxopen.c:1257: error: expected expression before 'FT_UShort'
ftxopen.c:1248: warning: unused variable 'memory'
ftxopen.c: In function 'Load_Device':
ftxopen.c:1433: error: expected expression before 'FT_UShort'
ftxopen.c:1408: warning: unused variable 'memory'

我认为我没有留下任何依赖项,以下是已安装的先决条件及其版本号:

glib-2.13.3
atk-1.0.3
freetype2-9.16.3 (aka freetype-2.5.3)

能够安装 pango 非常重要。有人可以帮忙吗?

最佳答案

在我看来,ftxopen.c 中列出的行中存在格式不正确的#include。修复这些错误,可能报告的其余大部分或全部编译错误都会消失。

关于linux - 构建 pango-1.4.1 时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17814024/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com