[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to build guile

From: Ludovic Courtès
Subject: Re: Unable to build guile
Date: Tue, 04 Nov 2008 12:11:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)


Dwight <address@hidden> writes:

>   I did the following:
> # CPPFLAGS="-I/opt/freeware/share/libtool/libltdl" ./configure
> remove the -Wall from the compile of numbers.c compiler command and
> reran the command

Note that `-Wall' itself is harmless, it's `-Werror' that causes the
compilation to stop.  You can just as well use:

  ... ./configure --disable--error-on-warning

which removes `-Werror'.

> gawk -f ./guile-func-name-check regex-posix.c
> (./guile-snarf-docs -DHAVE_CONFIG_H
> -I.. -I.. -I.. -I/opt/freeware/share/libtool/libltdl
> -I/usr/local/include -I/opt/pware/include -g -O2 -Wall
> -Wmissing-prototypes -Werror regex-posix.c | \
>         ./guile_filter_doc_snarfage --filter-snarfage) > regex-posix.doc || { 
> rm regex-posix.doc; false; }
> cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc
> chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc
> discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc
> eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc
> futures.doc gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc
> gc-malloc.doc gc-card.doc guardians.doc hash.doc hashtab.doc hooks.doc
> i18n.doc init.doc ioext.doc keywords.doc lang.doc list.doc load.doc
> macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc
> options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc
> properties.doc random.doc rdelim.doc read.doc root.doc rw.doc
> scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc
> stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc srfi-13.doc
> srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc
> threads.doc throw.doc values.doc variable.doc vectors.doc version.doc
> vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc
> net_db.doc socket.doc regex-posix.doc |
> GUILE="/tmp/VIM/guile-1.8.5/pre-inst-guile"
> ../scripts/snarf-check-and-output-texi          >
> guile-procedures.texi || { rm guile-procedures.texi; false; }
> /bin/sh: 29454 Segmentation fault(coredump)

The `guile-snarf-docs' scripts uses Guile, so it's an indication that
the newly built Guile doesn't work.  :-)

Can you try running "./pre-inst-guile" from the Guile build directory?

Also, can you provide a backtrace for the segfault?  Assuming GDB is
available on your platform, something like the following should work:

  $ cd /the/guile/build/dir
  $ gdb libguile/.libs/lt-guile core
  (gdb) bt full

It would also be interesting to see the warnings issued by GCC -Wall.

Thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]