g-wrap-1.3.2 problem - who can help me

Gansser, Martin MGansser@rand.de
Thu, 15 Aug 2002 17:46:53 +0200


> "Gansser, Martin" <MGansser@rand.de> writes:
>=20
> > what I didn't understand is, should I place the g-wrap=20
> source tree in the gnucash source tree ?
> > and what about the prefix of g-wrap and gnucash
>=20
> No. you should "build" g-wrap (it's its own package) first, install it
> somewhere (I recommend /opt/g-wrap-1.2.x), and then configure gnucash
> --with-g-wrap-prefix=3D/opt/g-wrap-1.2.x

this is the output of configure:

prounix_root:/users/mgansser/GNU/g-wrap-1.2.1 # ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
/opt/mgansser/GNU/g-wrap-1.2.1/missing: Unknown `--run' option
Try `/opt/mgansser/GNU/g-wrap-1.2.1/missing --help' for more information
configure: warning: `missing' script is too old or missing
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD compatible install... /usr/local/bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... hppa2.0w-hp-hpux11.00
checking build system type... hppa2.0w-hp-hpux11.00
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic (s[0-9][0-9][0-=
9]|PA-RISC[0-9].[0-9]) sh
ared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/local/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... =
yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... yes
creating libtool
checking for guile... /usr/local/bin/guile
checking for rs... nope
checking for guile-config... /usr/local/bin/guile-config
checking for scm_boot_guile in -lguile... yes
checking for scm_puts in -lguile... yes
checking for Guile Scheme directory... /usr/local/share/guile
checking if guile uses old style smobs... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bin/Makefile
creating doc/Makefile
creating example/Makefile
creating g-wrap/Makefile
creating g-wrapped/Makefile
creating libruntime-guile/Makefile
creating libruntime-rscheme/Makefile
creating rpm/Makefile
creating stale/Makefile
creating stale/g-scan/Makefile
creating stale/rscheme/Makefile
creating test/Makefile
creating conf.h

output of gmake:

Making all in libruntime-guile
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/libruntime-gui=
le'
source=3D'g-wrap-runtime-guile.c' object=3D'g-wrap-runtime-guile.lo' libtoo=
l=3Dyes \
depfile=3D'.deps/g-wrap-runtime-guile.Plo' tmpdepfile=3D'.deps/g-wrap-runti=
me-guile.TPlo' \
depmode=3Dgcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g=
 -O2 -I/usr/local/include -
c -o g-wrap-runtime-guile.lo `test -f g-wrap-runtime-guile.c || echo './'`g=
-wrap-runtime-guile.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/local/include -c g-wrap-runt=
ime-guile.c -MT g-wrap-ru
ntime-guile.lo -MD -MP -MF .deps/g-wrap-runtime-guile.TPlo  -fPIC -DPIC -o =
.libs/g-wrap-runtime-guil
e.lo
cc1: warning: changing search order for system directory "/usr/local/includ=
e"
cc1: warning:   as it has already been specified as a non-system directory
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/local/include -c g-wrap-runt=
ime-guile.c -MT g-wrap-ru
ntime-guile.lo -MD -MP -MF .deps/g-wrap-runtime-guile.TPlo -o g-wrap-runtim=
e-guile.o >/dev/null 2>&1
mv -f .libs/g-wrap-runtime-guile.lo g-wrap-runtime-guile.lo
/bin/sh ../libtool --mode=3Dlink gcc  -g -O2 -I/usr/local/include   -o libg=
-wrap-runtime-guile.la  -rp
ath /usr/local/lib -version-info 2:0:0 g-wrap-runtime-guile.lo -L/usr/local=
/lib -lguile -lm
rm -fr .libs/libg-wrap-runtime-guile.la .libs/libg-wrap-runtime-guile.* .li=
bs/libg-wrap-runtime-guil
e.*
/usr/ccs/bin/ld -b +h libg-wrap-runtime-guile.sl.2 +b /usr/local/lib -o .li=
bs/libg-wrap-runtime-guil
e.sl.2.0  g-wrap-runtime-guile.lo  -L/usr/local/lib /usr/local/lib/libguile=
.sl -lm -lc
(cd .libs && rm -f libg-wrap-runtime-guile.sl.2 && ln -s libg-wrap-runtime-=
guile.sl.2.0 libg-wrap-ru
ntime-guile.sl.2)
(cd .libs && rm -f libg-wrap-runtime-guile.sl && ln -s libg-wrap-runtime-gu=
ile.sl.2.0 libg-wrap-runt
ime-guile.sl)
ar cru .libs/libg-wrap-runtime-guile.a  g-wrap-runtime-guile.o
ranlib .libs/libg-wrap-runtime-guile.a
creating libg-wrap-runtime-guile.la
(cd .libs && rm -f libg-wrap-runtime-guile.la && ln -s ../libg-wrap-runtime=
-guile.la libg-wrap-runti
me-guile.la)
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/libruntime-guil=
e'
Making all in libruntime-rscheme
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/libruntime-rsc=
heme'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/libruntime-rsch=
eme'
Making all in g-wrap
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/g-wrap'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/g-wrap'
Making all in g-wrapped
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/g-wrapped'
guile -c \
          "(set! %load-path (cons \"/opt/mgansser/GNU/g-wrap-1.2.1/g-wrappe=
d/..\" %load-path))""(use
-modules (g-wrap)) \
                        (use-modules (g-wrapped gw-runtime-spec)) \
                        (gw:generate-module \"gw-runtime\")"
source=3D'gw-runtime.c' object=3D'gw-runtime.lo' libtool=3Dyes \
depfile=3D'.deps/gw-runtime.Plo' tmpdepfile=3D'.deps/gw-runtime.TPlo' \
depmode=3Dgcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O=
2 -Wall -g -I../libruntime-
guile -g -O2 -I/usr/local/include -c -o gw-runtime.lo `test -f gw-runtime.c=
 || echo './'`gw-runtime.
c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -g -I../libruntime-guile -g -O2 =
-I/usr/local/include -c g
w-runtime.c -MT gw-runtime.lo -MD -MP -MF .deps/gw-runtime.TPlo  -fPIC -DPI=
C -o .libs/gw-runtime.lo
cc1: warning: changing search order for system directory "/usr/local/includ=
e"
cc1: warning:   as it has already been specified as a non-system directory
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -g -I../libruntime-guile -g -O2 =
-I/usr/local/include -c g
w-runtime.c -MT gw-runtime.lo -MD -MP -MF .deps/gw-runtime.TPlo -o gw-runti=
me.o >/dev/null 2>&1
mv -f .libs/gw-runtime.lo gw-runtime.lo
/bin/sh ../libtool --mode=3Dlink gcc  -O2 -Wall -g -I../libruntime-guile -g=
 -O2 -I/usr/local/include
 -o libgw-runtime.la -rpath /usr/local/share/guile/g-wrapped -rpath /usr/lo=
cal/lib -module -export-d
ynamic gw-runtime.lo -L/usr/local/lib -lguile -lm ../libruntime-guile/libg-=
wrap-runtime-guile.la
libtool: link: warning: ignoring multiple `-rpath's for a libtool library
rm -fr .libs/libgw-runtime.la .libs/libgw-runtime.* .libs/libgw-runtime.*
/usr/ccs/bin/ld -b +h libgw-runtime.sl.0 +b /usr/local/share/guile/g-wrappe=
d -o .libs/libgw-runtime.
sl.0.0  gw-runtime.lo  -L/usr/local/lib /usr/local/lib/libguile.sl -lm ../l=
ibruntime-guile/.libs/lib
g-wrap-runtime-guile.sl -lc
(cd .libs && rm -f libgw-runtime.sl.0 && ln -s libgw-runtime.sl.0.0 libgw-r=
untime.sl.0)
(cd .libs && rm -f libgw-runtime.sl && ln -s libgw-runtime.sl.0.0 libgw-run=
time.sl)
ar cru .libs/libgw-runtime.a  gw-runtime.o
ranlib .libs/libgw-runtime.a
creating libgw-runtime.la
(cd .libs && rm -f libgw-runtime.la && ln -s ../libgw-runtime.la libgw-runt=
ime.la)
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/g-wrapped'
Making all in example
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/example'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/example'
Making all in stale
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale'
Making all in rscheme
gmake[3]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale/rscheme'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale/rscheme'
Making all in g-scan
gmake[3]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale/g-scan'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale/g-scan'
gmake[3]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale'
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/stale'
Making all in test
gmake[2]: Entering directory `/opt/mgansser/GNU/g-wrap-1.2.1/test'
LD_LIBRARY_PATH=3D/opt/mgansser/GNU/g-wrap-1.2.1/test/..:/opt/mgansser/GNU/=
g-wrap-1.2.1/test/..: \
guile -c \
          "(set! %load-path (cons \""/opt/mgansser/GNU/g-wrap-1.2.1/test/..=
"\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-parent-spec.scm\") \
           (gw:generate-module \"gw-test-parent\")"
source=3D'gw-test-parent.c' object=3D'gw-test-parent.lo' libtool=3Dyes \
depfile=3D'.deps/gw-test-parent.Plo' tmpdepfile=3D'.deps/gw-test-parent.TPl=
o' \
depmode=3Dgcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O=
2 -Werror -Wall -g -I../lib
runtime-guile -g -O2 -I/usr/local/include -c -o gw-test-parent.lo `test -f =
gw-test-parent.c || echo
'./'`gw-test-parent.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Werror -Wall -g -I../libruntime-guile=
 -g -O2 -I/usr/local/incl
ude -c gw-test-parent.c -MT gw-test-parent.lo -MD -MP -MF .deps/gw-test-par=
ent.TPlo  -fPIC -DPIC -o
.libs/gw-test-parent.lo
cc1: changing search order for system directory "/usr/local/include"
cc1:   as it has already been specified as a non-system directory
gmake[2]: *** [gw-test-parent.lo] Error 1
gmake[2]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1/test'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/mgansser/GNU/g-wrap-1.2.1'
gmake: *** [all] Error 2
prounix_root:/users/mgansser/GNU/g-wrap-1.2.1 #

Martin