build gnucash-git woes with Mac OS, Xcode 5.1
jaearick at colby.edu
Sun Mar 16 20:05:24 EDT 2014
Can you tell me what version of XCode you have installed? 5.0.2? version
of gcc? (Xcode 5.1 gives you 4.2.1 with clang = clang-503.0.38). If you
have not upgraded to XCode 5.1 (5B130a), then I suggest avoiding it.
Aarrgh.... I just discovered that gdb is not available in Xcode with
This issue of hanging at guile-procedures.texi seems to be known, see:
This URL didn't give me any real insight, except that others have seen it
even with 2.x of guile.
I tried various permutations of dropping into the jhbuild shell at failure,
rerunning .configure with "--enable-guile-debug" (that gave other compiler
errors), configure with "--without-threads" (suggested by the URL above, no
help); trying to fiddle with CFLAGS in the Makefile to change compiler
options, even in the libguile subdir where guile is built -- no love. The
compiler flags "-g -O' did not change its behavior.
I also downloaded guile-2.0.9, and wedged it into gtk/source like so:
bash-3.2$ ls -ld guile*
lrwxr-xr-x 1 jaearick staff 11 Mar 16 19:27 guile-1.8.8 -> guile-2.0.9
drwxr-xr-x 45 jaearick staff 1530 Mar 16 19:40 guile-1.8.8.last
drwxr-xr-x@ 49 jaearick staff 1666 Mar 16 19:41 guile-2.0.9
then "jhbuild build". It says "configure: error: GNU libunistring is
required, please install it." So, I'm stuck for he moment.
Jeff A. Earickson, Ph.D
Senior Server System Administrator
4214 Mayflower Hill,
Waterville ME, 04901-8842
207-859-4214 (fax 207-859-4186)
Eastern Time Zone, USA
On Sun, Mar 16, 2014 at 1:58 PM, John Ralls <jralls at ceridwen.us> wrote:
> On Mar 16, 2014, at 8:37 AM, Jeff Earickson <jaearick at colby.edu> wrote:
> > John et al,
> > I upgraded Xcode on my Mac (10.9.2) to Xcode 5.1 this week (gcc 4.2.1),
> > I have tried a total-start-from-scratch build of gnucash-git. My woes
> > this:
> > * ~/gtk/source/webkit-1.6.1/GNUmakefile.am is missing
> > on line 120. (previously reported, and I know how to work around this).
> Have you run gtk-osx-build-setup.sh since the last time? I fixed this in
> .jhbuildrc instead of the moduleset.
> > * guile 1.8.8 hangs forever trying to create a texi file in libguile. To
> > reproduce, I can do by hand:
> > $ pwd
> > /Users/jaearick/gtk/source/guile-1.8.8/libguile
> > $ cat *.doc |
> > ../scripts/snarf-check-and-output-texi
> > ERROR: Unbound variable: define (hangs forever)
> > ^C
> > The problem lies in the snarf-check-and-output-texi script, but I have no
> > idea what this does. I tried to fake out this portion of the build by
> > simply doing "cat *.doc > guile-procedures.texi", which will get the rest
> > of guile to build, with a bogus texi file.
> I've never seen this problem before, but I haven't done any builds since
> the Xcode upgrade. That could be a serious problem.
> > * The build of gnucash-git did not like my fakery with guile, because it
> > will then hang during the configure for gnucash:
> > checking for GUILE... yes
> > checking for guile... /Users/jaearick/gnucash-git/bin/guile
> > checking for guile-config... /Users/jaearick/gnucash-git/bin/guile-config
> > checking for guile-tools... /Users/jaearick/gnucash-git/bin/guile-tools
> > checking if (www main) is available... (hangs forever)
> > ^C*** Error during phase configure of gnucash-git: ########## Error
> > ./autogen.sh && ./configure --prefix /Users/jaearick/gnucash-git --libdir
> > '/Users/jaearick/gnucash-git/lib' --enable-ofx --enable-aqbanking
> > --enable-binreloc --enable-dbi --with-html-engine="webkit" *** [62/62]
> > Any ideas please?
> Without a clean Guile, Gnucash is hopeless, so you've got to get Guile to
> work without "fakery". Unfortunately Guile2 doesn't build clean either and
> I haven't taken time to work on that; filing a bug against Guile 1.8 isn't
> going to get us anywhere.
> I've no doubt that the snarf-check... scheme program was revealing a
> problem in C; upgrading clang wouldn't have any effect on the scheme, it's
> going to affect the interpreter.
> Try turning off optimization when building Guile, that's often the source
> of weird results. If it still hangs, add a debugging flag and run
> snarf-check... in the debugger and see why it's hanging.
> John Ralls
More information about the gnucash-devel