0
내 Linux 컴퓨터에 pango-1.4.1 패키지를 설치하려고합니다. (gtk + 2.0 lib의 전제 조건). 사용 된 배포판은 다음과 같습니다.build pango-1.4.1에 실패했습니다.
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
이 컴퓨터에는 루트 권한이 없습니다. 단순한 사용자입니다. 나는이 패키지를 tar.gz에서 설치하려고 시도했다. ./configure --prefix 필자는 원하는 대상 폴더를 정의했다. (그래서 나는 그 dir에 대한 쓰기 권한을 가지고있다.) ./configure 명령을 실행 한 후 make로 pango를 빌드하려고 시도했지만 나는 다음과 같은 오류 및 경고받을 :
glib-2.13.3
atk-1.0.3
freetype2-9.16.3 (aka freetype-2.5.3)
매우 중요한 설치할 수 할 것입니다 : 내가 종속성 남아있는 해달라고 생각
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'
을, 여기에 버전 번호와 함께 설치 전제 조건은 판고. 아무도 그것으로 도울 수 있습니까?
freetype의 internal.h 파일에 정의 된 #include 지시문 다음에 매크로가 있습니다. 이 파일은 freetype의 설치 폴더 아래에만 설치됩니다. 그러나 나는 거기에서이 머리글을 포함하려고했지만 나는 같은 메시지를 받는다 ... – zsidanyi
좋아. yum/rpm을 사용하여 의존성이 설치되어 있습니까? 그렇다면 의존성에 대한 개발 파일이 설치 되었습니까? 'yum search freetype-devel'을 시도해보십시오. 당신은 판고가 의존하는 다른 도서관에 대해서도 마찬가지라는 것을 알 수 있습니다. sysadmin에게 설치를 요청해야합니다. –