Building g-wrap with Fedora Core 3
Derek Atkins
warlord at MIT.EDU
Tue Aug 30 12:47:53 EDT 2005
g-wrap on FC3 is easy: yum install g-wrap-devel
-derek
Quoting Andrew Wood <andrew at gn.apc.org>:
> Dear all,
>
> When people started developing GNUcash did you find it as frustrating
> as me?! I'm trying to build the gnome 2 branch.
>
> I'm having problems building g-wrap (g-wrap-1.3.4). I pull down the
> srpm from http://www.gnucash.org/pub/g-wrap/redhat-8.x/SRPMS/ and
> then, well, see below. I'm running RH Fedora Core 3 and I've
> previously built glibe.
>
> Thanks in advance and apologies if this all seems a bit dumb!
>
> Andrew Wood
> 109 Hurst Street, Oxford. OX4 1HE.
> ---------
>
> [andrew at localhost g-wrap-1.3.4]$ ls
> aclocal.m4 config.log example ltconfig README
> AUTHORS config.status g-wrap ltmain.sh rpm
> bin config.sub g-wrap.m4 Makefile stamp-h1
> ChangeLog configure g-wrap.scm Makefile.am test
> compile configure.in INSTALL Makefile.in THANKS
> config.guess COPYING.LIB install-sh missing TODO
> config.h depcomp kill-usr-include mkinstalldirs
> config.h.in doc libtool NEWS
> [andrew at localhost g-wrap-1.3.4]$ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking for a sed that does not truncate output... /bin/sed
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking command to parse /usr/bin/nm -B output... ok
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> 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/bin/ld) supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking for guile... /usr/local/bin/guile
> 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
> checking for glib-config... no
> checking for gtk-config... no
> checking for build-guile-gtk... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating bin/Makefile
> config.status: creating doc/Makefile
> config.status: creating example/Makefile
> config.status: creating g-wrap/Makefile
> config.status: creating rpm/Makefile
> config.status: creating test/Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> [andrew at localhost g-wrap-1.3.4]$ make
> make all-recursive
> make[1]: Entering directory `/home/andrew/g-wrap/g-wrap-1.3.4'
> Making all in doc
> make[2]: Entering directory `/home/andrew/g-wrap/g-wrap-1.3.4/doc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/andrew/g-wrap/g-wrap-1.3.4/doc'
> Making all in rpm
> make[2]: Entering directory `/home/andrew/g-wrap/g-wrap-1.3.4/rpm'
> rm -f spec.tmp
> sed < spec.in > spec.tmp \
> -e
> 's:@-GW_RTLIB_VER-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER at .@GW_RUNTIME_GUILE_INTERFACE_REVISION at .@GW_RUNTIME_GUILE_INTERFACE_AGE@:'
> \
> -e 's:@-GW_RTLIB_MAJ-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER@:' \
> -e 's:@-VERSION-@:1.3.4:'
> mv spec.tmp spec
> make[2]: Leaving directory `/home/andrew/g-wrap/g-wrap-1.3.4/rpm'
> Making all in bin
> make[2]: Entering directory `/home/andrew/g-wrap/g-wrap-1.3.4/bin'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/andrew/g-wrap/g-wrap-1.3.4/bin'
> Making all in g-wrap
> make[2]: Entering directory `/home/andrew/g-wrap/g-wrap-1.3.4/g-wrap'
> guile -c \
> "(set! %load-path (cons
> \"/home/andrew/g-wrap/g-wrap-1.3.4/g-wrap/..\"
> %load-path))""(debug-enable 'backtrace) \
> (debug-enable 'debug) \
> (read-enable 'positions) \
> (use-modules (g-wrap)) \
> (use-modules (g-wrap gw-standard-spec)) \
> (gw:generate-wrapset \"gw-standard\")"
> Backtrace:
> In unknown file:
> ?: 38* (if (or # #) (try-load-module name))
> ?: 39 [try-load-module (ice-9 slib)]
> ?: 40 (or (begin (try-module-linked name)) (try-module-autoload
> name) ...)
> ?: 41* [try-module-autoload (ice-9 slib)]
> ?: 42 (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
> ...
> ?: 43 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
> () #) ...) ...)
> ?: 44* [dynamic-wind #<procedure #f ()> #<procedure #f ()>
> #<procedure #f ()>]
> ?: 45* [#<procedure #f ()>]
> ?: 46* (let ((file #)) (cond (# => #) (# => #)))
> ?: 47 [#<procedure #f (full)>
> "/usr/local/share/guile/1.6/ice-9/slib.scm"]
> ?: 48 [load-file #<primitive-procedure primitive-load> ...]
> ?: 49* [save-module-excursion #<procedure #f ()>]
> ?: 50 (let (# #) (dynamic-wind # thunk #))
> ?: 51 [dynamic-wind #<procedure #f ()> #<procedure #f ()>
> #<procedure #f ()>]
> ?: 52* [#<procedure #f ()>]
> ?: 53* [primitive-load "/usr/local/share/guile/1.6/ice-9/slib.scm"]
> In /usr/local/share/guile/1.6/ice-9/slib.scm:
> 217: 54* (define slib-parent-dir (let (#) (if path # #)))
> 218: 55* (let ((path #)) (if path (substring path 0 ...) ...))
> 219: 56 (if path (substring path 0 ...) ...)
> In unknown file:
> ...
> ?: 57 [scm-error misc-error #f ...]
>
> <unnamed port>: In procedure scm-error in expression (scm-error
> (quote misc-error) #f ...):
> <unnamed port>: Could not find slib/require.scm in
> ("/home/andrew/g-wrap/g-wrap-1.3.4/g-wrap/.."
> "/usr/local/share/guile/site" "/usr/local/share/guile/1.6"
> "/usr/local/share/guile" ".")
> make[2]: *** [gw-standard.c] Error 2
> make[2]: Leaving directory `/home/andrew/g-wrap/g-wrap-1.3.4/g-wrap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/andrew/g-wrap/g-wrap-1.3.4'
> make: *** [all] Error 2
> [andrew at localhost g-wrap-1.3.4]$
> [andrew at localhost g-wrap-1.3.4]$
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list