From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YG17KnFAyGKIMgAAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 16:34:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gPd3KXFAyGLm1wAAG6o9tA (envelope-from ) for ; Fri, 08 Jul 2022 16:34:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 758773907F for ; Fri, 8 Jul 2022 16:34:25 +0200 (CEST) Received: from localhost ([::1]:51314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9p3o-0000BU-KE for larch@yhetil.org; Fri, 08 Jul 2022 10:34:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9p3e-00008R-47 for guix-devel@gnu.org; Fri, 08 Jul 2022 10:34:14 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9p3c-00081d-JN for guix-devel@gnu.org; Fri, 08 Jul 2022 10:34:13 -0400 Received: by mail-wr1-x435.google.com with SMTP id b26so30845391wrc.2 for ; Fri, 08 Jul 2022 07:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=9mp3gL+AFiiFEC881CeVPw3ve2LRL61zMinrC5qfdYk=; b=dFXt2ZC3FjXbhFTZd3qb3V+Lf3th0wQgbvw80wATN1M55MUK+OMGuGQfzgCxzl1jl+ kkbBwQ8ygzpqnRLEYmjzO3t3g4I7pGBxwM7mNvXJMGTnKYJFgL4R46k17p2pbgUvjkfG TUgwy9EFoV5nLQ1e121rXFIol4VQ8/5Up2ylEkyVHWs8F2T2zut2bRIrMq6SAjRNt+30 udzMlZkETdzROP9bS2L+L+qW3H98D0EuWFk72Qyef0vD0HXs5PgGjbbZdvE26UQqH5b7 eMj7u7eBR5oJj/3YJNS5Qe8co5UbHUJuZG9AhHwP8KTUYYz6fXm2Ketfn6BlsPWD42+D 283g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=9mp3gL+AFiiFEC881CeVPw3ve2LRL61zMinrC5qfdYk=; b=cpyC5hJ0gL9H3HLv8rauUSP1JF8nHwVMGc0IfCoN2DxLJD0Q1PXR17acs2tf3T9wcY xR4POP9+KhoIatnCkDU8iEyKdtwGcO80wB6RyqmNg7q6zo/8mQ646XczFr7qNldKP92N RBSAyrt43hJz9htPQ7htzttcAIU3mDbUleS2FaglfMXufcuuW8K3mKRpZuOIwms7ov1D U1/dByAEYYsezQHTvAxl85KtWqxYyuuzhBP8hxvS+eXzuqyIj9s5Ye8pwJB9sg2e9tNY Cf425+1Qm3DmFXT/hGdLfCW/2ICFlkZK6+SLoNG+gmgOKKZJ08ypv0j/b6+eFPw1PfVc XjjA== X-Gm-Message-State: AJIora+yvyVObx16IvTfQsQmVA0JekkKJ5iokj1AvPdomfss+YThFDpb J/PomIKBvgoQk5It7APU1Fu1pMrq+3Y= X-Google-Smtp-Source: AGRyM1tfrp0YNIbt8wNKexlxIAx2QX5xKWBDp2bYnBI5ZuPi6+pfBpkgYo2rM+bxogsMBmaWnIOQIg== X-Received: by 2002:a05:6000:1688:b0:21d:7b36:926a with SMTP id y8-20020a056000168800b0021d7b36926amr3575375wrd.303.1657290850710; Fri, 08 Jul 2022 07:34:10 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id p18-20020a1c7412000000b003973435c517sm2327967wmc.0.2022.07.08.07.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 07:34:10 -0700 (PDT) From: zimoun To: Sam Lee , guix-devel@gnu.org Subject: Re: Error when compiling file using Bigloo Scheme In-Reply-To: <20220707155649.zmegt2ncimhroxxx@localhost> References: <20220707155649.zmegt2ncimhroxxx.ref@localhost> <20220707155649.zmegt2ncimhroxxx@localhost> Date: Fri, 08 Jul 2022 16:25:21 +0200 Message-ID: <878rp3bs1a.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657290865; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9mp3gL+AFiiFEC881CeVPw3ve2LRL61zMinrC5qfdYk=; b=pwi3+Axm+uKp3UkNP9d3Njg5jXhI2zA98QhgpRPZx+9eShPAFPOw5TwfaIUAAP8u8eC7wZ g3Jz6r6YpXVzSxLEG40qd+q5Xm9y56dk9gnRpVkRH38Kw2jyFa4qnO3ebtiUiRhyZmfBTS iDqtTjytaORjW3nveVTf7ZgexBFx64ukQas42G+OsbvqLmsrLtbD/8Sn1ej5aeBhGnPHrP F5zSDn7vmjEFsVOPujf/8HVZXQP3FjYSh3deN10KkoVIOEqdc1aNzul3ADsB0NVrfkblmk qAC46L84Uk1JRGde+8V51gTs4w5wQSsw9VyFEf9r/3U2IAbWcJut34GzAg7Elg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657290865; a=rsa-sha256; cv=none; b=HhfMRsNQ1O0nkvFDd3cS0QtIu5UVykdm50fnBU6dNQeKRuJY3gauwVLuyyYmI0AowIkvps DDoZ6/CTDTKySW/5+hlchjjWBdujBcQ+N+tHuDTY73MfHnAaG6ImlZLBCzHJDkp7p7rFQx rj1N9/6ZHS053lwVc8QyEh/tboKdKWkFhvdAIEm6xgJFWq9a+GzjddLPFTm+FiNp+2ewhZ qjUnRSM3bmndse+Xvc2DjAAIgWjgYN2u8h8COjCZCNSfwqmyhplGLjsw1nRdyjqQSEusvK Yg/54il/g9VM/uA9RKS91eQOVczLcl+WLpesV75f2C3YLmca5oxX/VE4yq1Wrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dFXt2ZC3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dFXt2ZC3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 758773907F X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: dV8DGkL/5M3O Hi, On jeu., 07 juil. 2022 at 15:56, Sam Lee wrote: > $ bigloo myfile.scm > /usr/bin/ld: cannot find -lunistring > collect2: error: ld returned 1 exit status Indeed, bigloo requires some packages. This works for me: --8<---------------cut here---------------start------------->8--- $ guix shell -C bigloo libunistring gcc-toolchain libgc pcre \ -- bigloo /tmp/myfile.scm --8<---------------cut here---------------end--------------->8--- where myfile.scm is the same as yours. > (module mymodule > (main start)) > > (define (start argv) > (display "Hello!") > (newline)) Note that it outputs nothing, right? Well, =E2=80=9Cguix shell -C=E2=80=9D is for being sure all the packages re= quired by the bigloo compiler are inside the environment. For regular usage, you can just use =E2=80=9Cguix shell --pure=E2=80=9D or without any special option,= or even install all the packages in a profile. Cheers, simon