Go Back   AppleForum > Software > Application

 
 
thread_tools
2003-12-19, 05:11 AM   #1
rabitt
Member
 
Registered: Mar 2003
My Mac: g4 dual 1.5ghz & powerbook g4 12
Posts: 28
오프라인
hanterm install

펜서에 한텀을 설치하려합니다만, 에러메세지 1번을 내면서 설치를 하지 않습니다. 무슨일일까요?
jino:~ jino$ sudo /users/jino/desktop/hanterm-3.1.6/./configure
Password:
loading cache ./config.cache
(cached) Configuring for Darwin 7.2.0
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for time_t... (cached) yes
checking for bcopy... (cached) yes
checking for memmove... (cached) yes
checking for strerror... (cached) yes
checking for full tgetent function... (cached) no
checking for partial tgetent function... (cached) -ltermcap
checking for termcap.h... (cached) yes
checking if you want to link with utempter... no
checking for unsetenv... (cached) yes
checking for working const... (cached) yes
checking for gcc option to accept ANSI C... (cached) -DCC_HAS_PROTOS
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for socket in -lsocket... (cached) no
checking for gethostname in -lnsl... (cached) no
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for XOpenDisplay in -lX11... (cached) yes
checking for XtAppInitialize in -lXt... (cached) yes
checking for unistd.h... (cached) yes
checking for X11/Xpoll.h... (cached) yes
checking for X11/Xaw/SimpleMenu.h... (cached) yes
checking for XmuClientWindow in -lXmu... (cached) yes
checking for XextCreateExtension in -lXext... (cached) yes
checking for XawSimpleMenuAddGlobalActions in -lXaw... (cached) yes
checking for XkbStdBell... (cached) no
checking if we should use imake to help... yes
checking for xmkmf... (cached) /usr/X11R6/bin/xmkmf
checking for default terminal-id... vt100
checking for private terminfo-directory... none
checking if you want ANSI color... yes
checking if you want 16 colors like aixterm... no
checking for default color-mode... TRUE
checking if you want new automata... TRUE
checking if you want debugging traces... no
checking if you want VT52 emulation... no
checking if you want to use dvorak keyboard... no
checking if you want TEK emulation... no
checking if you want to turn on gcc warnings... no
checking if you want right-scrollbar... yes
checking if you want logging on-off... yes
checking if you want line drawing... yes
checking if you want to use hangul... yes
creating ./config.status
creating Makefile
creating version.h
creating hanterm.spec
creating xtermcfg.h
xtermcfg.h is unchanged
jino:~ jino$ make install
gcc -I. -I/users/jino/desktop/hanterm-3.1.6/. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/X11R6/include -D__DARWIN__ -DNO_ALLOCA -DX_LOCALE -DCSRG_BASED -g -O2 -I/usr/X11R6/include -c /users/jino/desktop/hanterm-3.1.6/./main.c
/users/jino/desktop/hanterm-3.1.6/main.c: In function `spawn':
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: `utmp' undeclared (first use in this function)
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: (Each undeclared identifier is reported only once
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: for each function it appears in.)
/users/jino/desktop/hanterm-3.1.6/main.c: In function `nonblocking_wait':
/users/jino/desktop/hanterm-3.1.6/main.c:3300: warning: passing arg 1 of `wait3' from incompatible pointer type
make: *** [main.o] Error 1
jino:~ jino$

중간에 분명히 뭐라고 그러는데 그게 무슨 말을 하는지 알수가 없어서...
답변부탁드립니다.
  Reply With Quote
2003-12-19, 07:15 AM   #2
hys545
Senior Member
 
hys545's Avatar
 
Registered: May 2003
My Mac: no mac
Posts: 200
오프라인
Re: hanterm install

