From unknown Wed Sep 10 16:03:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10283 <10283@debbugs.gnu.org> To: bug#10283 <10283@debbugs.gnu.org> Subject: Status: Guile Manual Error Reply-To: bug#10283 <10283@debbugs.gnu.org> Date: Wed, 10 Sep 2025 23:03:13 +0000 retitle 10283 Guile Manual Error reassign 10283 guile submitter 10283 add severity 10283 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 15:04:51 2011 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. :-) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 01:30:02 2011 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 To: add Subject: Re: bug#10283: Guile Manual Error 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-Debbugs-Envelope-To: 10283 Cc: 10283@debbugs.gnu.org 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 debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 11:37:21 2011 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 From unknown Wed Sep 10 16:03:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Jan 2012 12:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator