3 Feb 17:18
Re: JRex and Mac OS X
I don't have JRex working on OS X yet, but I have it building with a modified version of Henry's patch (see enclosure). The test browser will start then crash while trying to draw, and I don't have anymore time to spend on the problem right now. Hopefully someone else can pick up the torch. I'm running OS X 10.4.4 with XCode 2.1 installed. Henry included an xcode project in his patch. I didn't use that; instead I updated the Makefile to build the new obj-c files. The original patch also included generated jni headers, which I've excluded from my patch. I started with the Firefox 1.5 source tarball and the following mozconfig (maybe I should have used seamonkey 1.0?): export CC=gcc-3.3 export CXX=g++-3.3 . $topsrcdir/browser/config/mozconfig ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.3.9.sdk ac_add_options --disable-tests ac_add_options --enable-default-toolkit=cocoa I had to build Mozilla against the 10.3.9 SDK since JDK 1.4 isn't included in the 10.2.8 SDK. The camino build instructions describe how to do this. To build mozilla: make -f client.mk build_all_depend I started with JRex checked out from CVS as of early this week (1/30/06?), so this patch ought to apply fairly cleanly. I know of one destructive edit I made to the Makefile that shouldn't be checked in - I removed a SunOS-specific check that was causing trouble on OS X. It was probably something stupid like a whitespace problem, but I didn't want to spend time on it.
Steve On Feb 2, 2006, at 12:06 PM, jrex-request@... wrote: > Date: Thu, 02 Feb 2006 00:16:41 +0100 > From: chalimero@... > Subject: [JRex] JRex and Mac OS X > To: jrex@... > Message-ID: <web-47460244@...> > Content-Type: text/plain; charset="ISO-8859-1" > > Hi all, > > I am trying to build JRex under Mac OS X 10.4. > According to Henry Chan: > - build Mozilla/Camino > - build JRex. After adjusting some path entrie in the makefile the ant > target make seems to run, but I have problems with the target > jrex_gre, > I can't find the directory gre, which is used by the build process. > > It doesn't make any sense to run JRex because of the failed second Ant > target> > Is there any more information available for building JRex on Mac OS? > There is a patch provided by Henry Chan but it seems to be invalid > because I cannot expand the archive. > > Any help would be greatly appreciated. > > Thanks, Andrew
_______________________________________________ JRex mailing list JRex@... http://mozdev.org/mailman/listinfo/jrex
>
> Is there any more information available for building JRex on Mac OS?
> There is a patch provided by Henry Chan but it seems to be invalid
> because I cannot expand the archive.
>
> Any help would be greatly appreciated.
>
> Thanks, Andrew
RSS Feed