From owner-freebsd-ports Mon Mar 20 20: 4:29 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rix.ibbs.com.br (rix.ibbs.com.br [200.249.240.10]) by hub.freebsd.org (Postfix) with SMTP id ED6E437B9EF for ; Mon, 20 Mar 2000 20:04:17 -0800 (PST) (envelope-from john@netpe.com.br) Received: (qmail 6659 invoked by uid 1000); 21 Mar 2000 04:03:00 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Mar 2000 04:03:00 -0000 Date: Tue, 21 Mar 2000 01:03:00 -0300 (EST) From: Joao Paulo Campello X-Sender: john@rix.ibbs.com.br To: marcel@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: linux_base6.1 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi pals, I've a box with FreeBSD 3.4-STABLE installed and working pretty fine. But I really need to use JDK 1.2.2 from Sun. I've seen that the newest FreeBSD port for the Java Project is to the JDK 1.1.8 version. I've found the JDK 1.2.2 BLACKDOWN port for FreeBSD, but I got in trouble installing TOMCAT (servlet). After reading, I noticed that Blackdown port is still beta and has many bugs. The point is: I've linux_base6.1 installed in my system into dir /compat/linux. When I downloaded and de-tarzed (tar xzvf) the JDK 1.2.2 for Linux I expected it to run fine, as I have the linux_base6.1 well installed. But the java and javac binaries complained about not finding the /usr/bin/expr. I thought if I have linux_base6.1 installed on my system EVERYTHING would work just like I was in a linux box. But now I notice it isn't true. My question is: How can I execute Linux ELF programs with near 100% compatibility when the programas are all located in /compat/linux and some programs try searching it in thei own linux pathes, like /usr/bin/expr, that in my system is in /compat/linux/usr/bin/expr. P.S. Note that a program may requite more than one linux binary to run, and it would be very anoying to set symlinks in everywhere for a lot of linux programas. Thanks in advance, Joao Paulo Campello. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message