인용:
rabitt 님이 쓰신 글:
펜서에 한텀을 설치하려합니다만, 에러메세지 1번을 내면서 설치를 하지 않습니다. 무슨일일까요?
jino:~ jino$ sudo /users/jino/desktop/hanterm-3.1.6/./configure
Password:
loading cache ./config.cache
(cached) Configuring for Darwin 7.2.0
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for time_t... (cached) yes
checking for bcopy... (cached) yes
checking for memmove... (cached) yes
checking for strerror... (cached) yes
checking for full tgetent function... (cached) no
checking for partial tgetent function... (cached) -ltermcap
checking for termcap.h... (cached) yes
checking if you want to link with utempter... no
checking for unsetenv... (cached) yes
checking for working const... (cached) yes
checking for gcc option to accept ANSI C... (cached) -DCC_HAS_PROTOS
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for socket in -lsocket... (cached) no
checking for gethostname in -lnsl... (cached) no
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for XOpenDisplay in -lX11... (cached) yes
checking for XtAppInitialize in -lXt... (cached) yes
checking for unistd.h... (cached) yes
checking for X11/Xpoll.h... (cached) yes
checking for X11/Xaw/SimpleMenu.h... (cached) yes
checking for XmuClientWindow in -lXmu... (cached) yes
checking for XextCreateExtension in -lXext... (cached) yes
checking for XawSimpleMenuAddGlobalActions in -lXaw... (cached) yes
checking for XkbStdBell... (cached) no
checking if we should use imake to help... yes
checking for xmkmf... (cached) /usr/X11R6/bin/xmkmf
checking for default terminal-id... vt100
checking for private terminfo-directory... none
checking if you want ANSI color... yes
checking if you want 16 colors like aixterm... no
checking for default color-mode... TRUE
checking if you want new automata... TRUE
checking if you want debugging traces... no
checking if you want VT52 emulation... no
checking if you want to use dvorak keyboard... no
checking if you want TEK emulation... no
checking if you want to turn on gcc warnings... no
checking if you want right-scrollbar... yes
checking if you want logging on-off... yes
checking if you want line drawing... yes
checking if you want to use hangul... yes
creating ./config.status
creating Makefile
creating version.h
creating hanterm.spec
creating xtermcfg.h
xtermcfg.h is unchanged
jino:~ jino$ make install
gcc -I. -I/users/jino/desktop/hanterm-3.1.6/. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/X11R6/include -D__DARWIN__ -DNO_ALLOCA -DX_LOCALE -DCSRG_BASED -g -O2 -I/usr/X11R6/include -c /users/jino/desktop/hanterm-3.1.6/./main.c
/users/jino/desktop/hanterm-3.1.6/main.c: In function `spawn':
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: `utmp' undeclared (first use in this function)
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: (Each undeclared identifier is reported only once
/users/jino/desktop/hanterm-3.1.6/main.c:1939: error: for each function it appears in.)
/users/jino/desktop/hanterm-3.1.6/main.c: In function `nonblocking_wait':
/users/jino/desktop/hanterm-3.1.6/main.c:3300: warning: passing arg 1 of `wait3' from incompatible pointer type
make: *** [main.o] Error 1
jino:~ jino$

중간에 분명히 뭐라고 그러는데 그게 무슨 말을 하는지 알수가 없어서...
답변부탁드립니다.
www.hanterm.org
여기서 다안받아서 깔아보세여
그리고 그거는 한텀하고 mac os 하고 안맞아서 그런겁니다
__________________
새는 알을 뚫고 나와야 한다.
  Reply With Quote
2003-12-19, 08:43 AM   #3
wangsy
Senior Member
 
wangsy's Avatar
 
Registered: Apr 2002
My Mac: MacBook 1.83 CoreDuo, iPodTouch 8G
Posts: 371
오프라인
http://www.osxdev.org:8888/osxdev/61
패키지 파일로 설치해 보시죠...
__________________
wangsy.com
  Reply With Quote
2003-12-20, 01:50 AM   #4
etale
Senior Member
 
