problem building jdk14 from ports on CURRENT

problem building jdk14 from ports on CURRENT

Post by chad » Tue, 18 May 2004 09:32:39


i

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/jdk
 
 
 

problem building jdk14 from ports on CURRENT

Post by past » Tue, 18 May 2004 15:37:02


These files are usually found in /usr/X11R6/include. You could try
building everything inside your jail by setting X11BASE=/usr/local or
copying stuff over.

Cheers,
--
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "

 
 
 

problem building jdk14 from ports on CURRENT

Post by chad » Wed, 19 May 2004 15:31:15


I copied stuff over and soft linked some stuff and got it built. It
seems to perform pretty well to. I have a single java "benchmark"
(Fhourstones) (I know, it ain't worth much) and I ran it on this new
installation on 5.2-CURRENT (with WITNESS and dbg stuff there still
etc) running on 1.8ghz Opteron and it came in at about 90% of an AMD MP
2800+ under Linux (2.4.24 gentoo) running the Sun 1.4.2_03 jvm... I
was impressed since the earlier 1.3.1 green threads jdk I had on
FreeBSD came in at about 10% on a 4.7/4.9 system running on the same MB
and AMD MP 2800+ CPU as the Linux one...

My problem is that I defined PREFIX to point to something I call
/usr/pub so when it tried to build all the darn X stuff it stuck it in
there instead of the normal place for it.

I have /usr/pub in my master jail as a read write location that acts
like /usr/local except it gets mounted as read only in all the other
jails and /usr/local is kept as a separate per-jail writable area.
/usr/pub/etc gets soft linked to /usr/local/etc... Works pretty well
for making software available inside a jail with only having to install
it once. There are things that have to be copied into each jail
/usr/local/etc etc but it gets me part way there.

Thanks
Chad

_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "