Compiling Difficulty

frank frank at overtons.org
Fri May 11 03:21:56 EDT 2007


I am working on compiling gnucash for CentOS 5

So far I have :
downloaded, configured, make,  make install
compat-guile-16-1.6.7-6.fc6.src.rpm
downloaded, configured, make,  make install     g-wrap-1.9.6-7.1.src.rpm
downloaded, configured
gnucash-2.0.5-1.fc6.src.rpm

When I try to make gnucash I run into difficulties. Specifically,  make
check on /src/engine/test fails as follows:

# make check
make[1]: Entering directory `/root/Desktop/gnucash/gnucash-2.0.5'
make[1]: Leaving directory `/root/Desktop/gnucash/gnucash-2.0.5'
/bin/sh ../../../libtool --tag=CC   --mode=link gcc -I../../..
-I../../../src -I../../../src/gnc-module -I../../../src/test-core
-I../../../src/engine -I../../../src/engine/test-core
-I../../../lib/libqof/qof -I../../../lib/libqof/qof -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2   -o
test-link test-link.o ../libgncmod-engine.la
../../../lib/libqof/qof/libgncqof.la -lpopt -lm  -lm
gcc -I../../.. -I../../../src -I../../../src/gnc-module
-I../../../src/test-core -I../../../src/engine
-I../../../src/engine/test-core -I../../../lib/libqof/qof
-I../../../lib/libqof/qof -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign
-D_FORTIFY_SOURCE=2 -o .libs/test-link test-link.o
../.libs/libgncmod-engine.so
/root/Desktop/gnucash/gnucash-2.0.5/src/gnc-module/.libs/libgncmodule.so
-L/lib /usr/lib/libltdl.so
/root/Desktop/gnucash/gnucash-2.0.5/src/core-utils/.libs/libcore-utils.so
-lgconf-2 -lORBit-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
/root/Desktop/gnucash/gnucash-2.0.5/lib/libqof/qof/.libs/libgncqof.so
../../../lib/libqof/qof/.libs/libgncqof.so -lgthread-2.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lpopt -lm -Wl,--rpath
-Wl,/usr/local/lib/gnucash -Wl,--rpath -Wl,/usr/local/lib
../.libs/libgncmod-engine.so: undefined reference to `scm_makfrom0str'
../.libs/libgncmod-engine.so: undefined reference to `scm_gc_protect_object'
../.libs/libgncmod-engine.so: undefined reference to `scm_call_2'
../.libs/libgncmod-engine.so: undefined reference to
`scm_gc_unprotect_object'
../.libs/libgncmod-engine.so: undefined reference to `scm_make_real'
../.libs/libgncmod-engine.so: undefined reference to `scm_call_1'
../.libs/libgncmod-engine.so: undefined reference to `gw_wcp_assimilate_ptr'
../.libs/libgncmod-engine.so: undefined reference to `scm_equal_p'
../.libs/libgncmod-engine.so: undefined reference to `scm_call_0'
../.libs/libgncmod-engine.so: undefined reference to `scm_c_eval_string'
collect2: ld returned 1 exit status
make: *** [test-link] Error 1

I suspect the guile libs are somehow not correctly versioned or configured
> # rpm -qa | grep guile
> compat-guile-16-devel-1.6.7-6.fc6
> guile-1.8.0-8.20060831cvs
> guile-devel-1.8.0-8.20060831cvs
I force installed compat-guile-16-devel-1.6.7-6.fc6 with --nodeps
because compat-guile-16-1.6.7-6.fc6.src.rpm was installed with make install.

# guile
guile> (version)
"1.6.7"

Any ideas on what's wrong and what can be done to get this to compile
and work?

Thanks!




More information about the gnucash-devel mailing list