From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: configuring apps for guile Date: Sun, 16 Feb 2020 07:43:09 -0800 Message-ID: <57dbd09b-eb8c-eada-e06a-404f16ea1ea7@gmail.com> References: <5f967b74-9704-bd49-de82-97a2f1c665df@gmail.com> <87tv3q1tco.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="92696"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Feb 16 16:43:27 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3M4r-000O2F-Fw for guile-user@m.gmane-mx.org; Sun, 16 Feb 2020 16:43:25 +0100 Original-Received: from localhost ([::1]:33434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3M4q-00010n-2X for guile-user@m.gmane-mx.org; Sun, 16 Feb 2020 10:43:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3M4h-0000uE-2m for guile-user@gnu.org; Sun, 16 Feb 2020 10:43:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3M4g-0001T2-7J for guile-user@gnu.org; Sun, 16 Feb 2020 10:43:15 -0500 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:50551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3M4e-0001SK-NI for guile-user@gnu.org; Sun, 16 Feb 2020 10:43:14 -0500 Original-Received: by mail-pj1-x1032.google.com with SMTP id r67so6059510pjb.0 for ; Sun, 16 Feb 2020 07:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Lg4s5+rECdw1bl23NT5fBTYZspiFIClir3Tc2yH6RHg=; b=tjll2NbuQfcDe1gxFl8v1DSrXoZsT8cx4AW34V3rAQ4W4EnP/CbLtxuvt85ALxsFBh t5ZBvJ04ASQgYhsOlC39BwdtIP+q6y73P1Ag6+R0FHrg7Qxn0CxBFXFm+p3EcHV40IbW JD8S0rhOyEnCXCK6OXwpenlVYoBZImUxUaclvJ63HQabOGrexA3Ohq3VgcFKRLxiyUf7 Ivpa3MgNVBuxGv/6CpVz5+vwjbwM/DnLXO/12lTAX47bC9lZ08/nH0aiEgCCJjnUeEdx Z/QqBz+jd6Jvs7mUE+og/24rkHP7PKEtx+GI1KxMZ3GGSHFPJQBa2HhH3i5/AKviIASP yOKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Lg4s5+rECdw1bl23NT5fBTYZspiFIClir3Tc2yH6RHg=; b=a3NoKluervWVc+4UtiovKGIahprIjA4uVMpJrb0u9xXrjL0dYsFR2Ge0jcegALOE5d KV+75FdHLPhCgb72+hXbN3B7PFvZUvxhDRaNX18rrtBG6U8qu75DTPmnYgKIx6hEM/aX V+vKGAPd/KFLwxW38gl8rRQxRbaN4Lmhx1UMMjy+3gD227Qb7jqBzzgh6ilbaJuubfRp K9iycXgAbjhonwEy5XE7P9dH5sH6jmTn2B/OQnM1OjpUCZkTHLLlH1rxYlJcs/gG6v7j OP/W+7Ad/mII/D2eHa+Frd2aSJxaAFFqTN8LtLCKXs3l42xsdMZWVBqstu68Hoy++sEX FMQw== X-Gm-Message-State: APjAAAWovc/mJoLJpnJM+Ysw5t645YYUAOZnIpAye/PW2CE6cMTVb6Z5 prRCQPcEHBfKu2019MdnqaKOOqLW X-Google-Smtp-Source: APXvYqzJCW2ki2GKcjpFED95xcdORbl9EUkgscQB1OkJ8dQwui9wmsoWdt2WbxjfzqM8UBkFBixZMw== X-Received: by 2002:a17:902:bc88:: with SMTP id bb8mr11592253plb.274.1581867791165; Sun, 16 Feb 2020 07:43:11 -0800 (PST) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id n15sm13660254pfq.168.2020.02.16.07.43.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Feb 2020 07:43:10 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1032 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16182 Archived-At: On 2/16/20 7:28 AM, Matt Wette wrote: > On 2/16/20 6:48 AM, Ludovic Courtès wrote: >> >>    moddir = $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION) >>    godir  = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache >> > What if you have a system that gives this (e.g., Ubuntu 18.04): > > mwette$ /usr/bin/guile -c "(display (assq-ref %guile-build-info > 'prefix)) (newline)" > /usr > > mwette$ /usr/bin/guile -c "(display (%site-ccache-dir)) (newline)" > /usr/lib/x86_64-linux-gnu/guile/2.2/site-ccache > > I'm not sure that guile will find .go files installed in > /usr/lib/guile/2.2/site-ccache. > > And for me, things get more bizarre.  If I have another guile installed in my path under /opt/local I get   mwette$ /usr/bin/guile -c "(display (%site-ccache-dir)) (newline)"   /opt/local/lib/guile/2.2/site-ccache I have no clue how that is happening.  I assume these paths are hardcoded. Just to be sure:   mwette$ env | grep GUILE   GUILE_WARN_DEPRECATED=detailed   GUILE_LOAD_PATH=/home/mwette/opt/guile