Gnucash 1.8.1 configure fails: with Could not link sample xml program

Klaus Binder klaus.binder at gmx.ch
Sun Mar 2 19:27:19 CST 2003


Attached the last lines of the LOG file.


#include "confdefs.h"

int main() {
main()
; return 0; }
configure:9537: checking for guile-config
configure:9567: checking whether guile-config works
configure:9624: checking for sin in -lm
configure:9643: gcc -o conftest -g -O2    conftest.c -lm   1>&5
configure:9636: warning: conflicting types for built-in function `sin'
configure:9673: checking for guile libraries
configure:9677: checking for guile headers
configure:9890: checking whether guile works
configure:9905: gcc -o conftest -g -O2     conftest.c -lm  -L/usr/lib -lguile 
-lqthreads -lpthread -lm 1>&5
configure:9973: checking for guile
configure:10013: checking for guile - 1.3.4 <= version < 99.99.99
configure:10133: checking for g-wrap-config
configure:10185: checking for g-wrap - 1.3.3 <= version < 99.99.99
configure:10247: checking for g-wrap compile args
configure:10252: checking for g-wrap link args
configure:10257: checking for g-wrap module directory
configure:10324: checking if guile long_long is at least as big as gint64
configure:10341: gcc -o conftest   -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -lm  1>&5
configure:10346: checking for scm_long_long2num in -lguile
configure:10365: gcc -o conftest   -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -lguile  -lm  1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libguile.so: undefined reference 
to `qt_abort'
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libguile.so: undefined reference 
to `qt_error'
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libguile.so: undefined reference 
to `qt_block'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10354 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char scm_long_long2num();

int main() {
scm_long_long2num()
; return 0; }
configure:10406: checking if unsigned long is at least as big as guint32
configure:10422: gcc -o conftest   -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -lm  1>&5
configure:10451: checking if guile needs our copy of srfi-1
configure:10451: checking if guile needs our copy of srfi-11
configure:10451: checking if guile needs our copy of srfi-19
configure:10451: checking if guile needs our copy of srfi-2
configure:10451: checking if guile needs our copy of srfi-8
configure:10451: checking if guile needs our copy of srfi-9
configure:10476: checking if guile needs our copy of (guile www)
configure:10504: checking for gnome-config
configure:10545: checking for xmlNewDoc in -lxml
configure:10564: gcc -o conftest -g -O2   conftest.c -lxml -L/usr/lib 
-L/usr/X11R6/lib -lxml -lz -lm  1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 10553 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char xmlNewDoc();

int main() {
xmlNewDoc()
; return 0; }
configure:10451: checking if guile needs our copy of srfi-19
configure:10451: checking if guile needs our copy of srfi-2
configure:10451: checking if guile needs our copy of srfi-8
configure:10451: checking if guile needs our copy of srfi-9
configure:10476: checking if guile needs our copy of (guile www)
configure:10504: checking for gnome-config
configure:10545: checking for xmlNewDoc in -lxml
configure:10564: gcc -o conftest -g -O2   conftest.c -lxml -L/usr/lib 
-L/usr/X11R6/lib -lxml -lz -lm  1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 10553 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char xmlNewDoc();

int main() {
xmlNewDoc()
; return 0; }



More information about the gnucash-user mailing list