Registered: May 2002
My Mac: ibook g3 900(사망), emac g4 1.25, imac g5 20in, pbook G4 1.5Ghz 12in
Posts: 194
오프라인
직접 make하시려면 위에서 에러가 나는 부분만 comment out하시면 됩니다.
__________________
----------
Everything's so awful reg'lar a body can't stand it.
  Reply With Quote
2003-12-20, 10:03 AM   #5
ilovja
Veteran Member
 
Registered: Feb 2002
My Mac: G5
Posts: 551
오프라인
인용:
wangsy 님이 쓰신 글:
http://www.osxdev.org:8888/osxdev/61
패키지 파일로 설치해 보시죠...
제일 깔끔한 해결책이군요. 왕수용님 감사드립니다.
__________________
ilovjaWiki
  Reply With Quote
2003-12-23, 09:07 PM   #6
organist
Senior Member
 
organist's Avatar
 
Registered: Aug 2002
My Mac: MacBook White / iPod Touch 8G / iPod shuffle
Posts: 135
오프라인
다음과 같은 메시지를 뿌리며 한텀이 실행이 안되네요...

hanterm: can't open font
"6x13"
"-baekmuk-gulim-medium-r-normal--12-120-75-75-m-120-ksx1001.1997-0"

뭘 더 해 줘야 할까요?
  Reply With Quote
2003-12-24, 01:09 AM   #7
jrogue
Senior Member
 
jrogue's Avatar
 
Registered: Jul 2003
My Mac: TiBook 500Mhz 15"(w/ 3COM XJACK wireless), 3G iPod(10Gb), X-Pointer II, AirPort Express, HHKPro
Posts: 259
오프라인
xlsfonts 명령으로 6x13과 baekmuk 폰트가 설치되어 있는지 확인하시고, 만일 특정 폰트를 사용해서 hanterm을 띄우시려면, 명령어에 -fn(영어)랑 -hfn(한글)이랑 옵션을 붙여서 수행하면 됩니다.

예) 영문 8x16 폰트와 한글 daewoo 폰트로 (8x16과 daewoo 폰트는 X11 배포판에 기본으로 들어있습니다) hanterm을 띄우려면

$ hanterm -fn 8x16 -hfn "*daewoo*"

명령을 내리시기 바랍니다.

저도 이번 주말에 한텀을 설치해서 한번 테스트해볼 예정이었는데, 다양한 힌트를 주시니 감사할 따름입니다.

박재호 올림
__________________
매킨토시는 믿을 수 없을 정도로 강력한 시간 절약 기계이다.
  Reply With Quote
2003-12-24, 06:22 AM   #8
wangsy
Senior Member
 
wangsy's Avatar
 
Registered: Apr 2002
My Mac: MacBook 1.83 CoreDuo, iPodTouch 8G
Posts: 371
오프라인
인용:
organist 님이 쓰신 글:
다음과 같은 메시지를 뿌리며 한텀이 실행이 안되네요...

hanterm: can't open font
"6x13"
"-baekmuk-gulim-medium-r-normal--12-120-75-75-m-120-ksx1001.1997-0"

뭘 더 해 줘야 할까요?
만일 위에서 소개한 패키지를 인스톨 하셨다면, X11을 Quit했다가 다시 실행시켜야 할겁니다.
font 내용을 reload 하는 부분이 들어있지 않아서, 폰트는 X11을 다시 실행시켜야만 파익이 되거든요.
__________________
wangsy.com
  Reply With Quote
2003-12-28, 08:28 AM   #9
jrogue
Senior Member
 
jrogue's Avatar
 
Registered: Jul 2003
My Mac: TiBook 500Mhz 15"(w/ 3COM XJACK wireless), 3G iPod(10Gb), X-Pointer II, AirPort Express, HHKPro
Posts: 259
오프라인
결국 한텀을 컴파일해서 설치했습니다. 오류가 나는 부분은 모두 주석처리하시면 됩니다. hanterm.org에서 몇몇 X 용 한글 폰트도 가져와서 설치했는데, install시에 sudo를 붙이도록 Makefile을 조금 수정해줘야 합니다. 이 점만 주의하면 문제없이 컴파일해서 설치할 수 있습니다(한텀 바이너리 기본 설치 디렉토리가 /usr/local/bin이라는 사실에 주목하시기 바랍니다. 경로를 걸어두면 hanterm을 어디 설치했지 하드 디스크를 찾아헤맬 필요가 없지요?).

