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

hmmm... agreed.

I am rebuilding from scratch, having deleted everything (I think).

You were right about the libjpeg libtiff and linpng... I saw the bootstrap get them and build them.

I am running into a new problem with a missing pkg-config... but am distracted today with a ton of stuff.... and I realized I also need to delete .cashe as well.

So I will try again from scratch to see what i did wrong.

Worst case, I can always delete that line and make it work.

I have two users one SL and one on plain vanilla leopard running the application and printing, so I know it works.

I did notice when I build the cups back-end I do not see any -DHAVE_CUPS_API_1_2 in the compiler line so some where the config must NOT be picking it up. I ran cup-config --api-version and it did report 1.4 with --lib it shows nothing and with --cflags

Thanks again, for ALL the help.

Join me

> From: jralls ceridwen us
> Date: Thu, 12 Nov 2009 12:18:03 -0800
> To: gtk-osx-users lists sourceforge net
> Subject: Re: [Gtk-osx-users] Building for OS X Snow Leopard
> On Nov 12, 2009, at 11:00 AM, Shawn Bakhtiar wrote:
> > Sorry totally my bad :S
> >
> > The patch output is backwards, I removed the ifdef, not added it.
> > What's got me going now is why just this one line ?? I recompiled
> > just the back-end and it looks like the define is just not there.
> > When I put back the original file I am not able to compile the cups
> > back end. Only if I take those lines out can I compile.
> >
> >
> > But it looks like it really is not even a bug.
> >
> > Given what you said about the missing lib's
> >
> > I am re-starting the process all over again to test this time make
> > sure to delete all files and start from scratch.
> >
> > rm -rf .jhbuild* gtk Sources bin .local
> >
> > This shouldn't take that long.
> >
> > again sorry for the confusion... that what you get for being a noob
> > I guess.
> >
> 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.
> 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]