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]" To: geda-user AT delorie DOT com Subject: [geda-user] Re: Re: Easiest way to convert or print .sch files from gschem? Message-ID: Mail-Followup-To: geda-user AT delorie DOT com References: <2C05F95F-4D2C-4BAB-9885-A2FC1A87D0AA AT noqsi DOT com> <2b218acb-c55a-6c47-a173-c5a87613cec9 AT fastmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 Precedence: bulk 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 #) > > In unknown file: > > 0 (%resolve-variable (7 . liblepton_init) #) > > > > 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 #) > > In unknown file: > > 0 (%resolve-variable (7 . liblepton_init) #) > > > > 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