Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

[KFUG] python ..



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


 
Python 2.3.3을 포트 설치시 다음과 같은 warning 메시지와 에러가 뜹니다.
 
... 컴파일 과정 생략 ...
configure: WARNING: ncurses.h: present but cannot be compiled
configure: WARNING: ncurses.h: check for missing prerequisite headers?
configure: WARNING: ncurses.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@xxxxxxx. ##
configure: WARNING:     ## ------------------------------------ ##
 
... 중략 ...
 
*** WARNING: renaming "_socket" since importing it failed: build/lib.freebsd-4.9-STABLE-i386-2.3
/_socket.so: Undefined symbol "__h_errno"
building '_ssl' extension
cc -DNDEBUG -O -pipe -march=pentiumpro -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000 -fPIC -fno-str
ict-aliasing -I. -I/usr/ports/lang/python/work/Python-2.3.3/./Include -I/usr/local/include -I/us
r/ports/lang/python/work/Python-2.3.3/Include -I/usr/ports/lang/python/work/Python-2.3.3 -c /usr
/ports/lang/python/work/Python-2.3.3/Modules/_ssl.c -o build/temp.freebsd-4.9-STABLE-i386-2.3/_s
sl.o
cc -shared -pthread build/temp.freebsd-4.9-STABLE-i386-2.3/_ssl.o -L/usr/local/lib -lssl -lcrypt
o -o build/lib.freebsd-4.9-STABLE-i386-2.3/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed: No module named _socket
running build_scripts
 
... 중략 ...
 
이렇게 설치하고 나면 socket 모듈이 안올라와서 파이썬을 사용하는데 애로사항이 있습니다.
 
WITHOUT_THREADS 옵션으로 설치하면 문제 없는데 쓰레드를 사용 안 할 수가 없어서요.
 
사용환경은 FreeBSD 4.9 Stable 입니다.
 
 
--
Chang-Keun PARK   KICOM, E-solution Team
Systems&Network Engineer
 
E-mail : kircheis@xxxxxxxxxxxxxxx
Tel : +82-2-2102-5029,  Fax:+82-2-2102-5099
Mobile : +82-16-513-4049
729-21, Bongchun dong, KwanAk-gu, Seoul, KR
_______________________________________________
한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
questions at kr.FreeBSD.org
http://www.kr.FreeBSD.org/mailman/listinfo/questions

[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2004/01/06 14:06:33 $
Powered by FreeBSD