macport build failing on foocanvas

mybuyer at roadrunner.com mybuyer at roadrunner.com
Sun Apr 12 22:08:06 EDT 2009


Thanks for that info 1. so I know it's not just my installation, and  
2. for bringing my attention to the macports support website.

I tried the patch and it got me through goffice.

Thank you!

On Apr 12, 2009, at 9:42 PM, Lenore Horner wrote:

> On Apr 12, 2009, at 20:13 , mybuyer at roadrunner.com wrote:
>
>> Trying to install gnucash using MacPorts. Had an earlier version  
>> installed and running under Quartz on Leopard, removed macports  
>> (the whole /opt tree and launchd), reinstalled macports, then tried  
>> to install gnucash 2.2.9_1.
>>
>> So far it gets to goffice-0.6.6 and has this error:
>>
>> foo-canvas-rect-ellipse.c:45:22: error: gdk/gdkx.h: No such file or  
>> directory
>>
>>
>> Where does this file come from?
>
> This is bug 18655 in MacPorts track.
>
> I have found a work around.  I haven't tested it extensively, but so  
> far it's working (I can install and run gnucash and enter data into  
> various accounts).  I'm in the process of reporting this to the  
> goffice folks too.
>
> in the file foo-canvas-rect-ellipse.c  replace every instance of
>
> #ifdef HAVE_RENDER
> ...
> #endif
>
> with
>
> #ifdef HAVE_RENDER
> #ifdef HAVE_X
> ...
> #endif
> #endif
>
> There's a patch in the ticket that should do this for you, but I did  
> the changes by hand and then made the patch after I'd verified  
> things worked.  I haven't gone back to zero and tested the patch.
>
> Lenore
>

Paul Buckley
11 Third Hill Rd
Stockton Springs, ME 04981



More information about the gnucash-user mailing list