Gnucash-2.0.5 Build Error

Rich Shepard rshepard at appl-ecosys.com
Mon Feb 26 15:02:47 EST 2007


On Mon, 26 Feb 2007, Derek Atkins wrote:

> This error means that 'g-wrap' isn't in your guile load path.  That's
> because you don't have G_WRAP_MODULE_DIR set.. Which is because you still
> don't have your PKG_CONFIG_PATH set properly.  For prefix == /usr the path
> would be /usr/lib/pkgconfig .. modify appropriately for your install and
> try again....

derek,

   PKG_CONFIG_PATH is correct:

[root at salmo /data1/srcfiles/gnucash]# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig

   There was /usr/lib/pkgconfig/g-wrap-2.0-guile.pc. I changed that to
g-wrap.pc, then g-wrap-config.pc but both to no avail. I explicitly set
G_WRAP_MODULE_DIR, too:

[root at salmo /data1/srcfiles/gnucash]# echo $G_WRAP_MODULE_DIR
/usr/local/share/guile/site

   So when I see the error message,
checking for g-wrap-config... no
configure: WARNING: g-wrap-config failed
configure: error:

   g-wrap does not appear to be installed correctly, or is not new
   enough.  GnuCash requires at least version 1.3.3 to build,
   and 1.9.6 to build cleanly with GCC4.  If you need to install g-wrap,
   you can find it at http://www.nongnu.org/g-wrap/ .

I wonder if it's a name that's incorrect.

   Here is the content of the back-to-original-name
/usr/lib/pkgconfig/g-wrap-2.0-guile.pc:

# Package Information for pkg-config

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
module_directory=${datarootdir}/guile/site

Name: G-Wrap
Description: A Guile wrapper generator
Version: 1.9.6
Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime -L/usr/local/lib -lguile -lguile-ltdl -lcrypt -lm   -lffi
Cflags:  -std=gnu99 -I${includedir} -I/usr/local/include

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863


More information about the gnucash-user mailing list