From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: guile-devel@gnu.org
Subject: Re: build failure just trying to build guile-1.8.7 natively
Date: Thu, 19 Nov 2009 13:01:32 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0911191300190.14379@localhost> (raw)
In-Reply-To: <20091119172426.GH31313@localhost>
On Thu, 19 Nov 2009, Miroslav Lichvar wrote:
> On Wed, Nov 18, 2009 at 12:11:51PM -0500, Robert P. J. Day wrote:
> >
> > as a followup to my earlier plea for help, i downloaded the
> > guile-1.8.7 tarball and tried to build it on my (effectively) fedora
> > 12 system, and ran into exactly the same error:
>
> > ERROR: unknown doc attribute: (location (string . alist.c) (int . 40)
> > (hash . hash))
>
> This is caused by new cpp which inserts linemarkers where it didn't
> before.
>
> For example:
>
> #define X(a, b) a, __FILE__, __LINE__, b
> X(a,
> b)
>
> results in:
>
> a,
> "a.c"
> # 2 "a.c"
> ,
> 3
> # 2 "a.c"
> , b
>
> Adding -P option to cpp in guile-snarf-docs fixes the problem.
so here's the patch file i added for the OE build, since we're
building from the tarball. is this what you're talking about?
diff -Nur guile-1.8.7.orig/libguile/guile-snarf-docs.in guile-1.8.7/libguile/guile-snarf-docs.in
--- guile-1.8.7.orig/libguile/guile-snarf-docs.in 2009-07-03 18:19:00.000000000 -0400
+++ guile-1.8.7/libguile/guile-snarf-docs.in 2009-11-19 12:55:32.487266268 -0500
@@ -23,4 +23,4 @@
## Let the user override the preprocessor autoconf found.
test -n "${CPP+set}" || CPP="@CPP@"
-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
+${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
next prev parent reply other threads:[~2009-11-19 18:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 17:11 build failure just trying to build guile-1.8.7 natively Robert P. J. Day
2009-11-19 17:24 ` Miroslav Lichvar
2009-11-19 18:01 ` Robert P. J. Day [this message]
2009-11-19 18:58 ` Robert P. J. Day
2009-11-27 17:56 ` Ludovic Courtès
2009-11-27 18:22 ` Miroslav Lichvar
2009-11-27 20:29 ` Ludovic Courtès
2009-11-27 20:52 ` Miroslav Lichvar
2009-11-27 21:07 ` Robert P. J. Day
2009-11-27 22:00 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.0911191300190.14379@localhost \
--to=rpjday@crashcourse.ca \
--cc=guile-devel@gnu.org \
--cc=mlichvar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).