Re: [Gtk-osx-users] Building for OS X Snow Leopard

This time it ran flawlessly!

I did not need to configure any additional libraries, did not run into the HAVE_CUPS_API_1_2 issue.

I downloaded the latest version of the

prompt> sh

once this was done, I edited the .jhbuildrc-custom file and added the line:

setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])

prompt> jhbuild build bootstrap 
prompt> jhbuild build meta-gtk-osx-bootstrap 
prompt> jhbuild build meta-gtk-osx-core
prompt> jhbuild build libglade
I have recompiled my application. No problems.

I have also used the ige-mac-bundler to create an app bundle that has all the correct references and files (except for libmysql, which I have to build into /usr and simply copy the lib files over when we do a new install)

It works great! Thanks for all you help John, whatever you did worked, you d man!

Join me

From: shashaness hotmail com
To: gtk-osx-users lists sourceforge net
Date: Thu, 12 Nov 2009 17:00:33 -0500
Subject: Re: [Gtk-osx-users] Building for OS X Snow Leopard

Oh.... nice..

starting over now.

Join me

> From: jralls ceridwen fremont ca us
> Date: Thu, 12 Nov 2009 13:51:14 -0800
> To: gtk-osx-users lists sourceforge net
> Subject: Re: [Gtk-osx-users] Building for OS X Snow Leopard
> On Nov 12, 2009, at 12:18 PM, John Ralls wrote:
> >
> > So I've been digging into it, and the problem is that
> > HAVE_CUPS_API_1_2 *should* be defined in config.h. The underlying
> > problem is that for CUPS before 1.2, the http struct was exposed, so
> > that dispatch->request->http->fd compiles; for 1.2 and later, one
> > needs to use the accessor httpGetFd (dispatch->request->http) instead.
> > It seems, though, that in some of my builds gtkprintbackendcups.c
> > compiles anyway, even if HAVE_CUPS_API_1_2 isn't defined -- so
> > something else is going on.
> >
> And the answer is... an error in jhbuildrc-gtk-osx which made
> configure unable to call cups-config, so HAVE_CUPS_API_1_2 wasn't set.
> I've pushed a fixed copy, so everyone should rerun gtk-osx-build-
> There are also a couple of typos in setup_universal_build() that I
> fixed, but as yet, the universal build isn't working: It builds, but
> crashes.
> Regards,
> John Ralls
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]