gnucash 1.8.2. build fails

Robert Belanger Robert.Belanger at Sun.COM
Wed Mar 26 11:32:52 CST 2003


If someone could point out where I have screwed up, I will be forever
grateful...

I get the following..


gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/gnc-module
-I/usr/include -I /usr/local/include/g-wrap -I/usr/include/glib-1.2
-I/usr/lib/glib/include -g -O2 -Wall -Wunused -Werror -c foo.c  -fPIC
-o .libs/foo.o
/bin/sh ../../../../libtool --mode=link gcc
-I../../../../src/gnc-module -I/usr/include -I
/usr/local/include/g-wrap -I/usr/include/glib-1.2
-I/usr/lib/glib/include -g -O2 -Wall -Wunused   -Werror  -o libfoo.la
-rpath  -module foo.lo  -lpopt -lm  -lm
libtool: link: only absolute run-paths are allowed
make[5]: *** [libfoo.la] Error 1

Looking into the makefile I find that the -rpath flag is followed by
$(checklibdir)

which was defined as

checklibdir = ${PWD}

so how come it doesn't show up ?????

I got the thing to compile by setting checklibdir to the current dir
i.e.
.....gnucash-1.8.2/src/gnc-module/test/mod-foo

( which I also did in the other 3 dirs ( bar, baz, and misc ))

but I shouldn't have to do that...

then further down I get...

1.0 -g -O2 -Wall -Wunused -Werror -c dialog-sxsincelast.c  -fPIC -o
.libs/dialog-sxsincelast.o
cc1: warnings being treated as errors
dialog-sxsincelast.c: In function `gnc_ui_sxsincelast_guile_wrapper':
dialog-sxsincelast.c:385: warning: implicit declaration of function
`ngettext'
dialog-sxsincelast.c:390: warning: passing arg 1 of `gnc_info_dialog'
makes pointer from integer without a cast
make[4]: *** [dialog-sxsincelast.lo] Error 1

someplace ngettext is defined, but I'll be damned if <I> can find
it...

thanks

/bobb



-- 
Bob Belanger


More information about the gnucash-user mailing list