Problems compiling java/jdk14
Damian Gerow
freebsd at coal.sentex.ca
Thu Feb 12 07:23:20 PST 2004
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/build/bsd-i586/tmp/sun/sun.awt/awt/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/debug_util.d
/usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -DMLIB_NO_LIBSUNMA -DMOTIF_VERSION=2 -Di586 -DAR='"i586"' -DRELEASE='"1.4.2-p6"' -DFULL_VERSION='"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../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../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../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/shell -I../../../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/solaris/native/sun/awt/../jdga -c -o /usr/ports/java/jdk14/work/control/build/bsd-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 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.
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.
More information about the freebsd-java
mailing list