configure fails to find libguppi
Eric Hanchrow
offby1@blarg.net
12 Aug 2001 12:36:38 -0700
In the CVS sources, gotten with -r gnucash-1-6-1, I ran `configure',
which failed to find libguppi. I've attached the relevant output
below.
I worked around the problem by re{configuring,building,installing}
Guppi, passing `--prefix=/usr' to its `configure'.
I suspect the problem is really with `gnome-config', but haven't a
clue how to fix that program.
In the meantime, this patch might help:
cd /usr/local/src/gnucash/
diff -wu /usr/local/src/gnucash/README.\~1.166.2.1.\~ /usr/local/src/gnucash/README
--- /usr/local/src/gnucash/README.~1.166.2.1.~ Sun Jul 1 17:04:27 2001
+++ /usr/local/src/gnucash/README Sun Aug 12 12:31:15 2001
@@ -167,7 +167,9 @@
guppi: version 0.35.3 should work. Version 0.35.5 is required for
some advanced functionality. This can be found at
- ftp://ftp.gnome.org/pub/GNOME/stable/sources/Guppi.
+ ftp://ftp.gnome.org/pub/GNOME/stable/sources/Guppi. You may need
+ to configure it with `--prefix=/usr' in order for gnucash's
+ `configure' to find the guppi library.
libgal: any recent version should work. This is a GNOME related
library used by several different programs. You can find it at
Diff finished at Sun Aug 12 12:31:18
As promised, here's the relevant stuff in config.log:
configure:7371: gcc -o conftest -g -O2 -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -lm -lm -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
In file included from configure:7364:
/usr/local/include/libguppi/guppi-useful.h:30: guppi-convenient.h: No such file or directory
... many similar messages about missing headers deleted ...
/usr/local/include/libguppi/guppi-useful.h:53: guppi-defs.h: No such file or directory
configure: failed program was:
#line 7361 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <libguppi/guppi-useful.h>
int main() {
return 0;
; return 0; }
--
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276