Date: Thu, 12 Feb 2004 10:23:15 -0500 From: Damian Gerow <freebsd@coal.sentex.ca> To: java@freebsd.org Subject: Problems compiling java/jdk14 Message-ID: <20040212152315.GC56315@sentex.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040212152315.GC56315>