Need help! YANTTCAUV.

Rob Prior rv7@b4.ca
Sat, 04 Jan 2003 11:35:01 -0800


That's "Yet another newbie trying to compile an unstable version".

I'm trying to install gnucash-1.7.6 the hardest way possible, i'm 
running RedHat8.0 so I don't have apt-get.  I *think* i've installed all 
the required subpackages, configure now finishes happily and doesn't 
report any fatal errors anymore anyway.  8-)

Compiling goes fine until it gets to[gnucash-1.7.6/src/engine]:

make[4]: Entering directory `/usr/src/gnucash-1.7.6/src/engine'
make[4]: warning: -jN forced in submake: disabling jobserver mode.
FLAVOR=gnome guile -c \
  "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \
  (set! %load-path (cons \"/usr/src/gnucash-1.7.6/src/engine\" 
%load-path)) \
  (primitive-load \"./gw-engine-spec.scm\") \
  (gw:generate-wrapset \"gw-engine\")"
FLAVOR=gnome guile -c \
  "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \
  (set! %load-path (cons \"/usr/src/gnucash-1.7.6/src/engine\" 
%load-path)) \
  (primitive-load \"./gw-engine-spec.scm\") \
  (gw:generate-wrapset \"gw-engine\")"
add-ws-t gw-engine #<output: gw-engine.c 3> gw:global-declarations-ccg
  for-client gw-glib gw-engine
  for-client gw-wct gw-engine
  for-client gw-standard gw-engine
  for-parent gw-engine
add-ws-t gw-engine #<output: gw-engine.c 3> gw:global-definitions-ccg
  for-client gw-glib gw-engine
  for-client gw-wct gw-engine
  for-client gw-standard gw-engine
  for-parent gw-engine
add-ws-t gw-engine #<output: gw-engine.c 3> gw:global-declarations-ccg
  for-client gw-glib gw-engine
  for-client gw-wct gw-engine
  for-client gw-standard gw-engine
  for-parent gw-engine
add-ws-t gw-engine #<output: gw-engine.c 3> gw:global-definitions-ccg
  for-client gw-glib gw-engine
  for-client gw-wct gw-engine
  for-client gw-standard gw-engine
  for-parent gw-engine
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
    -I../../lib/libc -I../../src/gnc-module -I/usr/include/gnucash 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I /usr/include/g-wrap 
-g -O2 -Wall -Wunused   -Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c
gw-kvp.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
    -I../../lib/libc -I../../src/gnc-module -I/usr/include/gnucash 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I /usr/include/g-wrap 
-g -O2 -Wall -Wunused   -Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c
gnc-commodity.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc 
-I../../src/gnc-module -I/usr/include/gnucash -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I /usr/include/g-wrap -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c gw-kvp.c    -fPIC -o .libs/gw-kvp.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc 
-I../../src/gnc-module -I/usr/include/gnucash -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I /usr/include/g-wrap -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c gnc-commodity.c    -fPIC -o 
.libs/gnc-commodity.o
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
    -I../../lib/libc -I../../src/gnc-module -I/usr/include/gnucash 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I /usr/include/g-wrap 
-g -O2 -Wall -Wunused   -Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c
gncmod-engine.c
make[4]: *** No rule to make target `../../src/engine/libgw-engine.la', 
needed by `libgncmod-engine.la'.  Stop.
make[4]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc 
-I../../src/gnc-module -I/usr/include/gnucash -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I /usr/include/g-wrap -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c gncmod-engine.c    -fPIC -o 
.libs/gncmod-engine.o
make[4]: Leaving directory `/usr/src/gnucash-1.7.6/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gnucash-1.7.6/src/engine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnucash-1.7.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnucash-1.7.6'
make: *** [all-recursive-am] Error 2
[root@corsair gnucash-1.7.6]#

-----------

