Mark Wielaard skrev  den 26-06-2008 08:31:
Hi Thorbjørn,

On Wed, 2008-06-25 at 23:53 +0200, Thorbjørn Ravn Andersen wrote:
I gave it a try again, just to see what happens.

The script first looks for an awk and finds /usr/bin/nawk, and then explicitly later looks for gawk. export GAWK=/usr/bin/nawk got me over that test.

It explicitly tests for gawk since that is what the build says it
requires.

dnl OpenJDK's README-builds.html lists gawk as a build dependency so we
dnl check for it explicitly rather than using AC_PROG_AWK.
FIND_TOOL([GAWK], [gawk])

It requires both an ecj.jar and a libgcj.jar.  Are both necessary?

Yes, one is a compiler and one is a core class library set.

A "-bash-3.2$ ./configure --with-ecj-jar=/export/home/ravn/download/ecj.jar --with-ecj --with-libgcj-jar=/export/home/ravn/download/ecj.jar --with-xalan2-jar=/export/home/ravn/download/ecj.jar --with-xalan2-serializer-jar=/export/home/ravn/download/ecj.jar --with-xerces2-jar=/export/home/ravn/download/ecj.jar" got me to
configure: error: "motif headers were not found -
        try installing lesstif-devel."

which I now remember to be the place where I gave up the last time as apparently Motif is not available under OpenSolaris and "pkg search lesstif" did not show any packages.

I'll look at building lesstif and see what happens then...

This really shouldn't be necessary anymore. At least not for
icedtea/jdk7, there might still be some header constants used in
icedtea6/openjdk6, but if so we should backport the fixes to remove them
and remove this check.
I banged some more on icedtea. Installed lesstif and told it about /usr/openwin for X11 stuff.

I did not have a software companion cd so I just compiled cups and used that for headers.

It appears that alsa is required unconditionally instead of under Linux only.

The pkg-config commadn is used to get details about XP (a package). I could not resolve this - is this a gnome package? Hacked the configure script to get pass this.

Oh, it would be nice if there was an "openjdk-dev-prerequisites" package in the repository :) Right now I'm giving up on this...

--
 Thorbjørn

Reply via email to