Gnucash-2.0.5 Build Error

Derek Atkins warlord at MIT.EDU
Sun Feb 25 18:40:15 EST 2007


Quoting Rich Shepard <rshepard at appl-ecosys.com>:

>   Now I'm back to a g-wrap error during configure:
>
> checking for g-wrap-config... /usr/local/bin/g-wrap-config
> checking for g-wrap - version >= 1.3.3... yes
> checking for g-wrap compile args... Package g-wrap-2.0-guile was not found
> in the pkg-config search path.
> Perhaps you should add the directory containing `g-wrap-2.0-guile.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'g-wrap-2.0-guile' found

This error is because g-wrap 1.9.6's g-wrap-config uses pkg-config internally
to do its work.  But g-wrap-config is "stupid" and doesn't set the
PKG_CONFIG_PATH properly, so if you installed g-wrap into a location
that pkg-config doesn't look by default then g-wrap-config wont find
the g-wrap config file and that will throw this error.

> checking for (g-wrap) guile module... configure: error:
>
>    Cannot find the (g-wrap) guile module.
>    Are you sure you have g-wrap compile-time environment installed?
>    See http://bugzilla.gnome.org/show_bug.cgi?id=347680
>
>   As g-wrap-1.9.6 was built from source I assume that everything in has was
> built and installed. But, why is gnucash configure looking for a
> g-wrap-2.0-guile when both g-wrap and guile are in the 1.x.x series? If
> there's some magic to configure g-wrap after installation, I cannot find it
> on the g-wrap web site.

Try adding your g-wrap --prefix pkgconfigdir appropriately to PKG_CONFIG_PATH
so that g-wrap-config can find the g-wrap configuration files.  I think
the problem here is that the configure script isn't getting a good
value for G_WRAP_MODULE_DIR and as a result it cannot find g-wrap.scm

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list