From unknown Wed Sep 10 16:02:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10283: Guile Manual Error Resent-From: add Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 12 Dec 2011 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10283 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 10283@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13237202919218 (code B ref -1); Mon, 12 Dec 2011 20:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2011 20:04:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaC7G-0002Oa-Jj for submit@debbugs.gnu.org; Mon, 12 Dec 2011 15:04:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ra4fl-0007Nr-7j for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:08:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra4ea-0004OX-7W for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:06:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:40960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4ea-0004OT-63 for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:06:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4eU-0007Y4-JT for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra4eT-0004O4-Gt for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:38 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4eT-0004Nz-A0 for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:37 -0500 Received: by lahi5 with SMTP id i5so2281139lah.0 for ; Mon, 12 Dec 2011 04:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ynbOb953+tb6baDjR9FIATDL3I5eLJl8GTVYUdGJQ1w=; b=nqwBGN/hiju2EThG20ZFX52OINer49Tbxgwucr1hke4NY6Iao0udgkyQeOEXl0d6kj qKDGqzxfGF8DNV0YSwJ/z6uBOZpbKAIKv11jrYZuNbA/XA3t4GnuLf/qHvWzyJP/4wZN zB8aJRYh2rvE0wnOxCJEaScrZ9X8qOOnLEl80= Received: by 10.152.125.196 with SMTP id ms4mr11750107lab.50.1323691252484; Mon, 12 Dec 2011 04:00:52 -0800 (PST) Received: from SomeDude.lan (h59n2c1o838.bredband.skanova.com. [81.227.1.59]) by mx.google.com with ESMTPS id oy14sm16364676lab.9.2011.12.12.04.00.49 (version=SSLv3 cipher=OTHER); Mon, 12 Dec 2011 04:00:51 -0800 (PST) Message-ID: <4EE5ECEE.6030607@gmail.com> Date: Mon, 12 Dec 2011 13:00:46 +0100 From: add User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Mon, 12 Dec 2011 15:04:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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. :-) From unknown Wed Sep 10 16:02:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10283: Guile Manual Error Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 13 Dec 2011 06:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10283 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: add Cc: 10283@debbugs.gnu.org Received: via spool by 10283-submit@debbugs.gnu.org id=B10283.13237578022082 (code B ref 10283); Tue, 13 Dec 2011 06:31:02 +0000 Received: (at 10283) by debbugs.gnu.org; 13 Dec 2011 06:30:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaLsH-0000X1-8h for submit@debbugs.gnu.org; Tue, 13 Dec 2011 01:30:01 -0500 Received: from world.peace.net ([96.39.62.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaLsD-0000WV-2c for 10283@debbugs.gnu.org; Tue, 13 Dec 2011 01:29:59 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1RaLqr-0005Ax-E2; Tue, 13 Dec 2011 01:28:34 -0500 From: Mark H Weaver References: <4EE5ECEE.6030607@gmail.com> Date: Tue, 13 Dec 2011 01:26:52 -0500 In-Reply-To: <4EE5ECEE.6030607@gmail.com> (add's message of "Mon, 12 Dec 2011 13:00:46 +0100") Message-ID: <87fwgpgf6b.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) add 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 From unknown Wed Sep 10 16:02:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: add Subject: bug#10283: closed (Re: bug#10283: Guile Manual Error) Message-ID: References: <874nx4ph0u.fsf@netris.org> <4EE5ECEE.6030607@gmail.com> X-Gnu-PR-Message: they-closed 10283 X-Gnu-PR-Package: guile Reply-To: 10283@debbugs.gnu.org Date: Tue, 13 Dec 2011 16:38:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1323794281-29912-1" This is a multi-part message in MIME format... ------------=_1323794281-29912-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10283: Guile Manual Error which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10283@debbugs.gnu.org. --=20 10283: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10283 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1323794281-29912-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10283-done) by debbugs.gnu.org; 13 Dec 2011 16:37:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaVM0-0007lX-4N for submit@debbugs.gnu.org; Tue, 13 Dec 2011 11:37:21 -0500 Received: from world.peace.net ([96.39.62.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaVLy-0007lQ-8k for 10283-done@debbugs.gnu.org; Tue, 13 Dec 2011 11:37:18 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1RaVKc-0006dA-G6; Tue, 13 Dec 2011 11:35:55 -0500 From: Mark H Weaver To: 10283-done@debbugs.gnu.org Subject: Re: bug#10283: Guile Manual Error References: <4EE5ECEE.6030607@gmail.com> <87fwgpgf6b.fsf@netris.org> Date: Tue, 13 Dec 2011 11:34:25 -0500 In-Reply-To: <87fwgpgf6b.fsf@netris.org> (Mark H. Weaver's message of "Tue, 13 Dec 2011 01:26:52 -0500") Message-ID: <874nx4ph0u.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10283-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) The submitter "add" 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 ------------=_1323794281-29912-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Dec 2011 20:04:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaC7G-0002Oa-Jj for submit@debbugs.gnu.org; Mon, 12 Dec 2011 15:04:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ra4fl-0007Nr-7j for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:08:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra4ea-0004OX-7W for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:06:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:40960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4ea-0004OT-63 for submit@debbugs.gnu.org; Mon, 12 Dec 2011 07:06:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4eU-0007Y4-JT for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra4eT-0004O4-Gt for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:38 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra4eT-0004Nz-A0 for bug-guile@gnu.org; Mon, 12 Dec 2011 07:06:37 -0500 Received: by lahi5 with SMTP id i5so2281139lah.0 for ; Mon, 12 Dec 2011 04:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ynbOb953+tb6baDjR9FIATDL3I5eLJl8GTVYUdGJQ1w=; b=nqwBGN/hiju2EThG20ZFX52OINer49Tbxgwucr1hke4NY6Iao0udgkyQeOEXl0d6kj qKDGqzxfGF8DNV0YSwJ/z6uBOZpbKAIKv11jrYZuNbA/XA3t4GnuLf/qHvWzyJP/4wZN zB8aJRYh2rvE0wnOxCJEaScrZ9X8qOOnLEl80= Received: by 10.152.125.196 with SMTP id ms4mr11750107lab.50.1323691252484; Mon, 12 Dec 2011 04:00:52 -0800 (PST) Received: from SomeDude.lan (h59n2c1o838.bredband.skanova.com. [81.227.1.59]) by mx.google.com with ESMTPS id oy14sm16364676lab.9.2011.12.12.04.00.49 (version=SSLv3 cipher=OTHER); Mon, 12 Dec 2011 04:00:51 -0800 (PST) Message-ID: <4EE5ECEE.6030607@gmail.com> Date: Mon, 12 Dec 2011 13:00:46 +0100 From: add User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: bug-guile@gnu.org Subject: Guile Manual Error Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 12 Dec 2011 15:04:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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. :-) ------------=_1323794281-29912-1--