Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2004 18:32:14 -0600
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        freebsd-java@freebsd.org
Cc:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Subject:   problem building jdk14 from ports on CURRENT
Message-ID:  <A4A0DBAC-A799-11D8-9460-003065A70D30@shire.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4A0DBAC-A799-11D8-9460-003065A70D30>