Hi All,

   I'm taking a stab at gnucash again.  The platform
is Solaris Intel.  So far I've installed the following
programs to help in this endeavor:

autoconf
automake
bash
binutils
bison
cvs
findutils
flex
gcc
gettext
libstdc++
m4

from ftp.gnu.org.  In addition, the dependencies listed
in the gnucash readme are all installed as well.

to start the compile,

./configure --with-gnu-gettext 

followed by,

make motif > build.output 2>&1

produces the following build.output file:

make FLAVOR=motif build-flavor
make[1]: Entering directory `/tmp/xacc'
make[2]: Entering directory `/tmp/xacc/lib'
(cd g-wrap && make)
make[3]: Entering directory `/tmp/xacc/lib/g-wrap'
cd . && aclocal
aclocal: configure.in: 33: macro `AM_PROG_LIBTOOL' not found in library
make[3]: *** [aclocal.m4] Error 1
make[3]: Leaving directory `/tmp/xacc/lib/g-wrap'
make[2]: *** [g-wrap-install] Error 2
make[2]: Leaving directory `/tmp/xacc/lib'
make[1]: *** [build-flavor] Error 2
make[1]: Leaving directory `/tmp/xacc'
make: *** [motif] Error 2

configure.in from /xacc/lib/g-wrap is:

dnl Process this file with autoconf to produce a configure script.
AC_INIT(guile/g-wrap-fns.c)
AM_INIT_AUTOMAKE(g-wrap, 0.8.1, no-define)
AM_CONFIG_HEADER(conf.h)

# -- user options --
GUILE_PREFIX_HACK=''
AC_ARG_WITH(modules-dir,
[  --with-modules-dir=<dir>  Base directory for contributed Guile
modules ],
  GUILEMODDIR=$withval/site,
  if test "x$prefix" = xNONE; then
    GUILEMODDIR='$(GUILE_SCMDIR)/site'
  else
    GUILE_PREFIX_HACK='(set! %load-path (cons "'"$prefix"'/share/guile"
%load-path))'
    GUILEMODDIR='$(datadir)/guile/site'
  fi)
AC_SUBST(GUILEMODDIR)
AC_SUBST(GUILE_PREFIX_HACK)

AC_ARG_WITH(rscheme-dir,
[  --with-rscheme-dir=<dir>  RScheme install directory ],
  RSDIR=$withval,
  if test "x$prefix" = xNONE; then
    RSDIR=/usr/local/
  else
    RSDIR="$prefix"
  fi)
AC_SUBST(RSDIR)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL
AC_PATH_PROG(GUILE,guile,nope)
AC_PATH_PROG(RSCHEME,rs,nope)

dnl Checks for libraries.
if test "$GUILE" != nope; then
  AC_PATH_PROG(BUILD_GUILE, guile-config)
  if test ! -n $BUILD_GUILE; then
    AC_PATH_PROG(BUILD_GUILE, build-guile)
  fi
  if test ! -n $BUILD_GUILE; then
    GUILE_LIBS='-lguile'
  else
    GUILE_LIBS=`$BUILD_GUILE link`
    CFLAGS="$CFLAGS `$BUILD_GUILE compile`"
  fi
  AC_CHECK_LIB(guile,scm_boot_guile,GUILE_SUPPORT='yes',[
  AC_MSG_WARN(Can not find Guile on the system)
  ],$GUILE_LIBS)
  if test "x$GUILE_SUPPORT" = xyes; then
    LIBS="$LIBS"&&GUILE_TARGET=libgwrapguile.la
    GUILEMOD_TARGET=g-wrap.scm
    GWMOD_TARGET='guile-types.scm output-file.scm g-translate.scm
sorting.scm pointer.scm'
    BIN_TARGET=g-wrap-guile
  fi
fi
AC_SUBST(GUILE_LIBS)
AC_SUBST(GUILE_TARGET)
AC_SUBST(GUILEMOD_TARGET)
AC_SUBST(GWMOD_TARGET)
AC_SUBST(BIN_TARGET)

if test "$RSCHEME" != nope; then
  RS_LTLIB_TARGET=libgwraprs.la
  RS_SCRIPT=g-wrap-rs
fi
AC_SUBST(RS_LTLIB_TARGET)
AC_SUBST(RS_SCRIPT)
dnl Checks for header files.

dnl Checks for typedefs, structures, and compiler characteristics.
if test "$GUILE" != nope; then
  AC_CHECK_LIB(guile,scm_puts,AC_DEFINE(HAVE_SCM_PUTS),,$GUILE_LIBS)
  if test "$GUILE_SUPPORT" = yes; then
   AC_MSG_CHECKING(for Guile Scheme directory)
   GUILE_SCMDIR=`guile -c "(display (cdr (assq 'pkgdatadir
%guile-build-info)))"`
  fi
fi
AC_SUBST(GUILE_SCMDIR)
AC_MSG_RESULT($GUILE_SCMDIR)

dnl Checks for library functions.

AC_OUTPUT([Makefile doc/Makefile 
g-scan/Makefile
guile/Makefile guile/g-wrap-guile
rscheme/Makefile rscheme/g-wrap-rs])


Any ideas,
thanks,
alan
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to