From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 06:45:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC65216A41F for ; Wed, 26 Oct 2005 06:45:47 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E058443D45 for ; Wed, 26 Oct 2005 06:45:46 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j9Q6f8Sv031084; Wed, 26 Oct 2005 09:41:08 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j9Q6f5bT031080; Wed, 26 Oct 2005 09:41:07 +0300 Date: Wed, 26 Oct 2005 09:41:05 +0300 (EEST) From: Achilleus Mantzios To: Tanya N kessler In-Reply-To: <20051025145437.85589.qmail@web80807.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 06:45:48 -0000 O Tanya N kessler Ýãñáøå óôéò Oct 25, 2005 : > Yeah, I tried to execute the command by hand in a script. I just get some other different errors. The thing is, I shouldn't have the first error. If other people can install it, why can't I? In theory this is what I'm trying to do on a fresh install. Of course I'm having some problems with installing the new world, but once I get passed that maybe it will work? If someone sees something that I'm missing, please point it out. > > > > Install FreeBSD 5.4 on AMD64. > Create /root/current-supfile > > > *default host=cvsup7.freebsd.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dope!!!!!!!!!! Do you realize that you are not longer on FreeBSD 5.4 ???? Can you do a "uname -a" right now? For 5.4 you would need smth like: *default release=cvs tag=RELENG_5 (for stable development branch), or *default release=cvs tag=RELENG_5_4 (for the "errata" branch, or merely just *default release=cvs tag=RELENG_5_4_0_RELEASE (for the release itself). > *default delete use-rel-suffix > ports-all tag=. > > src-all > > > > > > > > > > > > > > > > > > > Update ports and source files. > > > # cvsup /root/current-supfile > > > > > > > > > Create package database. > > > # pkgdb -F > > > > > > > Upgrade installed ports. > > > # portupgrade -arR > > > > > > > Rebuild world and kernel, boot in single user mode. GENERIC kernel will have all correct options for Linux binary support. > > > boot –s > > # fsck –p > > # mount –u / > > # mount –a –t ufs > > # swapon –a > > # adjkerntz –i > > # cd /usr/src > > # make buildworld > > # make buildkernel > > # make installkernel > > Reboot into single user mode (boot –s) > > # fsck –p > > # mount –u / > > # mount –a –t ufs > > # swapon –a > > # cd /etc > > # mergemaster –p > > # make installworld > > # mergemaster > > # reboot > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Add to /etc/fstab: > > > linprocfs /usr/compat/linux/proc linprocfs rw 0 0 > > > > > > > Add to /etc/make.conf: > > > WITH_LIB32=YES > > > > > > > Acquire all related Java source, binaries, and patch files. Make sure they are all executable by user and group, then copy to /usr/ports/distfiles. > Navigate to /usr/ports/java/linux-sun-jdk14. > > > # make > > # make install > > # make clean > > # make distclean > > > > > > > > > > > > > > > Test java: > > > # java -version > > > > > > > Navigate to /usr/ports/java/jdk15. > > > # make > > # make install > > # make clean > > # make distclean > > > > > > > > > > > > > > > > > Achilleus Mantzios wrote: > Have you tried jdk15 on FreeBSD 6.x?? > > Also if i were you, i'd ask some "popular" person from java@freebsd > to login to your machine and have a close look. > > Also, what about the actual shell command that caused the execve() error?? > > -- -Achilleus