Configure error building 2.0 svn branch of gnucash

Shocky shocky1 at users.sourceforge.net
Mon Feb 5 00:12:32 EST 2007


On Sunday 04 February 2007 21:47, Derek Atkins wrote:
> Quoting Shocky <shocky1 at users.sourceforge.net>:
> > But now I'm stuck on another problem. When I run configure, I get this
> > error:
...
> > checking for g-wrap-wct.h... no
> > configure: error:
> >
> >   cannot find g-wrap-wct.h where g-wrap claims it should be.
> >   are you on Debian or Ubuntu and still using g-wrap 1.9.6-2?
> >   See:  http://bugzilla.gnome.org/show_bug.cgi?id=330539
> >
> > But this header is there, and I'm pretty sure it's where it should be:
...
> Maybe you're missing a g-wrap-devel?

No, I thought of that, there is no g-wrap-devel package. And if there were, 
and it wasn't installed, the header file would be missing (if I understand 
correctly the function of the -devel packages), but it's not.


>
> > So it doesn't seem that the bug report mentioned applies. As far as I
> > can tell
> > I have all the required packages installed.
> >
> > Any suggestions?
>
> Check config.log for the full error.
>
> -derek

Ah, that's the clue I needed. In the log file, I see:

configure:26190: checking g-wrap-wct.h usability
configure:26202: gcc -c -g -O2   -std=gnu99   conftest.c >&5
In file included from /usr/include/multiarch-dispatch.h:23,
                 from /usr/include/g-wrap/ffi-support.h:2,
                 from /usr/include/g-wrap/core-runtime.h:23,
                 from /usr/include/g-wrap/guile-wct.h:23,
                 from /usr/include/g-wrap-wct.h:3,
                 from conftest.c:106:
/usr/include/multiarch-i386-linux/g-wrap/ffi-support.h:24:17: error: ffi.h: No 
such file or directory
In file included from /usr/include/g-wrap/guile-wct.h:23,
                 from /usr/include/g-wrap-wct.h:3,
                 from conftest.c:106:

So it's actually /usr/include/ffi.h that's missing, and the configure message 
is wrong. That's part of the package libffi4-devel, which wasn't installed.

Thanks Derek.

Shocky
-- 
These are my opinions. Get your own.


More information about the gnucash-devel mailing list