For what it's worth, here's my config.log too:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:839: checking for non-GNU ld
configure:874: checking if the linker (/usr/bin/ld) is GNU ld
configure:895: checking for gcc
configure:1008: checking whether the C compiler (gcc  ) works
configure:1024: gcc -o conftest    conftest.c  1>&5
configure:1050: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1055: checking whether we are using GNU C
configure:1083: checking whether gcc accepts -g
configure:1155: checking for a BSD compatible install
configure:1208: checking whether build environment is sane
configure:1265: checking whether make -j2 sets ${MAKE}
configure:1311: checking for working aclocal
configure:1324: checking for working autoconf
configure:1337: checking for working automake
configure:1350: checking for working autoheader
configure:1363: checking for working makeinfo
configure:1434: checking for perl
configure:1504: checking how to run the C preprocessor
configure:1601: checking for shared library run path origin
configure:1642: checking host system type
configure:1665: checking for ranlib
configure:1694: checking for strerror in -lcposix
configure:1736: checking for ANSI C header files
configure:1840: checking for working const
configure:1915: checking for inline
configure:1955: checking for off_t
configure:1988: checking for size_t
configure:2023: checking for working alloca.h
configure:2056: checking for alloca
configure:2258: checking for stdlib.h
configure:2258: checking for unistd.h
configure:2258: checking for sys/stat.h
configure:2258: checking for sys/types.h
configure:2297: checking for getpagesize
configure:2350: checking for working mmap
configure:2535: checking whether we are using the GNU C Library 2.1 or newer
configure:2955: checking for iconv
configure:3034: checking for msgfmt
configure:3069: checking for gmsgfmt
configure:3106: checking for xgettext
configure:3143: checking for msgmerge
configure:3206: checking for argz.h
configure:3206: checking for limits.h
configure:3206: checking for locale.h
configure:3206: checking for nl_types.h
configure:3206: checking for malloc.h
configure:3206: checking for stddef.h
configure:3206: checking for stdlib.h
configure:3206: checking for string.h
configure:3206: checking for unistd.h
configure:3206: checking for sys/param.h
configure:3247: checking for feof_unlocked
configure:3247: checking for fgets_unlocked
configure:3247: checking for getc_unlocked
configure:3247: checking for getcwd
configure:3247: checking for getegid
configure:3247: checking for geteuid
configure:3247: checking for getgid
configure:3247: checking for getuid
configure:3247: checking for mempcpy
configure:3247: checking for munmap
configure:3247: checking for putenv
configure:3247: checking for setenv
configure:3247: checking for setlocale
configure:3247: checking for stpcpy
configure:3247: checking for strcasecmp
configure:3247: checking for strdup
configure:3247: checking for strtoul
configure:3247: checking for tsearch
configure:3247: checking for __argz_count
configure:3247: checking for __argz_stringify
configure:3247: checking for __argz_next
configure:3304: checking for iconv declaration
configure:3353: checking for nl_langinfo and CODESET
configure:3388: checking for LC_MESSAGES
configure:3426: checking for bison
configure:3459: checking version of bison
configure:3486: checking whether NLS is requested
configure:3510: checking whether included gettext is requested
configure:3530: checking for GNU gettext in libc
configure:4109: checking whether to enable maintainer-specific portions 
of Makefiles
configure:4159: checking for a BSD compatible install
configure:4248: checking for Cygwin environment
configure:4281: checking for mingw32 environment
configure:4356: checking build system type
configure:4385: checking for ld used by GCC
configure:4453: checking if the linker (/usr/bin/ld) is GNU ld
configure:4470: checking for /usr/bin/ld option to reload object files
configure:4482: checking for BSD-compatible nm
configure:4520: checking whether ln -s works
configure:4541: checking how to recognise dependant libraries
configure:4724: checking for object suffix
configure:4750: checking for executable suffix
configure:4791: checking command to parse /usr/bin/nm -B output
configure:4974: checking for dlfcn.h
configure:5152: checking for ranlib
configure:5219: checking for strip
configure:5462: checking for objdir
configure:5489: checking for gcc option to produce PIC
configure:5641: checking if gcc PIC flag   -fPIC works
configure:5707: checking if gcc static flag -static works
configure:5749: checking if gcc supports -c -o file.o
configure:5797: checking if gcc supports -c -o file.lo
configure:5865: checking if gcc supports -fno-rtti -fno-exceptions
configure:5878: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c 
conftest.c 1>&5
configure:5905: checking whether the linker (/usr/bin/ld) supports 
shared libraries
configure:6589: checking how to hardcode library paths into programs
configure:6617: checking whether stripping libraries is possible
configure:6631: checking dynamic linker characteristics
configure:7028: checking if libtool supports shared libraries
configure:7032: checking whether to build shared libraries
configure:7055: checking whether to build static libraries
configure:7096: checking for shl_load
configure:7142: checking for shl_load in -ldld
configure:7180: checking for dlopen
configure:7226: checking for dlopen in -ldl
configure:7377: checking whether a program can dlopen itself
configure:7471: checking whether a statically linked program can dlopen 
itself
configure:7591: checking whether -lc should be explicitly linked in
configure:8195: checking for strerror in -lcposix
configure:8237: checking whether byte ordering is bigendian
configure:8327: checking whether make -j2 sets ${MAKE}
configure:8354: checking for ANSI C header files
configure:8462: checking for limits.h
configure:8501: checking for stpcpy
configure:8501: checking for memcpy
configure:8501: checking for timegm
configure:8501: checking for towupper
configure:8556: checking for the tm_gmtoff member of struct tm
configure:8596: checking if scanf supports %lld conversions
configure:8649: checking for ltdl.h
configure:8742: checking for glib-config
configure:8777: checking for GLIB - version >= 0.99.7
configure:8876: gcc -o conftest -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -L/usr/lib -lglib  1>&5
configure:8968: checking for dlfcn.h
configure:8968: checking for dl.h
configure:8968: checking for ghttp_ssl.h
configure:8968: checking for utmp.h
configure:8968: checking for locale.h
configure:8968: checking for mcheck.h
configure:8968: checking for unistd.h
configure:8968: checking for wctype.h
configure:9009: checking for dlopen
configure:9059: checking for dlopen in -ldl
configure:9208: checking for dlerror
configure:9269: checking for library containing gettext
configure:9332: checking for darwin
configure:9365: checking for qt_null in -lqthreads
configure:9451: checking for main in -ltermcap
configure:9487: checking for main in -lreadline
configure:9535: checking for guile-config
configure:9565: checking whether guile-config works
configure:9622: checking for sin in -lm
configure:9671: checking for guile libraries
configure:9675: checking for guile headers
configure:9888: checking whether guile works
configure:9903: gcc -o conftest -g -O2  -I/usr/include   conftest.c -lm 
  -L/usr/lib -lguile -lqthreads -lpthread -lm 1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:9971: checking for guile
