I didn't read configure.in enough; it looks like you can just export THREADS_FLAG=green, and it might autodetect it.
Last time I checked, green threads did not work with Pike. Maybe the green threads implementation has improved since then, but I doubt it. Setting $THREADS_FLAG to "green" is the correct way to try it though.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-09-04 20:27: Subject: Re: Java under FreeBSD
In the last episode (Sep 04), Dan Nelson said:
Now what it "sefFTPMode" and where does this thing comming from ?
You need to set your LD_LIBRARY_PATH to point to the correct threads library. The java_wrapper scripts installed with the JDK usually handle all this behind the scenes. For 1.3.1 your only choice is green threads. With 1.4.1 your only choice is native threads.
export LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/green_threads${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
This is all guessing; I have not built a pike Java module myself.
I didn't read configure.in enough; it looks like you can just export THREADS_FLAG=green, and it might autodetect it.
-- Dan Nelson dnelson@allantgroup.com
/ Brevbäraren