From owner-freebsd-java@FreeBSD.ORG Thu Feb 12 07:23:20 2004 Return-Path: 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 2DC7B16A4CE for ; Thu, 12 Feb 2004 07:23:20 -0800 (PST) Received: from pegmatite.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1F2B43D31 for ; Thu, 12 Feb 2004 07:23:19 -0800 (PST) (envelope-from freebsd@coal.sentex.ca) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id A4959171CF; Thu, 12 Feb 2004 10:23:15 -0500 (EST) Date: Thu, 12 Feb 2004 10:23:15 -0500 From: Damian Gerow To: java@freebsd.org Message-ID: <20040212152315.GC56315@sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-GPG-Key-Id: 0xB841F142 X-GPG-Fingerprint: C7C1 E1D1 EC06 7C86 AF7C 57E6 173D 9CF6 B841 F142 X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i Subject: Problems compiling java/jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 15:23:20 -0000 I'm having some troubles trying to compile jdk1.4.2 on a newly installed machine. The weird thing is that I *just* compiled it on another machine without trouble. I hope people don't mind the newbie-ish question... When I try to do a 'make', this is what I see after a fair bit of time: /usr/bin/sed -e 's!debug_util\.o!/usr/ports/java/jdk14/work/control/bu= ild/bsd-i586/tmp/sun/sun.awt/awt/obj/&!g' > /usr/ports/java/jdk14/work/cont= rol/build/bsd-i586/tmp/sun/sun.awt/awt/obj/debug_util.d /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-par= entheses -DMLIB_NO_LIBSUNMA -DMOTIF_VERSION=3D2 -Di586 -DAR=3D'"i586"' -DR= ELEASE=3D'"1.4.2-p6"' -DFULL_VERSION=3D'"1.4.2-p6-root_10_feb_2004_20_09"' = -D_GNU_SOURCE -D_READ_SAFE -D_REENTRANT -D_BSD_SOURCE -I. -I/usr/ports/java= /jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/CClaseaders -I../../= =2E./src/solaris/javavm/export -I../../../src/share/javavm/export -I../../.= =2E/src/share/javavm/include -I../../../src/solaris/javavm/include -I../../= =2E./src/share/native/common -I../../../src/solaris/native/common -I../../.= =2E/src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -I/usr= /X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -I.= =2E/../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/= awt/debug -I../../../src/share/native/sun/awt/image -I../../../src/share/na= tive/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/shell -I../.= =2E/../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/= sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../= src/share/native/sun/awt/../java2d -I../../../src/solaris/native/sun/awt/..= /java2d -I../../../src/share/native/sun/awt/../java2d/loops -I../../../src/= share/native/sun/awt/../java2d/pipe -I../../../src/share/native/sun/awt/../= dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../src/solari= s/native/sun/awt/../jdga -c -o /usr/ports/java/jdk14/work/control/build/b= sd-i586/tmp/sun/sun.awt/awt/obj/awt_AWTEvent.o ../../../src/solaris/native= /sun/awt/awt_AWTEvent.c In file included from ../../../src/solaris/native/sun/awt/awt_AWTEvent.= c:19: ../../../src/solaris/native/sun/awt/awt_p.h:33:25: Xm/CascadeB.h: No su= ch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:34:25: Xm/DrawingA.h: No su= ch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:35:23: Xm/FileSB.h: No such= file or directory ../../../src/solaris/native/sun/awt/awt_p.h:36:26: Xm/BulletinB.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:37:21: Xm/Form.h: No such f= ile or directory ../../../src/solaris/native/sun/awt/awt_p.h:38:22: Xm/Frame.h: No such = file or directory ../../../src/solaris/native/sun/awt/awt_p.h:39:22: Xm/Label.h: No such = file or directory ../../../src/solaris/native/sun/awt/awt_p.h:40:22: Xm/PushB.h: No such = file or directory ../../../src/solaris/native/sun/awt/awt_p.h:41:23: Xm/PushBG.h: No such= file or directory ../../../src/solaris/native/sun/awt/awt_p.h:42:26: Xm/RowColumn.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:43:26: Xm/ScrollBar.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:44:26: Xm/ScrolledW.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:45:26: Xm/SelectioB.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:46:26: Xm/SeparatoG.h: No s= uch file or directory ../../../src/solaris/native/sun/awt/awt_p.h:47:24: Xm/ToggleB.h: No suc= h file or directory ../../../src/solaris/native/sun/awt/awt_p.h:48:22: Xm/TextF.h: No such = file or directory ../../../src/solaris/native/sun/awt/awt_p.h:49:21: Xm/Text.h: No such f= ile or directory ../../../src/solaris/native/sun/awt/awt_p.h:50:21: Xm/List.h: No such f= ile or directory ../../../src/solaris/native/sun/awt/awt_p.h:51:19: Xm/Xm.h: No such fil= e or directory ../../../src/solaris/native/sun/awt/awt_p.h:52:22: Xm/MainW.h: No such = file or directory In file included from ../../../src/solaris/native/sun/awt/awt_p.h:55, from ../../../src/solaris/native/sun/awt/awt_AWTEvent.= c:19: ../../../src/solaris/native/sun/awt/awt_util.h:12:26: Xm/VendorSEP.h: N= o such file or directory ../../../src/solaris/native/sun/awt/awt_util.h:13:25: Xm/VendorSP.h: No= such file or directory In file included from ../../../src/solaris/native/sun/awt/awt_AWTEvent.= c:19: ../../../src/solaris/native/sun/awt/awt_p.h:266: error: syntax error be= fore "getMotifFontList" ../../../src/solaris/native/sun/awt/awt_p.h:266: warning: type defaults= to `int' in declaration of `getMotifFontList' ../../../src/solaris/native/sun/awt/awt_p.h:266: warning: data definiti= on has no type or storage class ../../../src/solaris/native/sun/awt/awt_AWTEvent.c: In function `Java_j= ava_awt_AWTEvent_nativeSetSource': ../../../src/solaris/native/sun/awt/awt_AWTEvent.c:72: warning: cast to= pointer from integer of different size gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/su= n/sun.awt/awt/obj/awt_AWTEvent.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/a= wt' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/a= wt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. The first time I built the port, I tried with -DMINIMAL, and I thought that might be the problem. But it's not. I can see all the header files on the system I just successfully installed it in under /usr/X11R6/include. On the system that the build's broken on, I only see the include files under /usr/ports/java/jdk14/work/motif/lib/. Help? What do I need to do to get the native JDK installed? I'm at a bit of a loss -- I've done the same things I normally do on systems I install java on, but this one doesn't want to install. Yes, I know that I can just copy all the header files over, I'm just wondering what it is that's caused this. And before anyone suggests, I have completely purged the java section of my ports tree and re-supped it a number of times, to no avail. And I've re-downloaded the JDK a few times, to no avail.