Peter Schuller wrote:
> Configure givs me this:
>
> checking java port... UNRECOGNIZED!!!!
> Uknown version of java. Try to config manually by
>
> I've played with the manual settings to no avail. I'm using Steve Byrne's
> 1.1.5v7.
>
> When compiling the header files aren't found, probably because configure by
> some reason identifies Netscape VM as the JDK (?!?!?).
Autoconfigure in tya suppose that java executable in path is JDK. If
netscape have something called java it might me a cause. For now there
is no neat way to tell configure to use different locations - I'll
correct this. For now you can just change line in configure that reads
javabin=`which java`
to your java executable with full path.
> gcc -Wall -pipe -shared -O6 -m486 -malign-loops=4 -malign-functions=4
> -malign-jumps=4 -I/usr/local2/netscape/../include
> -I/usr/local2/netscape/../include/genunix -o libtya.so tya.c tyarecode.c
> tyaruntime.c tyaasm.S
>
> Noteice the "../".
It is because `which` command we get path to java/bin and I need both
java/include and java/lib. So instead of some way of parsing (BTW
dirname should have option to strip more than just file) I just use
java/bin/../include and java/bin/../lib
So, either change javabin to your directory directly, or move jdk first
in path compared to netscape (or wait for update :)
Artur