여기까지는 큰 애로 사항이 없는데, 중간 버튼 사용에서 잠깐 멈칫했습니다. 3버튼짜리 마우스를 사용하는데, 무슨 이유인지 중간 버튼(xterm이나 hanterm에서 중간 버튼이 죽어있으면 복사시에 무척 불편합니다)이 전혀 먹지 않는(왼쪽과 오른쪽은 잘 동작함에도 불구하고...) 상황이 벌어졌습니다. 물론 X11 환경 설정에 들어가서 3버튼 마우스 흉내내기 옵션을 켠 다음에 Option과 왼쪽 버튼을 눌러서 해결하는 방법이 있지만, 습관이 습관인지라...

도저히 못참고 이리저리 헤매고 다니다 결국 힌트를 다음 URL에서 찾았습니다.

http://homepage.mac.com/sao1/fink/faqs2.html

USB Overdrive에서 마우스 휠을 누를 경우에 중간 버튼으로 인식하도록 설정하면 끝납니다. 물론 버튼 하나짜리 고급(?) 마우스에 익숙하신 분들께서는 Option + 왼쪽 버튼을 선호하시겠지만, 일반 유닉스/X11 환경에서 터미널 작업에 익숙하신 분들께서는 아마 이 방법이 상당히 마음에 드실 겁니다.

박재호 올림
__________________
매킨토시는 믿을 수 없을 정도로 강력한 시간 절약 기계이다.

jrogue 님께서 2003-12-28 08:32 AM 에 수정하셨습니다..
  Reply With Quote
2004-01-25, 12:03 AM   #10
zannavi
Member
 
zannavi's Avatar
 
Registered: Dec 2002
My Mac: LC II, LC6200, and AlBook 12"
Posts: 31
오프라인
hanterm에서 한영전환을 cmd+space 로

팬서로 바뀐후 한영전환을 울며겨자먹기로 cmd+space로 바꾸어야했습니다. 사람 습관이란게 무서워서 shift+space로 손에 익은걸 어떻게 바꾸나 했는데, 금새 바뀌어버리더군요. 다만 불편한게, 한텀에선 shift+space로 hangul toggle을 해야하는데, 잦은 실수에 여간 헤깔리는게 아니었습니다.

이게 옳은 방향인지 모르겠습니다만, 미래를 내다보지않고 당장 바꿀수 있는거부터 바꾸자는 취지에서 hanterm의 한영전환을 바꾸는 방법을 찾았습니다. 저는 hanterm-3.1.6 버전을 컴파일해서 쓰고 있는데, 소스디렉토리의 doc/historic/README.01234 란 파일에 나와있더군요. Xdefaults를 바꾸는거니깐 버전이랑은 상관없습니다.

개인 홈 디렉토리에 .Xdefaults 파일을 만들어서 아래 두줄을 넣어주시면 됩니다.

Hanterm*VT100*translations: #override\
Meta<KeyPress>space: toggle-hangul()


혹 ~/.Xdefaults 파일을 이미 가지고 계시다면, 휠마우스 설정되어있는 *translations 마지막줄에 Meta<KeyPress>...만 넣어주시면 되겠습니다. 바로 윗줄에 \n\을 써주시구요. 제가 이것땜에 괜히 고생해서 말이죠.

zannavi 님께서 2004-01-25 12:07 AM 에 수정하셨습니다..
  Reply With Quote
지금 시각: 02:36 PM | Contact Us | 아카이브 | Top
SEO by vBSEO 3.0.0 RC5 All contents copyright © 2001~2008 by AppleForum and/or their respective owners.