Subject: Python with threads
To: None <tech-pkg@netbsd.org>
From: None <toh@po.ntts.co.jp>
List: tech-pkg
Date: 04/18/2001 14:18:59
Hi,
I was trying to use thread module with Python, but I found
--without-threads option was set in
/usr/pkgsrc/lang/python/Makefile.
Without --without-threads option, build process fails. So I
assume that's why this option was set.
So, I did:
1. Remove --without-threads option from Makefile
2. make CC="cc `pthread-config --cflags`" \
LDFLAGS="`pthread-config --ldflags`" \
LIBS="`pthread-config --ldflags --libs`" \
LD_LIBRARY_PATH="`pthread-config --ldflags`"
in /usr/pkgsrc/lang/python
then I could get Python with threads.
Is this the corrct way of building?
Thank you very much in advance.
-------------------------------------------------------
FUJIO NOBORI (toh@po.ntts.co.jp)