Subject: pkg/18243: BUILDLINK_PREFIX.guppi needs to be changed to X11PREFIX in file
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/09/2002 15:02:59
>Number:         18243
>Category:       pkg
>Synopsis:       BUILDLINK_PREFIX.guppi needs to be changed to X11PREFIX in file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 09 15:04:00 PDT 2002
>Originator:     John Fisher
>Release:        1.6_RC1
ML Riecher Systems Engineering
NetBSD 1.6_RC1 NetBSD 1.6_RC1 (GENERIC) #0: Mon Aug 19 21:51:11 EDT 2002 i386
I downloaded the pkgsrc's on Sep-9-2002 08:38 EST and started compiling gnucash.  Every dependency compiled ok.  Then when gnucash (version 1.0.9) was tring to configure, it stopped with these errors (cut out the most imortant part):

checking for main in -loaf... yes
checking for gnome-config... (cached) /usr/local/src/pkgsrcstuff/pkgsrc/finance/gnucash/work/.buildlink/bin/gnome-config
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
configure: error: libguppi not found
*** Error code 1

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

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

It seems gnucash cannot find libguppi.  And it is looking for it in LOCALBASE not in X11PREFIX where libguppi was installed.

Compile gnucash after math/guppi has been installed, and gnucash will exit with an error during the configure stage every time.

Since gnucash cannot find libguppi, during its configure stage, in LOCALBASE and needs to find it X11PREFIX, I made this change to file in math/guppi.  Here is the diff of the change I made using diff -u

---   Mon Aug 26 15:21:19 2002
+++        Mon Sep  9 16:06:25 2002
@@ -21,7 +21,7 @@
 DEPENDS+=      ${BUILDLINK_DEPENDS.guppi}:../../math/guppi
 EVAL_PREFIX+=                  BUILDLINK_PREFIX.guppi=guppi
+BUILDLINK_PREFIX.guppi=        ${X11PREFIX}
 BUILDLINK_FILES.guppi+=        include/gnome-1.0/libguppi/*
 BUILDLINK_FILES.guppi+=        include/gnome-1.0/libguppitank/*
 BUILDLINK_FILES.guppi+=        lib/libguppi*