From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: configuring guile packages [was: GNU Guile 2.9.8 Released [beta]] Date: Thu, 9 Jan 2020 02:43:04 +0800 Message-ID: References: <87woaa3rq4.fsf@pobox.com> <296377b9-14f8-107a-21f3-ca2c139ef336@gmail.com> <9adebe26-c789-fbaf-f29d-d4757a86c00a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="42131"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Guile User , Matt Wette To: Jason Earl Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 08 19:43:41 2020 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipGIr-0004R4-Bm for guile-user@m.gmane.org; Wed, 08 Jan 2020 19:43:37 +0100 Original-Received: from localhost ([::1]:47962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipGIp-0000x3-U2 for guile-user@m.gmane.org; Wed, 08 Jan 2020 13:43:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38608) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipGIZ-0000wl-1J for guile-user@gnu.org; Wed, 08 Jan 2020 13:43:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipGIX-00061a-Jm for guile-user@gnu.org; Wed, 08 Jan 2020 13:43:18 -0500 Original-Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:36755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipGIX-00060y-DK for guile-user@gnu.org; Wed, 08 Jan 2020 13:43:17 -0500 Original-Received: by mail-yb1-xb2f.google.com with SMTP id w126so1900317yba.3 for ; Wed, 08 Jan 2020 10:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Ht8BtfWfGJ6yo/XEKfDrDZg6TsFADFZfGHGDxhKqmM=; b=iFtv/u9Q54OOOiOaunyhU4y3w/2OnDxErZuLsg1Jv7UQV8VGXB23cRoTGXht50vzof 4v0fjysk8mYJQYHN3xjhtloyZJRabe28jgjvW2Cv/ucQRemw0t2wabUgSEOlwYpcIye4 SLosF/i9uJ+SOzBMm1zUOTOl0hSHYxjZZrsuIAhtOpPFD1bqs2YRjSz+3GiEVumUml2W 3ncWFEzyD5aldhDm7bXAjGY7TSTWVjZu0BNa23eZ7jJG396Dp92Bn+nEaSXZNQveIUQ/ 3JCXmMuxfWxUycy1KKY3sHEBSRJAFLLKnOhTk+bapDLeeXQ5jOx1xFwe0Ws16QIiOeY3 1HZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Ht8BtfWfGJ6yo/XEKfDrDZg6TsFADFZfGHGDxhKqmM=; b=Lg/tGabdMKTH++NC/CL5gGx/wnxk1X2QIDhCNhtGk8XxBucxmodyRSRSkv61ZqEjpl Tl/FOc1XXhjlwMHDA4ikrOKCUusiylHax6xGYBPSosR3Eesy2A0+NDxXaCKDG056J9Ee z1oXESn3walU/qd8udyrchrpPvcT2YVp17Y47/lCRXffwnFqJCJwU+46tkNQG9tLGeRy AzpQ5D92NNA3+hOT+DDHbbU+vQjU/1Av6zJxVJzWnCSEkv7h4vnpECPloKOk/aAIp2UA CTfp+Iv7mBIe9+j2R8CVn/uq5mOrL56KOxaBbBqya+/be9dhgI/wQJEL1/J58We7GAF1 ZAMg== X-Gm-Message-State: APjAAAVtDw5O4dG/qEec2mnnm70Hi2lNnYhTjLhp4K3JaU4Qmzp6Y4ST r2nQwQYDflbFsl65veoeoo3HFBLI8NGzv0UsWDQ= X-Google-Smtp-Source: APXvYqws0RzAHaFecrFS9UhBDxxtz+DMB5Z3nZPB8WYDqf/Wjjh+gjxt24XhzKb7JrHEscS5+RwgSfmfwvbqSqWBh+Y= X-Received: by 2002:a25:30d6:: with SMTP id w205mr5060810ybw.84.1578508996711; Wed, 08 Jan 2020 10:43:16 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b2f X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:16012 Archived-At: Well, I shouldn't since autoconf should deal with it automatically. I remember I did this just because of a workaround, at that time Guile-2.2 has issue to detect the correct version number, and I was hurry to release. Long time ago, I forget to remove it. Best regards On Thu, Jan 9, 2020, 02:24 Jason Earl wrote: > On Wed, Jan 08 2020, Nala Ginrut wrote: > > > Finally I found the problem is that I left a m4/guile.m4 in Artanis for > > some reasons. It's solved by remove it. > > > > Thanks for all the helps! > > > > Best regards > > > > On Mon, Jan 6, 2020 at 2:56 PM Nala Ginrut wrote: > > I am far from an expert at Autoconf, and it is entirely possible that I > am leading you astray by mentioning this, but the Autoconf manual > actually covers why you might want to include an updated copy of > guile.m4 in your package instead of removing it entirely. > > It even uses guile as an example. > > https://www.gnu.org/software/automake/manual/html_node/Local-Macros.html > > Long story short, if you would like Artanis to be usable on older > versions of guile that might include the older version of the guile.m4 > file that doesn't work then including the fancier new guile.m4 file in > your package will make Artanis potentially work without a guile upgrade. > That's almost certainly how the guile.m4 file got in your tree in the > first place. aclocal --install probably got ran at some point and it > included it. > > In this particular case, it might not be worth it to ship a local > version of a file that will also be included with guile. As you have > already seen local m4 files is a bit of foot gun. They are easy to > forget, and although there are tools that will update your development > files automagically, you have to remember to use the tools. > > Plus, that way you don't have to worry about testing to see if Artanis > actually works with old versions of guile :). > > Thanks for your work. > > Jason Earl >