database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 3665 게시물 읽기
No. 3665
Re: 컴파일시 이런 에러가 납니다.
작성자
정재익(advance)
작성일
2001-11-20 09:14
조회수
1,968

TCL/Tk package 가 설치되어 있는지 확인해 보시기 바랍니다.

 

rpm -qa | grep tk

rpm -qa | grep tcl

 

그리고 설치되어 있다면 /usr/include/tk.h 라는 파일이 있어야 합니다. 만약 없다면 다시 tcl/tk package 를 설치하시고 다시 재시도 하시기 바랍니다.

 

-- Q_mina 님이 쓰신 글:

>> 환경은 영문 레드햇 7.2 입니다.

>>

>> 컴파일시 아래와 같은 오류가 납니다.

>>

>> /usr/include/tk.h:83:29: X11/Xlib.h: 그런 파일이나 디렉토리가 없음

>>

>> 이라는 에러가 납니다. 이것을 어떻게 처리해야 할까요?

>>

>> 아래는 에러가 발생한 부분으로부터의 약간 윗줄부터의 내용입니다.

>>

>> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include -I/usr/X11R6/include -c -o pgtclAppInit.o pgtclAppInit.c

>> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq -lpq -L/usr/lib -ltcl -ldl -lieee -lm -Wl,-rpath,/usr/local/pgsql/lib -lz -lcrypt -lresolv -lnsl -ldl -lm -lbsd -lreadline -ltermcap -o pgtclsh

>> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include -I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c

>> In file included from pgtkAppInit.c:15:

>> /usr/include/tk.h:83:29: X11/Xlib.h: 그런 파일이나 디렉토리가 없음

>> make[3]: *** [pgtkAppInit.o] 오류 1

[Top]
No.
제목
작성자
작성일
조회
3672퍄워빌더 ODBC연결문제 (속이다타들어갑니다) [1]
쫑아리
2001-11-21
1974
3673┕>Re: 퍄워빌더 ODBC연결문제 (속이다타들어갑니다)
이윤기
2001-11-21 18:44:22
1991
3670우웃 상처가 ㅠㅠ 깊이 새기겠습니다. ㅠㅠ
조원준
2001-11-21
1763
3671┕>Re: 우웃 상처가 ㅠㅠ 깊이 새기겠습니다. ㅠㅠ
정재익
2001-11-21 10:43:59
1792
3666primary key 수정법은 없나요?
Jupiter
2001-11-20
1761
3676┕>Re: primary key 수정법은 없나요?
정재익
2001-11-22 11:31:59
2055
3664컴파일시 이런 에러가 납니다.
Q_mina
2001-11-20
1815
3665┕>Re: 컴파일시 이런 에러가 납니다.
정재익
2001-11-20 09:14:44
1968
3668 ┕>Re: Re: 감사합니다.
Q_mina
2001-11-20 20:56:36
1753
3661Run-time error (psql: error while loading shared libraries)
박부식
2001-11-17
1910
3662┕>Re: Run-time error (psql: error while loading shared libraries)
정재익
2001-11-17 22:55:03
1950
3663 ┕>Re: Re: Run-time error (psql: error while loading shared libraries)
박부식
2001-11-18 14:01:44
1847
3657사용자 생성에 대한 질문입니다.
조원준
2001-11-15
1816
3660┕>Re: 사용자 생성에 대한 질문입니다.
정재익
2001-11-16 09:54:53
2550
3654파워빌더 6.5 와 ODBC 연결 관련 문의입니다. [1]
초보
2001-11-15
2356
3667┕>Re: 파워빌더 6.5 와 ODBC 연결 관련 문의입니다.
이윤기
2001-11-20 17:12:12
2163
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.025초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다