On Tue, May 05, 2009 at 12:22:52PM -0700, Robert Gilaard wrote:
> I installed OpenBSD 4.5 yesterday and installed the package tcl-8.5.6.
>
> Based
> on http://www.openbsd.org/4.4_packages/i386/tcl-8.5.2p1.tgz-long.html I
> concluded that the tcl package on OpenBSD was built with threads
> support.
No. There's only the non-threaded tcl available on FTP (I don't
know wether there's a good reaon for it).
> However, when I try to compile aolserver, the configure script exits with the
> following error:
> configure: error: must build tcl with --enable-threads
>
> It looks like it wasn't built with threads support.
>
> What am I doing wrong here?
You need the threaded flavor of tcl, and since there's no package
availabel, you've to build it yourself:
$ cd /usr/ports/lang/tcl/8.5
$ FLAVOR=threaded make install
Ciao,
Kili