Thread support in NetBSD

Anders Åberg andersaa at stud.cs.uit.no
Wed Feb 27 05:03:16 EST 2002


Thanks for your reply..

> > In the pthread directory, there are three subdirectories: bin, include
and
> > lib. Should I have passed one of these as parameter to configure,
instead
> > of the parent directory?
>
> I think this kind of setup is not supported. The directory it asks for
> is the library directory (it goes into the compiler line as a -L
> option), but there is no provision for locating header files in a
> different place.


So i should use
./configure --with-threads=/usr/pkg/pthread/lib
instead of
./configure --with-threads=/usr/pkg/pthread ?

> I'm not sure what MIT threads are, but unless they closely resemble
> Posix threads, you are out of luck. In that case, you'd first need to
> port Python to MIT threads.

The mit-pthread library is an implementation of posix threads. So i think
it should work.

> If the pthreads module is suited for your thread library, you can try
> setting CPPFLAGS and LDFLAGS before invoking configure. If that fails,
> you need to adjust configure.in.

What should i set these flags to? Sorry but i don't know much about these
things..


Anders.





More information about the Python-list mailing list