From owner-freebsd-java@FreeBSD.ORG Sun May 16 17:32:24 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 16C8216A4CE for ; Sun, 16 May 2004 17:32:24 -0700 (PDT) Received: from hobbiton.shire.net (hobbiton.shire.net [206.71.64.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id A428E43D1F for ; Sun, 16 May 2004 17:32:19 -0700 (PDT) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.10) id 1BPW3G-000FkF-00; Sun, 16 May 2004 18:32:18 -0600 Mime-Version: 1.0 (Apple Message framework v613) Message-Id: From: "Chad Leigh -- Shire.Net LLC" Date: Sun, 16 May 2004 18:32:14 -0600 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.613) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hobbiton.shire.net X-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Level: cc: "Chad Leigh -- Shire.Net LLC" Subject: problem building jdk14 from ports on CURRENT 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: Mon, 17 May 2004 00:32:24 -0000 Hi I am attempting to build the jdk14 port on a 5.2-CURRENT (May 10 or 11) machine. I have gotten through the various problems I saw in the ML archives-- the linprocfs, etc. Now I am getting a compile problem in some awt code... Here it is: 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 such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:34:25: Xm/DrawingA.h: No such 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 such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:37:21: Xm/Form.h: No such file 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 such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:43:26: Xm/ScrollBar.h: No such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:44:26: Xm/ScrolledW.h: No such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:45:26: Xm/SelectioB.h: No such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:46:26: Xm/SeparatoG.h: No such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:47:24: Xm/ToggleB.h: No such 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 file or directory ../../../src/solaris/native/sun/awt/awt_p.h:50:21: Xm/List.h: No such file or directory ../../../src/solaris/native/sun/awt/awt_p.h:51:19: Xm/Xm.h: No such file 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: No 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 before "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 definition has no type or storage class ../../../src/solaris/native/sun/awt/awt_AWTEvent.c: In function `Java_java_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/sun/sun.awt/awt/ obj/awt_AWTEvent.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/awt' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/awt' 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. hobbiton# The missing .h files are found in /usr/local/include/Xm/ This is actually being built inside a jail and I tweak it as I go. But X11 was not initially installed so the port has had to install all the baloney for open-motif and X and stuff and I copied the X11 hierarchy from the base machine into the jail for the libs and includes. I don't know where the Xm stuff is supposed to go but the install stuck it in /usr/local. I also seem to have copies of the .h files in /usr/ports/java/jdk14/work/motif/lib/Xm/ How does one tell the ports build system to look in other places? Or what can I otherwise do about this? Thanks Chad please CC me as well as the list -- I have tried to subscribe to the list but have not yet gotten any confirmation request sent to me