On Sunday 17 April 2011 06:50:42 David Holmes wrote: > luxInteg said the following on 04/17/11 07:32: > > For and Update:- > > ========= > > I added > > OTHER_LDFLAGS += -liconv > > at line 61 of jdk/make/java/npt/Makefile > > > > and ran make like so > > make [ARCH_DATA_MODEL=64] OTHER_LDFLAGS=-liconv > > [ALT_OUTPUTDIR=/opt/openJDK] > > I don't think you need to add it in both places. By setting it on the > command-line you augment any value set in the Makefile.
I tried the make command a) leaving out OTHER_LDFLAGS=-liconv and b) with [OTHER_LDFLAGS=-liconv] and both failed, the only one that succeeded is that suggested by your colleague as shown in the post > > and this is what resulted > > ######## > > In file included from > > ../../../src/solaris/native/sun/awt/../java2d/opengl/GLXGraphicsConfig.h: > > 30:0, > > > > from ../../../src/solaris/native/sun/awt/awt_p.h:82, > > > > from ../../../src/solaris/native/sun/awt/awt_MToolkit.c:26: > > ../../../src/solaris/native/sun/awt/../java2d/opengl/J2D_GL/glx.h:69:22: > > fatal error: X11/Xlib.h: No such file or directory > > compilation terminated. > > Looks like your X11 header files are not in the usual/expected place. > Try setting ALT_OPENWIN_HOME to point to the "root" of your X11 headers. > Grep for ALT_OPENWIN_HOME to see what the expected location is. I tried setting ALT_OPENWIN_HOME=/path/to/installed/Xorg7.6 and it did not work > > the build terminated earlier earlier that when this ix was applied. > > AND the system it seems is seen as 'solaris' as opposed to linux. > > No, in the jdk repository (as opposed to the hotspot repository) the > "solaris" directory tree actually means "non-Windows" or "unix-like". > ifdefs are then used for solaris and linux specific code. > > > advice would be appreciated > > HTH > > David Holmes -------------- I then fumbled around and seem to have goot lucky -the build miraclously ended like so:- ######################################################################## ##### Leaving jdk for target(s) sanity all docs images ##### ######################################################################## ##### Build time 00:13:55 jdk for target(s) sanity all docs images ##### ######################################################################## -- Build times ---------- Target all_product_build Start 2011-04-17 12:30:03 End 2011-04-17 12:48:17 00:02:25 corba 00:00:31 jaxp 00:00:33 jaxws 00:13:55 jdk 00:00:50 langtools 00:18:14 TOTAL ------------------------- * the fumbling involved:- -- linking ~/X11/include to /usr/include/X11 -- linking /usr/bin/cpio to /bin/cpio ----- could you or others on list suggest how to test the build and install it please? And thanks to all for help so far sincerely luxInteg