Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 08:31:45 +0100
From:      Baptiste Daroussin <baptiste.daroussin@gmail.com>
To:        Mike Jakubik <mikej@rogers.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: openjdk6 port complete and ready for testing
Message-ID:  <20090224073144.GC1877@wicklow.lan>
In-Reply-To: <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org>
References:  <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <20090223171912.GA1877@wicklow.lan> <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

No it fails for me either, I'm trying to understand why it doesn't works.

On Mon, Feb 23, 2009 at 04:07:43PM -0500, Mike Jakubik wrote:
> On Mon, February 23, 2009 12:19 pm, Baptiste Daroussin wrote:
> > Thanks for that,
> >
> > I tried to build it but it fails tn find X11/Xlib.h that I get on my
> > system,
> > perhaps it is necessary to add X11_PATH=${LOCALBASE} I'm trying to build
> > it with
> > that new env to see if it fixes the build (it is very long as my testing
> > computer
> > is slow).
> 
> I also get the same error. I have tried the changes you mentioned but it
> still fails. Have you had any luck with it?
> 
> ---
> /usr/bin/gcc  -O3    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
> -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN
> -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH  -Damd64
> -DARCH='"amd64"' -D_ALLBSD_SOURCE -DRELEASE='"1.6.0-internal"'
> -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I.
> -I/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/CClassHeaders
> -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../../../src/solaris/native/sun/awt/font 
> -I../../../src/share/native/sun/awt/debug
> -I../../../src/share/native/sun/awt/../font
> -I../../../src/solaris/native/sun/awt/../font
> -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/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/../java2d/opengl
> -I../../../src/solaris/native/sun/awt/../java2d/opengl
> -I../../../src/solaris/native/sun/awt/../java2d/x11
> -I../../../src/share/native/sun/awt/../dc/doe
> -I../../../src/share/native/sun/awt/../dc/path
> -I../../../src/solaris/native/sun/awt/../jdga
> -I../../../src/solaris/native/sun/awt  -I/usr/X11R6/include
> -I/usr/X11R6/include/X11/extensions  -c -o
> /usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o
>  ../../../src/share/native/sun/awt/../java2d/pipe/Region.c
> In file included from
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34,
>                  from
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30:
> .../../../src/solaris/native/sun/awt/utility/rect.h:31:22: error:
> X11/Xlib.h: No such file or directory
> In file included from
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34,
>                  from
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30:
> .../../../src/solaris/native/sun/awt/utility/rect.h:32: error: expected
> '=', ',', ';', 'asm' or '__attribute__' before 'RECT_T'
> In file included from
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30:
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.h:211: error:
> expected declaration specifiers or '...' before 'RECT_T'
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:243: error:
> expected declaration specifiers or '...' before 'RECT_T'
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c: In function
> 'RegionToYXBandedRectangles':
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error:
> 'pRect' undeclared (first use in this function)
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error:
> (Each undeclared identifier is reported only once
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: for
> each function it appears in.)
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:263: warning:
> comparison between signed and unsigned
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error:
> 'RECT_T' undeclared (first use in this function)
> .../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error:
> expected expression before ')' token
> gmake[4]: ***
> [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o]
> Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt'
> gmake[3]: *** [library_parallel_compile] Error 2
> gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make'
> gmake: *** [jdk-build] Error 2
> *** Error code 2
> 
> root@dev.local:/usr/ports/java/openjdk6# locate Xlib.h
> /usr/local/include/X11/Xlib.h
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090224073144.GC1877>