Building Gnucash on OSX from gnucash-on-osx git repo

John Ralls jralls at ceridwen.us
Thu Apr 8 17:03:34 EDT 2010


On Apr 8, 2010, at 12:11 PM, Geert Janssens wrote:

> On Wednesday 7 April 2010, John Ralls wrote:
>> On Apr 7, 2010, at 4:02 AM, Geert Janssens wrote:
>>> Hi,
>>> 
>>> I'm trying to build GnuCash for OSX from the gnucash-on-osx git repo,
>>> following the instructions on http://wiki.gnucash.org/wiki/MacOSX/Quartz.
>>> 
>>> But I don't get very far. The build stops on gtk-doc, because it can't
>>> find gnome-doc-utils. A bit higher up in the logs I find gnome-doc-utils,
>>> which gives an error during configuration, but seems to continue anyway.
>>> 
>>> I have attached the relevant parts of the build log.
>>> 
>>> Any idea what I'm doing wrong or where to look for the solution ?
>> 
>> The relevant error there is "checking for pkg-config... no".
>> 
>> You did run "jhbuild bootstrap" first, right? If so, you'll have to figure
>> out what happened with pkg-config.
>> 
> It seems I didn't.
> 
> After I ran "jhbuild bootstrap", I got a lot further with "jhbuild build", but 
> the build still doesn't finish completely.
> 
> It now fails in phase "build of libgcrypt" (43/65), see attached error 
> message.
> 
> It complains about some invalid assembler code. I have tried to make sense of 
> it, but wasn't really successful. I didn't see what's wrong.
> 

Geert,

You're building 64-bit binaries, which isn't what you want. Edit the line in .jhbuildrc-custom that says 'setup_sdk("10.5", "10.5")' to say 'setup_sdk("10.5", "10.5", [i386])', make sure the "build_policy" line is commented out, and start over (jhbuild bootstrap and all).

Regards,
John Ralls




More information about the gnucash-devel mailing list