Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2002 08:19:57 -0700
From:      "Brian M. Kincaid" <bmk@adsl-64-174-159-18.dsl.sntc01.pacbell.net>
To:        =?iso-8859-1?q?Claus=20Guttesen?= <cguttesen@yahoo.dk>
Cc:        FreeBSD-stable <stable@FreeBSD.ORG>, bmk@adsl-64-174-159-18.dsl.sntc01.pacbell.net
Subject:   Re: unable to install jdk13 on 4.6 RC 
Message-ID:  <200206071519.g57FJvNp009789@adsl-64-174-159-18.dsl.sntc01.pacbell.net>
In-Reply-To: Message from =?iso-8859-1?q?Claus=20Guttesen?=  <cguttesen@yahoo.dk> of "Fri, 07 Jun 2002 10:16:20 %2B0200." <20020607081620.18260.qmail@web14101.mail.yahoo.com> 

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

I had a similar problem, including the same error messages. It turned out=
 that =

I had several conflicting header files on my system, due to my having =

installed GCC 3.2 from the ports package. That package comes with its own=
 java =

support, which generates conflicts when trying to install jdk13. The incl=
ude =

paths used in the jdk13 build pick up the wrong headers, and the build fa=
ils.

Once I figured this out I removed the GCC port, and made sure that all th=
e =

java-related header files were gone.

Jdk13 then installed with no problems. =


Hope this works for you,

Brian


In message <20020607081620.18260.qmail@web14101.mail.yahoo.com>, =3D?iso-=
8859-1?q
?Claus=3D20Guttesen?=3D writes:
>Hi.
>
>I needed som diskspace for OpenOffice for FreeBSD and
>deleted some packages. Unfortunately I accidentally
>uninstalled jdk13 as well.
>
>OpenOffice needs jdk13. 'No problem, the port will
>take care of that' I thought. But the compilation of
>jdk13 fails. The error-message I get appears to be
>related to open-motif.
>
>Jdk13 was successfully installed on 4.4 stable.
>
>The error is:
>
>../../oji-plugin/src/motif/navig5/remotejni.cpp: In
>function `void * jni_GetMethodID(RemoteJNIEnv *,
>__jclass *, const char *, const char *)':
>../../oji-plugin/src/motif/navig5/remotejni.cpp:784:
>request for member `java_method' in `*retval', which
>is of non-aggregate type `void'
>
>The error-message is repeated, except for the
>linenumber which changes.
>
>The last line of the error-message is:
>
>gmake[1]: *** [../../tmp/bsd/i386/remotejni.o] Error 1
>gmake[1]: Leaving directory
>`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'
>gmake: *** [plugin-all] Error 1
>
>
>I tried to deinstall and reinstall and portupgrade
>open-motif, and also tried to install lesstif, but to
>no avail. Lesstif is removed again.
>
>My machine is AMD Athlon, stable 4.6 RC as of June
>5'th, /etc/make.conf is using K7 as CPU-designation,
>and I use -O2 as optimization. Tried -O but the error
>remained the same.
>
>Regards
>Claus Guttesen
>
>
>_____________________________________________________
>F=F8lg VM i fodbold p=E5 t=E6t hold fra Yahoo!s officielle VM-side =

>www.yahoo.dk/vm2002
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message

-- =

Brian M. Kincaid
PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=3Dget&search=3D0x3365=
6401



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




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