configure:10011: checking for guile - 1.3.4 <= version < 1.5.0
configure:10131: checking for g-wrap-config
configure:10183: checking for g-wrap - 1.3.3 <= version < 99.99.99
configure:10245: checking for g-wrap compile args
configure:10250: checking for g-wrap link args
configure:10255: checking for g-wrap module directory
configure:10322: checking if guile long_long is at least as big as gint64
configure:10339: gcc -o conftest   -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -lm  1>&5
configure:10344: checking for scm_long_long2num in -lguile
configure:10404: checking if unsigned long is at least as big as guint32
configure:10420: gcc -o conftest   -g -O2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include   conftest.c -lm  1>&5
configure:10448: checking if guile needs our copy of srfi-1
configure:10448: checking if guile needs our copy of srfi-11
configure:10448: checking if guile needs our copy of srfi-19
configure:10448: checking if guile needs our copy of srfi-2
configure:10448: checking if guile needs our copy of srfi-8
configure:10448: checking if guile needs our copy of srfi-9
configure:10466: checking if guile needs our copy of (guile www)
configure:10494: checking for gnome-config
configure:10535: checking for xmlNewDoc in -lxml
configure:10592: checking for xmlElemDump in -lxml
configure:10900: checking for libofx/libofx.h
configure:10909: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:10951: checking for libofx
configure:10970: gcc -o conftest -g -O2    conftest.c -lm   -lofx 
-lstdc++ 1>&5
configure:11218: checking for nl_langinfo and D_FMT
configure:11397: checking for perl
configure:11500: checking for doxygen
configure:11542: checking for dot
configure:11628: checking for dbopen
configure:11675: checking for dbopen in -ldb1
configure:11933: checking for db_185.h
configure:11933: checking for db1/db.h
configure:12029: checking for poptStrippedArgv in -lpopt
configure:12168: checking for gnome-config
configure:12205: checking if /usr/bin/gnome-config works
configure:12213: checking for orbit-config
configure:12249: checking for orbit-idl
configure:12283: checking for working ORBit environment
configure:12319: checking for gnorba librariesconfigure:12435: checking 
what warning flags to pass to the C compiler
configure:12467: checking what language compliance flags to pass to the 
C compiler
configure:12530: checking for gdk-pixbuf-config
configure:12565: checking for GDK_PIXBUF - version >= 0.2.5
configure:12647: gcc -o conftest -g -O2 -Wall -Wunused 
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
conftest.c -lpopt -lm  -lm -L/usr/lib -lgdk_pixbuf -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm 1>&5
configure:12733: checking for gnome-config
configure:12770: checking for GNOME-PRINT - version >= 0.21
configure:12842: checking for libglade-config
configure:12876: checking for libglade
configure:12905: checking for main in -lgal
configure:12943: checking for gtkhtml < 1.1
configure:12950: checking for gtk_html_new in -lgtkhtml
configure:13102: checking for ghttp_request_new in -lghttp
configure:13151: checking for ghttp_enable_ssl in -lghttp
configure:13259: checking for main in -lzvt
configure:13302: checking for main in -loaf
configure:13395: checking for gnome-config
configure:13430: checking for libguppi - version >= 0.35.1
configure:13532: gcc -o conftest -g -O2 -Wall -Wunused 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/usr/include/gnome-1.0 
-I/usr/include/gnome-1.0/libguppitank -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 
-I/usr/include/gnome-xml -I/usr/include/libglade-1.0 
-I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-1.0   conftest.c 
-lpopt -lm  -lm -rdynamic -L/usr/lib -L/usr/X11R6/lib -lguppitank 
-lguppi -lzvt -lutil -lglade-gnome -lglade -lbonobo -loaf 
-lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lbonobox 
-lbonobo-print -lgnomeprint -lgnomeui -lgdk_imlib -lSM -lICE -lgnome 
-lgnomesupport -lesd -laudiofile -lgdk_pixbuf -lgtk -lgdk -lgmodule 
-lglib -ldl -lXi -lXext -lX11 -lart_lgpl -lm -lxml -lz -lfreetype 1>&5
configure:13659: checking what extra warning flags to pass to the C compiler
configure:13684: checking for pthread_mutex_init
configure:13739: checking for strptime
configure:13739: checking for localtime_r