GNU bug report logs - #10283
Guile Manual Error

Previous Next

Package: guile;

Reported by: add <unknown.areth <at> gmail.com>

Date: Mon, 12 Dec 2011 20:05:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10283 in the body.
You can then email your comments to 10283 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#10283; Package guile. (Mon, 12 Dec 2011 20:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to add <unknown.areth <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 12 Dec 2011 20:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: add <unknown.areth <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Guile Manual Error
Date: Mon, 12 Dec 2011 13:00:46 +0100
www.gnu.org/software/guile/manual/guile.html#Linking-Guile-into-Programs

Hm, I've tried the "linking guile into programs" and the gcc command 
there is incorrect, and also, I can't access my HOSTNAME envvar from the 
guile instance (from both mac 10.5.8 and GNU/Linux Kubuntu 11.10).
The gcc command should be "gcc -o simple-guile simple-guile.c 
$(pkg-config --cflags --libs guile-2.0)"
Thanks for supplying the manual though :-D Without it I wouldn't get 
anywhere, probably.
:-)




Information forwarded to bug-guile <at> gnu.org:
bug#10283; Package guile. (Tue, 13 Dec 2011 06:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 10283 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: add <unknown.areth <at> gmail.com>
Cc: 10283 <at> debbugs.gnu.org
Subject: Re: bug#10283: Guile Manual Error
Date: Tue, 13 Dec 2011 01:26:52 -0500
add <unknown.areth <at> gmail.com> writes:
> www.gnu.org/software/guile/manual/guile.html#Linking-Guile-into-Programs
>
> Hm, I've tried the "linking guile into programs" and the gcc command
> there is incorrect, [...]
> The gcc command should be "gcc -o simple-guile simple-guile.c
> $(pkg-config --cflags --libs guile-2.0)"

Thanks for the report, but as far as I can tell the gcc command in the
manual is correct.  Perhaps you made a mistake when typing it in?  The
only differences between the command you give above and the one in the
manual are:

* The command in the manual includes a backslash to split the command
  across two lines.  Note that this backslash must be the last character
  on the line (without even a space after it).  Alternatively, you can
  put the whole command on one line.

* You use the bash-specific $(...) command substitution syntax, whereas
  the manual uses the `...` backquote syntax.  Both syntaxes are exactly
  equivalent on bash, but the backquote syntax is far more portable
  (i.e. works on most shells, not just bash).

Note that backquotes `...` are _not_ the same as single-quotes '...',
a.k.a. apostrophes.  On a US keyboard, backquote is usually on the same
key as the tilde (~).

> and also, I can't access my HOSTNAME envvar from
> the guile instance (from both mac 10.5.8 and GNU/Linux Kubuntu 11.10).

When filing bug reports, it is important to give us enough detail to
reproduce the exact problem you see.  Instead of telling us that you
can't do something, please show us an exact transcript of a minimal
self-contained Guile session that demonstrates the problem.

In this case, please type "export | grep HOSTNAME" at the shell prompt
(to demonstrate that HOSTNAME really is in your environment), followed
by "guile" and then show us what guile commands you typed to try to
access this environment variable.

Also, when reporting two or more unrelated bugs, please send each report
in a separate email.  The reason we ask is that each email to bug-guile
is automatically added to our bug tracking system.  It is better for
each bug to have its own separate entry in the system.

Anyway, thanks for the reports!

    Best,
     Mark




Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Tue, 13 Dec 2011 16:38:01 GMT) Full text and rfc822 format available.

Notification sent to add <unknown.areth <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Dec 2011 16:38:01 GMT) Full text and rfc822 format available.

Message #13 received at 10283-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: 10283-done <at> debbugs.gnu.org
Subject: Re: bug#10283: Guile Manual Error
Date: Tue, 13 Dec 2011 11:34:25 -0500
The submitter "add" <unknown.areth <at> gmail.com> told me in private email
that the gcc command in the manual now works for him (he probably
mistyped it before), and that the HOSTNAME variable was a private shell
variable and not an environment variable, so I'm closing this bug.

     Mark




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Jan 2012 12:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.