Building 1.8.1 on SuSE 8.1

Paul Harouff pharouff at comcast.net
Sat Feb 15 14:13:14 CST 2003


I'm using Leif Jensen's SuSE rpm spec files that he graciously provided
to me.

I was able to get g-wrap-1.3.4-3 installed with the rpm spec file (after
deleting the -Werror references in all Makefile.in files and retarring
the source.

I had to set the following environment variables to get gnucash past
configure
# export
PATH=$PATH:/opt/gnome/bin:/opt/gnome/sbin:/opt/gnome2/bin:/opt/gnome2/sbin
# export PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig

Now when I run 
# rpm -ba gnucash-1.8.1-1.spec 
it dies during build with the following error.

mkdir .libs
gcc -I../../../src/test-core -I../../../src/engine
-I../../../src/engine/test-core -I../../../src/app-utils
-I../../../src/gnc-module -I/usr/include/glib-1.2
-I/usr/lib/glib/include -g -O2 -Wall -Wunused -Werror -o
.libs/test-link-module test-link-module.o 
../../engine/.libs/libgncmod-engine.so -L/usr/lib
-L/opt/gnucash/g-wrap/lib ../../gnc-module/.libs/libgncmodule.so
../.libs/libgncmod-app-utils.so
/usr/src/packages/BUILD/gnucash-1.8.1/src/calculation/.libs/libgncmod-calculation.so ../../engine/.libs/libgw-engine.so ../../../src/test-core/.libs/libgncmod-test.a ../../../src/engine/test-core/.libs/libgncmod-test-engine.a /usr/src/packages/BUILD/gnucash-1.8.1/src/engine/.libs/libgncmod-engine.so /usr/src/packages/BUILD/gnucash-1.8.1/src/gnc-module/.libs/libgncmodule.so /usr/src/packages/BUILD/gnucash-1.8.1/src/core-utils/.libs/libcore-utils.so /usr/src/packages/BUILD/gnucash-1.8.1/src/engine/.libs/libgw-engine.so /usr/src/packages/BUILD/gnucash-1.8.1/src/engine/.libs/libgw-kvp.so /opt/gnucash/g-wrap/lib/libgwrap-wct.so /opt/gnucash/g-wrap/lib/libgwrap-glib.so /usr/lib/libglib.so /usr/lib/libguile.so /usr/lib/libltdl.so -ldl /usr/lib/libqthreads.so -lpthread /usr/lib/libpopt.so -lm -Wl,--rpath -Wl,/opt/gnucash/lib/gnucash -Wl,--rpath -Wl,/opt/gnucash/lib -Wl,--rpath -Wl,/opt/gnucash/g-wrap/lib
../.libs/libgncmod-app-utils.so: undefined reference to `scm_list_n'
collect2: ld returned 1 exit status
make[4]: *** [test-link-module] Error 1
make[4]: Leaving directory
`/usr/src/packages/BUILD/gnucash-1.8.1/src/app-utils/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/packages/BUILD/gnucash-1.8.1/src/app-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/gnucash-1.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/gnucash-1.8.1'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.56081 (%build)


Anybody have any ideas what to fix next?

Paul
Alexandria, VA



More information about the gnucash-user mailing list