Problems compiling 1.6.1
Charlie Root
mcondell@condells.net
7 Jul 2001 17:52:27 -0000
Hi,
I had a couple minor problems compiling 1.6.1 on FreeBSD 4.3:
1) quickfillcell.c and QuickFill.c both includes wctype.h.
I could not find that file on my system. However, it seems
to compile fine if I just remove those includes.
2) Compiling .libs/gnucash-make-guids seems to be missing -lintl:
cc -O -pipe -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include -L/usr/X11R6/lib -o .libs/gnucash-make-guids gnucash-make-guids.o engine/.libs/libgncengine.so -lpopt -lm -L/usr/local/lib -lm -L/usr/local/lib -lxml -lz -L/usr/local/lib -lglib12 -lpopt -lm -L/usr/local/lib -L/usr/X11R6/lib -lm -Wl,--rpath -Wl,/usr/X11R6/lib
engine/.libs/libgncengine.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
engine/.libs/libgncengine.so: undefined reference to `gettext'
gmake[3]: *** [gnucash-make-guids] Error 1
Adding it the intl libs to src/Makefile.am seems to fix the problem:
gnucash_make_guids_LDADD = \
engine/libgncengine.la \
${DL_LIB} \
${GNOME_XML_LIB} \
${GLIB_LIBS} \
${INTLLIBS}
Thanks
Matt Condell