Subject: gnucash/libguppi build problem
To: None <tech-pkg@netbsd.org>
From: J. D. Fisher & <jdf@rse.com>
List: tech-pkg
Date: 09/09/2002 17:00:31
Hi,

I was having trouble compiling gnucash-1.6.8 from the pkgsrc's I downloaded
today (Sep-9-2002 08:38 EST).  I was getting this error during the configure
(I cut out the important part):

------------- CONFIGURE STARTS HERE -------------

checking for main in -loaf... yes
checking for gnome-config... (cached)
/usr/local/src/pkgsrcstuff/pkgsrc/finance/gnucash/work/.buildlink/bin/gnome-conf
ig
checking for libguppi - version >= 0.35.1... no
*** Could not run libguppi test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means libguppi was incorrectly
installed
*** or that you have moved libguppi since it was installed. In the latter case,
you
*** may want to edit the gnome-config script:
/usr/local/src/pkgsrcstuff/pkgsrc/finance/gnucash/work/.buildlink/bin/gnome-conf
ig
configure: error: libguppi not found
*** Error code 1

Stop.
make: stopped in /usr/local/src/pkgsrcstuff/pkgsrc/finance/gnucash
*** Error code 1

Stop.
make: stopped in /usr/local/src/pkgsrcstuff/pkgsrc/finance/gnucash

------------- CONFIGURE ENDS HERE -------------

It seems gnucash could not find libguppi because of the prefix starting at
LOCALBASE instead of X11PREFIX where it is going now.  So I changed the
buildlink.mk in math/guppi.  The diff command is below.  

diff buildlink.mk buildlink.mk.orig 
24c24
< BUILDLINK_PREFIX.guppi=       ${X11PREFIX}
---
> BUILDLINK_PREFIX.guppi=       ${LOCALBASE}



Keep up the good work,

John

-------------------------------------------------------------------------------
E-Mail: J. D. Fisher & <jdf@rse.com>
Date: 09-Sep-2002
Time: 16:37:06
-------------------------------------------------------------------------------