On Fri, 12 Mar 2004 22:39:46 +0000 Paul Warren pdw@ex-parrot.com wrote:
On Fri, Mar 12, 2004 at 03:13:57PM -0600, John Thompson wrote:
OK, now it seems to build:
-bash-2.05b$ cc -I/usr/pkg/include -L/usr/pkg/lib -lpthread -g -Wall -o pthread pthread.c -bash-2.05b$ls -l pthread -rwxr-x--- 1 john wheel 19808 Mar 12 15:02 pthread
Hmm, well in that case it should be possible to configure to get the test to compile. At the risk of trying something we've already tried, what happens if you do:
CPPFLAGS=-I/usr/pkg/include && LDFLAGS=-L/usr/pkg/lib && ./configure
Please send the log if it doesn't work.
No joy: checking for pcap.h... yes checking for a curses library containing mvchgat... -lncurses checking how to compile a working program with POSIX threads... no idea configure: error: can't figure out how to compile with POSIX threads If your system actually supports POSIX threads, this means we've messed up.
config.log attached...