From owner-freebsd-java@FreeBSD.ORG Tue Feb 24 07:31:50 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D5C41065670 for ; Tue, 24 Feb 2009 07:31:50 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id BB4DF8FC08 for ; Tue, 24 Feb 2009 07:31:49 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so339305eyd.7 for ; Mon, 23 Feb 2009 23:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=WJ3qn12uvj2rn5UKaf25b9lTqiq/GJrmgcxfTcPnVkA=; b=VTxFfPDS4kVILh91fsTsOpSp6OL9J1NMsr5AiF1+6WqkxJT6tAzNv3+l8xpxBdDFsW e09iNMXVl4ud6sdJ3vHcvpyrdY2KX2oiNqDssN6dQonuOwggStCMxJ+cTRMyepI99hwS lkJzjZhOUMtzniW9AGs9mkI+pM/bbuk5FNu+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=G9nRcUqIqDVKyoD3nkbRmuJVuKpm3YgOh7L843LhJo6zslR6+nuXXKdcuH4TIivOSk tGw0NkQ5FAAJVhJqEwGJWsbfUhEa6O24D6JYyud+SIpBXY67LG5IQ0M2ZWXoGPhsg7u/ vFCq32lY8TQvmPNk/VPFQKX1A+a0+yJ+knts8= Received: by 10.210.133.19 with SMTP id g19mr4176860ebd.29.1235460708377; Mon, 23 Feb 2009 23:31:48 -0800 (PST) Received: from wicklow.lan (stc92-3-82-245-249-89.fbx.proxad.net [82.245.249.89]) by mx.google.com with ESMTPS id 28sm1895660eye.59.2009.02.23.23.31.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 23:31:47 -0800 (PST) Received: by wicklow.lan (Postfix, from userid 1002) id 60DF6F1B0C; Tue, 24 Feb 2009 08:31:45 +0100 (CET) Date: Tue, 24 Feb 2009 08:31:45 +0100 From: Baptiste Daroussin To: Mike Jakubik Message-ID: <20090224073144.GC1877@wicklow.lan> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <20090223171912.GA1877@wicklow.lan> <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-java@freebsd.org Subject: Re: openjdk6 port complete and ready for testing X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 07:31:50 -0000 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 > > >