www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/02/25/22:55:24

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Message-Id: <202102260353.11Q3rrfx007192@delorie.com>
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crcomp.net;
s=default; h=References:Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=di9IovQfeSlLnV2KRs3LPXtCZ7naSiiBr5RvXRvBMCo=; b=FG4iCl6wPlQ+HAneOOhIb1kgnK
fw4Jtt58o6CM0TuArujSn+uiY1+jLP1BxAHvomVL2RBK8EwoNTKPyH1pwshtnuqi/6OAEBBi5vyWl
YbVRFcynOVY+UdHCJ3mdRfrhFK6kU2u29Bb1qW6tth51OECorUa4rzqEP1LcVhnAylEtzF3bCbO7e
d2Z3q0NWiuT0O5xZ9/L9c0DhT3Wi0P+KSCyqgt4TSl1A5tPmvbR/ZZgIUxhRvCDACN5oC55Dww7bR
EQyJsdGGwMO06HWxwC3FEqFKBZxClvMDifrFtu8NWP4nnHkWPLMhRq1p30SkK+tRge7+6nUB99YbK
9IJt9ipw==;
Date: 26 Feb 2021 03:53:53 UTC
To: <geda-user AT delorie DOT com>
From: "Don Kuenz (mail AT crcomp DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] FreeBSD 12.2 "make all-recursive" error
References: <alpine DOT DEB DOT 2 DOT 21 DOT 2102251353520 DOT 1145 AT nimbus>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - www18.qth.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - crcomp.net
X-Get-Message-Sender-Via: www18.qth.com: authenticated_id: mail AT crcomp DOT net
X-Authenticated-Sender: www18.qth.com: mail AT crcomp DOT net
X-Source:
X-Source-Args:
X-Source-Dir:
Reply-To: geda-user AT delorie DOT com

Roland Lutz <rlutz AT hedmen DOT org> wrote:
> On Thu, 25 Feb 2021, Peter Stuge (peter AT stuge DOT se) [via
> geda-user AT delorie DOT com] wrote:
>> --8<-- gschem/src/Makefile.am
>> actions.decl.x: actions.decl.h actions.c Makefile
>>        $(AM_V_GEN)$(CPP) -I$(srcdir) -c $< | \
>>          sed -e '/^.*KEEP_LINE /!d' -e 's/^.*KEEP_LINE //' > $@.tmp && \
>>        mv $@.tmp $@
>> -->8--
>
> Another thought: maybe $< doesn't work with FreeBSD `make', in which case
> replacing `$<' with `actions.decl.h' and re-generating actions.decl.x
> might fix the issue.

You are correct, $< apparently doesn't work with FreeBSD 'make.' FreeBSD
now builds gschem error-free when gschem/src/Makefile.am contains the
lines shown below. Does the one, remaining $< near the top also need a 
substitution?

------------------------------------------------------------------------
actions.decl.x does indeed exist, but it's empty.
c.x:
	$(AM_V_SNARF)CPP="$(CPP)" $(GUILE_SNARF) -o $@ $< $(snarf_cpp_opts)

actions.decl.x: actions.decl.h actions.c Makefile
	$(AM_V_GEN)$(CPP) -I$(srcdir) -c actions.decl.h | \
	  sed -e '/^.*KEEP_LINE /!d' -e 's/^.*KEEP_LINE //' > $@.tmp && \
	mv $@.tmp $@

actions.init.x: actions.init.c actions.c Makefile
	$(AM_V_GEN)$(CPP) -I$(srcdir) -c actions.init.c | \
	  sed -e '/^.*KEEP_LINE /!d' -e 's/^.*KEEP_LINE //' > $@.tmp && \
	mv $@.tmp $@
------------------------------------------------------------------------

Unfortunately, the binary's linked to an earlier version of libguile.

------------------------------------------------------------------------
# gschem
ld-elf.so.1: Shared object "libguile-2.0.so.22" not found, required by "gschem"
# guile -v
guile (GNU Guile) 2.2.7
Copyright (C) 2020 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root AT babs:~/crc/geda-gaf # ls /usr/local/lib/libguile*
/usr/local/lib/libguile-2.2.a
/usr/local/lib/libguile-2.2.so
/usr/local/lib/libguile-2.2.so.1
/usr/local/lib/libguile-2.2.so.1.4.2
/usr/local/lib/libguile-2.2.so.1.4.2-gdb.scm
------------------------------------------------------------------------

Danke,

-- 
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019