Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2000 11:12:32 EDT
From:      "John Daniels" <jmd526@hotmail.com>
To:        past@netmode.ntua.gr, K.J.Koster@kpn.com
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: OpenJIT install
Message-ID:  <20000606151232.29525.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi:

Thanks for your reply.  I just want to clarify some points...


>On Tue, Jun 06, 2000 at 03:14:31AM -0400, John Daniels wrote:
> > Hi:
> > I got the following warning after I did the second gmake while 
>installing
> > OpenJIT for native JDK1.2.2 on a 4.0-STABLE machine:
> >
> > /work/build/freebsd/include-old
> > -I/home/johnd/source-jdk1.2.2/work/build/freebsd/include-old/freebsd
> > -I./CClassHeaders -DARCH=\"X86\" -DJDK_VERSION_STRING=\"1.2.2\"    -c -o
> > obj/rt-X86.o rt-X86.c
> > rt-X86.c: In function `dispatchJVM':
> > rt-X86.c:1027: warning: passing arg 7 of pointer to function from
> > incompatible pointer type
> > rt-X86.c: In function `OpenJIT_SignalHandler':
> > rt-X86.c:2383: warning: unused variable `ebp'
> > ld -G -o libOpenJIT.so obj/api.o obj/stubs.o obj/jdklink.o obj/rt-X86.o
> > gmake[1]: Leaving directory `/usr/home/johnd/OpenJIT-1.1.12'
>
>It is harmless (or it should be :-).

Glad to hear it!

> > I followed the directions on kjkoster's website.
> >
> > Question: Is there a step missing?  After the buildscript is run, the 
>next
> > paragraph is "Install and use" but there is no install command (like 
>"gmake
> > install"), only an "export PATH..." command.
>
>You should 'gmake install' after building. The page mentions this now
>that I looked.

I do not see a 'gmake install' as part of the instructions on building
the JDK.  But there *is* a 'gmake install' as part of the instructions
on building a JIT.  (I followed the instructions for adding OpenJIT).

Specifically, the section headings that K.J. Koster uses under "Howto's" 
are:

  1. Build the Port
          Install required ports,
          Create Work Directories,
          Download JDK source,
          Download patches,
          Unpack and Apply Patches,
          Create Build Script,
          Build,
          Install and Use      <----- NOTE
  2. Install a JIT
  3. Build for FreeBSD 2.2.8

NOTE: There is no install step under "Install and Use".  There would
appear to be three possibilities:
   1. The 'gmake release-images' within the build script that is run before 
the "Install and Use" section also does an install,
   2. the 'gmake install' under "Install a JIT" also installs the JDK,
   3. the install step for the JDK is missing.

> > I would like to install PostgreSQL which, as described in an
> > earlier post, installs one of two JDBC drivers, depending on the
> > JDK installed.  Has anyone done this (Edward Wolpert?) and/or how
> > can I install the JDK1.2.2 like a port so that it will be detected
> > (my guess: copy the release directory to /usr/local/jdk1.2.2; do
> > something like a pkg_install).  Should I have done this before I
> > installed OpenJIT (since OpenJIT asks for the path to the JDK)?
>
>That's right. If you do this before building OpenJIT and modify your
>PATH, OpenJIT should find you native 1.2.2 installation on its own.

Well I have already followed the directions on K.J. Koster's website so my 
release JDK is currently under my Home directory at:  
$HOME/source-jdk1.2.2/work/build/FreeBSD/jdk-image-i386, and I have already 
installed OpenJIT as per the directions.

So, do I have to do any 'deinstall's before coping the directory to 
/usr/local/jdk1.2.2?  Once I have copied the directory over, do I have to 
(re-)install the JDK? (what should I use: gmake install? pkg_install?) do I 
have to reinstall OpenJIT? etc.

On an earlier post to the mailing list (two or three weeks ago, I believe) 
Greg Lewis responded to someone who was having trouble by saying that an IDE 
(I think it was Forte) might need to have the *_g files available.  Is this 
true and would it mean that I should copy the ../FreeBSD/bin files (which 
includes the *_g files) to /usr/local/jdk1.2.2/bin?

Thanks again.

John
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606151232.29525.qmail>