Re: [Gtk-osx-users] Building for OS X Snow Leopard
- From: John Ralls <jralls ceridwen us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] Building for OS X Snow Leopard
- Date: Thu, 12 Nov 2009 12:18:03 -0800
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.
>
> https://bugzilla.gnome.org/show_bug.cgi?id=601708
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]