From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 11:48:00 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 9827016A41F for ; Wed, 26 Oct 2005 11:48:00 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80806.mail.yahoo.com (web80806.mail.yahoo.com [66.163.170.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 29BFE43D48 for ; Wed, 26 Oct 2005 11:48:00 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 77142 invoked by uid 60001); 26 Oct 2005 11:47:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=S+NLXipy5AkAaK/75Drgnxr7yybBt2tNNlh7h5pJu+ptLTsvkHaG3Y1VR6XpUkkMnwDn02FLLp/uj4QhWxAQQHHdR2QOHR/WajcchDcTfaJWnwcXqHZEeY48Zinnxe0WAChZTOZKiMiCRlkI9Lk0gYU7jcwibfsrJjFIKPPONwg= ; Message-ID: <20051026114759.77140.qmail@web80806.mail.yahoo.com> Received: from [129.54.8.45] by web80806.mail.yahoo.com via HTTP; Wed, 26 Oct 2005 04:47:59 PDT Date: Wed, 26 Oct 2005 04:47:59 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 11:48:00 -0000 I thought maybe I had to run current ports for jdk to work. I did a fresh install last night and cvsup'd with: *default host=cvsup7.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix compress ports-all tag=. src-all I reliezed last night that I have been installing linux_base instead of linux_base-8. I also didn't have: linux_enable="YES" in rc.conf. I tried to build native jdk15 last night, it seemed to stop and hang where it said: Old database: computing closures New database: reading database: includeDB computing closures I think I'm getting closer now, I added: WITH_LIB32=YES to /etc/make.conf and started it before I left for work. I'll see what happens when I get home. Does anyone know if I'm close to getting it installed now? Achilleus Mantzios wrote: 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. 1.Create /root/current-supfile *default host=cvsup7.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all tag=. src-all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2. Update ports and source files. # cvsup /root/current-supfile 3. Create package database. # pkgdb -F 4. Upgrade installed ports. # portupgrade -arR 5. 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 6. 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 7. Add to /etc/fstab: linprocfs /usr/compat/linux/proc linprocfs rw 0 0 8. Add to /etc/make.conf: WITH_LIB32=YES 9. 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. 10. Navigate to /usr/ports/java/linux-sun-jdk14. # make # make install # make clean # make distclean 11. Test java: # java -version 12. Navigate to /usr/ports/java/jdk15. # make # make install 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