delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2022/04/16/14:38:00

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 16 Apr 2022 19:36:51 +0100
From: "Chris Green (cl AT isbd DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] Re: Re: Easiest way to convert or print .sch files from gschem?
Message-ID: <YlsMwxn56nH5qpX1@esprimo>
Mail-Followup-To: geda-user AT delorie DOT com
References: <Ylqo2zEYYg2My/uP AT esprimo>
<alpine DOT DEB DOT 2 DOT 22 DOT 394 DOT 2204161444150 DOT 8376 AT yoga>
<YlrBCU1wXtK++mQ2 AT esprimo>
<YlrCMJ5DFFS+Lz9v AT esprimo>
<2C05F95F-4D2C-4BAB-9885-A2FC1A87D0AA AT noqsi DOT com>
<Ylrigwa/3/vIp72W AT esprimo>
<2b218acb-c55a-6c47-a173-c5a87613cec9 AT fastmail DOT com>
MIME-Version: 1.0
In-Reply-To: <2b218acb-c55a-6c47-a173-c5a87613cec9@fastmail.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, Apr 16, 2022 at 10:58:00AM -0700, Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com] wrote:
> 
> On 4/16/22 8:36 AM, Chris Green (cl AT isbd DOT net) [via geda-user AT delorie DOT com]
> wrote:
> > On Sat, Apr 16, 2022 at 10:55:54AM -0400, John Doty wrote:
> > >     On Apr 16, 2022, at 9:18 AM, Chris Green ([1]cl AT isbd DOT net) [via
> > >     [2]geda-user AT delorie DOT com] <[3]geda-user AT delorie DOT com> wrote:
> > > 
> > >     No, that doesn't work.  To compile gschem needs an *older* version of
> > >     Guile than I have installed:-
> > > 
> > >     Have you tried lepton-eda? It’s compatible with gEDA schematic files.
> > >     lepton-export can convert schematics to pdf, png, ps, or eps.
> > > 
> > Yes, installed from the Ubuntu repositories and it dies:-
> > 
> >      chris$ lepton-schematic hatzDiesel.sch
> >      ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> >      ;;;       or pass the --no-auto-compile argument to disable.
> >      ;;; compiling /usr/bin/lepton-schematic
> >      ;;; compiling /usr/share/lepton-eda/scheme/lepton/srfi-37.scm
> >      ;;; compiling /usr/share/lepton-eda/scheme/lepton/core/gettext.scm
> > ;;; compiled /home/chris/.cache/guile/ccache/3.0-LE-8-4.4/usr/share/lepton-eda/scheme/lepton/core/gettext.scm.go 
> 
> > ;;; compiled /home/chris/.cache/guile/ccache/3.0-LE-8-4.4/usr/share/lepton-eda/scheme/lepton/srfi-37.scm.go 
> 
> >      ;;; compiling /usr/share/lepton-eda/scheme/lepton/ffi.scm
> > ;;; compiled /home/chris/.cache/guile/ccache/3.0-LE-8-4.4/usr/share/lepton-eda/scheme/lepton/ffi.scm.go 
> 
> >      ;;; WARNING: compilation of /usr/bin/lepton-schematic failed:
> >      ;;; In procedure dynamic-link: file: "libglib-2.0", message: "file not found"
> >      Backtrace:
> >                 3 (primitive-load "/usr/bin/lepton-schematic")
> >      In ice-9/eval.scm:
> >         187:27  2 (_ _)
> >         223:20  1 (proc #<directory (guile-user) 7fe3149d7c80>)
> >      In unknown file:
> >                 0 (%resolve-variable (7 . liblepton_init) #<directory (gu…>)
> > 
> >      ERROR: In procedure %resolve-variable:
> >      Unbound variable: liblepton_init
> >      chris$ lepton-schematic --no-auto-compile hatzDiesel.sch
> >      ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> >      ;;;       or pass the --no-auto-compile argument to disable.
> >      ;;; compiling /usr/bin/lepton-schematic
> >      ;;; WARNING: compilation of /usr/bin/lepton-schematic failed:
> >      ;;; In procedure dynamic-link: file: "libglib-2.0", message: "file not found"
> >      Backtrace:
> >                 3 (primitive-load "/usr/bin/lepton-schematic")
> >      In ice-9/eval.scm:
> >         187:27  2 (_ _)
> >         223:20  1 (proc #<directory (guile-user) 7fdd6462cc80>)
> >      In unknown file:
> >                 0 (%resolve-variable (7 . liblepton_init) #<directory (gu…>)
> > 
> >      ERROR: In procedure %resolve-variable:
> >      Unbound variable: liblepton_init
> >      chris$
> > 
> Chris,
> 
> Actually, all you need is the "gaf" command-line utility, not the full
> gschem, if that is possible to install separately. It comes with gEDA. "gaf
> export" can convert an sch file to a PostScript file for printing. Lots of
> gaf arguments to configure the output, so read the manpage. I use it in a
> script to convert to PostScript and then use pstoedit to convert that to DXF
> for QCAD input.
> 
Yes, exactly, but there doesn't seem to be any way to install bits of
geda.

-- 
Chris Green

- Raw text -


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