From owner-freebsd-java Tue Jan 2 15:23:38 2001 From owner-freebsd-java@FreeBSD.ORG Tue Jan 2 15:23:33 2001 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id F259F37B400 for ; Tue, 2 Jan 2001 15:23:31 -0800 (PST) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f02NMIO01605; Wed, 3 Jan 2001 00:22:18 +0100 (CET) (envelope-from ernst) Date: Wed, 3 Jan 2001 00:22:18 +0100 From: Ernst de Haan To: jesse reynolds Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk 1.1 (and 1.2) install problems on 4.1.1-RELEASE Message-ID: <20010103002218.A1568@c187104187.telekabel.chello.nl> References: <20010102172936.A451@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jesse@va.com.au on Wed, Jan 03, 2001 at 09:48:04AM +1100 Sender: ernst@heinz.jollem.com Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Jesse, This is weird. I'm not sure what your problem is, but I've never seen a failing build of jdk1.1.8 from the ports before. I wonder why you don't have an MD5 checksum file. When was the last time you updated your ports tree? Perhaps there is a version mismatch here. If the version of your port is different from the port system version, then that might explain it. Try updating your ports tree using cvsup. You should execute something like: # cvsup /etc/cvsupfile If you don't have a cvsupfile, then check the examples (somewhere under /usr/share/doc I think) or privmsg me, I can send you one. Ernst jesse reynolds wrote: > Hi Ernst et al > > I've followed your directions (only I assume you meant pkg_delete :-) > and i'm still getting the same error. After the 'make install' > downloads the JDK file yet again, I get the following output, pretty > much the same as before: > > 11522659 bytes transferred in 226.0 seconds (49.80 kBps) > ===> Extracting for jdk-1.1.8 > >> No MD5 checksum file. > ===> Patching for jdk-1.1.8 > ===> Configuring for jdk-1.1.8 > ===> Installing for jdk-1.1.8 > ===> jdk-1.1.8 depends on executable: javavm - found > /bin/mkdir -p /usr/local/jdk1.1.8 > (cd /usr/ports/java/jdk/work/jdk1.1.8 && /usr/bin/tar -c -f - .) | > (cd /usr/local/jdk1.1.8 && /usr/ > bin/tar --unlink -x -f -) > /bin/mkdir -p /usr/local/share/java/classes > /bin/mkdir -p /usr/local/share/doc/java > ===> Generating temporary packing list > ** Missing package files for jdk-1.1.8. > *** Error code 1 > > Stop in /usr/ports/java/jdk. > *** Error code 1 > > Stop in /usr/ports/java/jdk. > *** Error code 1 > > Stop in /usr/ports/java/jdk. > # > > > > Is there something I can turn on to get more verbose output or > something? I mean it seems that either the tar file that is > downloaded has been altered since the port was made (and is missing a > component) or the port just doesn't know to get everything it > needs..... > > AHHHHH. Nate has just emailed me and told me I need to install the > FreeBSD-3 compatability libraries for this JDK to run. I'll try that. > > Cheers > > Jesse > > > > At 17:29 +0100 2/1/01, Ernst de Haan wrote: > >Hi Jesse, > > > >If want to install a JDK, you can start with JDK 1.1, and if that works, you > >could try 1.2. The native JDK 1.2.2b10 needs the JDK 1.1.8 anyway. > > > >First of all, remove the downloaded tar file: > > > > # rm /usr/ports/distfiles/jdk1.1.8_ELF.V1999-11-9.tar.gz > > > >Ignore any error messages. > > > >and then try making the port from scratch: > > > > # pkg_remove jdk-1.1.8 > > # cd /usr/ports/java/jdk > > # rm -rf work > > # make install > > > >Ignore any error messages. If there are no error messages, then that's okay > >too, ofcours :) > > > >Now if this process fails, send a detailed description of the error messages > >back to the list. > > > >-- > >Ernst > > > >jesse reynolds wrote: > >> Hi > >> > >> I'm having awful problems trying to get any sort of java functioning > >> on FreeBSD. I've tried the native freebsd jdk 1.2 beta, and linux 1.2 > >> jdk, neither of which work for me, they don't compile basically. > >> > >> So i thought I should try something more pedestrian. I'd be happy to > >> just have a v1.1 jdk running, so I've been trying to get jdk1.1.8 > >> running, to no avail. > >> > >> I'm trying to install jdk1.1.8 from the ports collection. To be sure, > >> I downloaded a fresh tar file of the port (/usr/ports/java/jdk) and > >> ran this. As I had tried installing it a few other times, this is a > >> 'make reinstall'... > >> > >> bash-2.04# make reinstall > >> ===> Installing for jdk-1.1.8 > >> ===> jdk-1.1.8 depends on executable: javavm - found > >> /bin/mkdir -p /usr/local/jdk1.1.8 > >> (cd /usr/ports/java/jdk/work/jdk1.1.8 && /usr/bin/tar -c -f - .) | > >> (cd /usr/local/jdk1.1.8 && /usr/bin/tar --unlink -x -f -) > >> /bin/mkdir -p /usr/local/share/java/classes > >> /bin/mkdir -p /usr/local/share/doc/java > >> ===> Generating temporary packing list > >> ** Missing package files for jdk-1.1.8. > >> *** Error code 1 > >> > >> Stop in /usr/ports/java/jdk. > >> *** Error code 1 > >> > >> Stop in /usr/ports/java/jdk. > >> *** Error code 1 > >> > >> Stop in /usr/ports/java/jdk. > >> *** Error code 1 > >> > >> Stop in /usr/ports/java/jdk. > >> bash-2.04# > >> > >> > >> the error is "missing package files for jdk-1.1.8" - but I have no > >> idea what files are missing... > >> > >> > >> I've also tried downloading the whole jdk from www.freebsd.org/java > >> and putting it in /usr/local/jdk1.1.8 but it complains that some > >> version 3 library files are not around. I've tried making sym links > >> from these to their version 4 equivalents, but then when i try to run > >> anything with java i get segmentation violations and java core dumps. > >> > >> Perhaps 1.1.8 just won't run on 4.X freebsd??? > >> > >> Cheers > > > > >> Jesse > >> > >> PS, I'm just wanting to run Apache Tomcat and Cocoon, which will work > >> with either 1.1 or 1.2 JDK's, which JDK do you think I'll have the > > > best luck with? > >> > >> Cheers > >> > >> Jesse > >> > >> -- > >> Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au > >> > >> Email: jesse (at) va.com.au > Web Hosting > >> Phone: +61 2 9590 8749 > Streaming Media Services > >> ?: http://jesse.va.com.au > Telehousing / Colocation > >> ICQ: 4766684 > Internet Systems Consulting > >> > Internet Application Design > >> > >> http://www.google.com/search?q=site:va.com.au+fun > >> > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-java" in the body of the message > >> > > -- > Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au > > Email: jesse (at) va.com.au > Web Hosting > Phone: +61 2 9590 8749 > Streaming Media Services > ?: http://jesse.va.com.au > Telehousing / Colocation > ICQ: 4766684 > Internet Systems Consulting > > Internet Application Design > > http://www.google.com/search?q=site:va.com.au+fun > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message