Dear Peter,
I had the same problem initially with tya 0.7.  I fixed it by including the <java
home>/bin directory in my path.  If you look in the configure file, it's trying to
find the java executable by using the which command.  If the java executable isn't
in your path, you get the message you described. Don't even try to modify tya.h -
that way lies madness.

Hope this helps,
Peter Johnson [EMAIL PROTECTED]


Peter Schuller wrote:

> Hi!
>
> I'm having problem getting TYA to compile... I've done alot of programming but
> I still haven't learned to figure out those automatic configure stuff etc so
> I'm not sure how to fix it.
>
> 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 (?!?!?).
>
> BUT! It does include netscape's headers, here's the comandline :
>
> 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 "../".
>
> But as I said, I haven't figured all these autoconfig stuff out yet, so I don't
> know where to edit Makefile templates and stuff to replace is with the real path
> to the JDK.
>
> Anyone?
>
> I'm using TYA 06. I know 07 is out and I'll download it ASAP. But this problem
> will most likely persist.
>
> Thanks!
>
> / Peter Schuller
>
> -----------------------------------
> WWW: hem.passagen.se/petersch/         (might change)
> -----------------------------------
> PGP public key: Available at hkp://pgpkeys.mit.edu
> PGP user ID: "Peter Schuller <[EMAIL PROTECTED]>"
> -----------------------------------
> Linux - The Choice of a GNU Generation
> Be Microsoft FREE!!! Check out www.linux.org



Reply via email to