X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=2fnn0hC9uFoDiWLHPBVvx3niYfk74jexRI+12HBOFYM=; b=W5KHoWyzlZaEAUha/K4JggWvPz+g1Bqsom1kqEW/ENyK38FeFMHQEwJuzku4oyIu8H 4m+WcEArePZV23hxQZV+6ibzJQr+6j01bqMequ3z/AL72m2cnjsvbV8e9ydL9lgWVYBQ xoiTHdTKC4bh2afK/pYkgj4yPjQQXcI80OKdbgKBbBoN+q2t/KpSEaR142xRpK7lV5lT 9PCzQLnGUcLDGX5Lf30FAHKb4tQbQnv3gme1NoxlXAsWAk4/1KSX0ndBhzVNRaRjpdCw ULHhE6/8/5AnBk+KP6g5Q1uvYsSk2oxGwp4b48PAPrS0HYERo2FfEdIg9TE/ZPy7XnDt RjrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=2fnn0hC9uFoDiWLHPBVvx3niYfk74jexRI+12HBOFYM=; b=rwg/KGuWdP2ChLuJg8W0t13kJIKznGnxYr8Rxemx8xORmwwjt+qXepzq2GjQfuSwDV of9hrNJ0xp7OTKjYNbVJs/6Y+wnI4ZjW4as47O4RIlnsc2arYewm8qfUYUMDSSgjuI5Y h86pW4IoOYyqtLBtmocHEkNwjBGwkltAaVHpY1LyjUmca0jmxi0T7X5DAMm0Tg07heHM UZye1Uu3FAjgkMfSO5hr7cFOszVHqCZltIq4YWp1J0cMPGoHbOA6VMc+yYotuYbEbsF9 JvqAdVidBfCVbHozpAKlvlPFQo0+hE2wlMhiODehyliEbjqHhWneza+7+H4kRsxCDppW x/EA== X-Gm-Message-State: ANhLgQ1GnhVshl2Kl4lU7E8bh+P2TWfBVOqW7X4YW3YMjFwBkXze2mQt +oIcMW1IoAN3qfii65QYPYM+RNhn X-Google-Smtp-Source: ADFU+vsUHUw4qjsUivjAhHf2Mx19xXal8O9KdOr4vgryADKPvuEL3Er/kYtS3FjXo8jTgNkfcH5X/A== X-Received: by 2002:ac2:4110:: with SMTP id b16mr11649951lfi.211.1584926128773; Sun, 22 Mar 2020 18:15:28 -0700 (PDT) Date: Mon, 23 Mar 2020 04:15:25 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" To: geda-help AT delorie DOT com Subject: Re: [geda-help] gsch2pcb Message-ID: <20200323011525.GB1428@newvzh.lokolhoz> Mail-Followup-To: geda-help AT delorie DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Note-from-DJ: This may be spam Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, Mar 22, 2020 at 12:07:19PM +0100, Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > Hi, > I have run a one.sch file through "gsch2pcb -v project" and I get the > messages: > > Reading project file: project > schematics "one.sch" > output-name "board" > Processing PCBLIBPATH="/usr/share/pcb/pcblib-newlib:/usr/share/pcb/newlib" > Running command: > gnetlist -g pcbpins -o board.cmd one.sch > -------- > Loading schematic [/home/torben/gaf/proj2/one.sch] > > -------- > Running command: > gnetlist -g PCB -o board.net one.sch > -------- > Loading schematic [/home/torben/gaf/proj2/one.sch] > > -------- > Default m4-pcbdir: /usr/share/pcb/pcb/m4 > -------- > gnet-gsch2pcb-tmp.scm override file: > (define gsch2pcb:pcb-m4-dir "/usr/share/pcb/pcb/m4") > (define gsch2pcb:use-m4 #t) > Running command: > gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm one.sch > -------- > ===================================================== > gsch2pcb backend configuration: > > ---------------------------------------- > Variables which may be changed in gafrc: > ---------------------------------------- > gsch2pcb:pcb-m4-command: "/usr/bin/m4" > gsch2pcb:pcb-m4-dir: "/usr/share/pcb/pcb/m4" > gsch2pcb:pcb-m4-path: ("$HOME/.pcb" ".") > gsch2pcb:m4-files: "" > > --------------------------------------------------- > Variables which may be changed in the project file: > --------------------------------------------------- > gsch2pcb:use-m4: yes > > ---------------- > M4 command line: > ---------------- > /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I. > /usr/share/pcb/pcb/m4/common.m4 - >> board.pcb > > ===================================================== > Using the m4 processor for pcb footprints > Loading schematic [/home/torben/gaf/proj2/one.sch] > > -------- > Running command: > rm board.pcb.tmp > -------- > > -------- > Running command: > rm board.pcb > -------- > > -------- > No elements found, so nothing to do. > > I am no expert, but everything in the verbose reply looks normal - except > that there are some references to m4 ("/usr/bin/m4" is empty). The > "one.sch" file looks normal (to me) and so does the "project" file. Torben, "m4" is a program which is usually installed at "/usr/bin" in Linux distributions. Have you installed it? Or maybe it has another location on your system? You have to install the PCB program, too, to make something useful with gsch2pcb (or lepton-sch2pcb). -- Vladimir (λ)επτόν EDA — https://github.com/lepton-eda