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=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=BeNCn1dk0Cws6LvRq+QT9ORnUNDuQnWUqYkzxEk/NUE=; b=Tw5eRyvkTppewYvt9ckHDfh327HKr+noj/zp8JfySJTnwyXREiA4JLU2tEzTPgNdxR mtqux4NJp2eY/EV/FM9wZZSd+8j6wkyJFO+HP0eT/ylg8Ar035eEbsIUjAWDFEOTVSX5 A/RbycNihNeRkFLRs825snr2kCBT91RZi/ZdGjYYeNltvBot5fI7U78NunbCQ54AN62B XMx/yjCIPP4rFbGTW2Ne40obkDrp2K3Jmf7g6Di+1I7gwtYl6WgfW0e4JcuK2JiVSI0o YhhtxldwgAYLy94OrD3cxU79PP8qbSOh9KB4fILd3bj9DHwTvGwQ/oT6Agp8tXCb62MJ y76Q== 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; bh=BeNCn1dk0Cws6LvRq+QT9ORnUNDuQnWUqYkzxEk/NUE=; b=ZrRJyMgQ2YpCd6Tn+9kWANRALiGjDQFPY2yImVcIvFA+jGcQu1P7kmQAJiL+noPeWi 1fylTpZWGMFa/j4H1SgYMOLpCNhBGsoRYNnTJ+OEdyI2s5PLyKKWRHjTv4TCb/iP3HIx 7Aegh+CryGL+4kzWwvmxs4ocuuYMRoAVcf90X7tLK1FkePrH+VZ5QJt48MGxMofQs5yT VJwoVPdVFQYeXPodBTFVehuBwdUBbsOjIbq4CMkfD/SRujgbUNel6XdV81f/3Tkt5nor vHkIBR6l+4UXnJzm3Gr8SbmhRihay8qtmBSvQXBRcMxUJudk/GXSGSe0ojGrfLRjcF+m sQaw== X-Gm-Message-State: ANhLgQ1JH6GKhaXFOhClfAMaJ6FVRY0fkQA3Tp3gsI6xjLJgVmKQtBnq FP8FNd96JDG33wZQe4KGsLmeDWIDiE1xUAPcfRDo0VBg X-Google-Smtp-Source: ADFU+vtbjKnCrnDBytOWe8M321boGJlhxu0qdpkuAipV8cB845oa16VEI+w2O7EAjSTLCuuRzOS/3is5zUJEZRiPBLc= X-Received: by 2002:a2e:978d:: with SMTP id y13mr13031997lji.293.1584952545523; Mon, 23 Mar 2020 01:35:45 -0700 (PDT) MIME-Version: 1.0 References: <20200323011525 DOT GB1428 AT newvzh DOT lokolhoz> In-Reply-To: <20200323011525.GB1428@newvzh.lokolhoz> From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Mon, 23 Mar 2020 09:35:34 +0100 Message-ID: Subject: Re: [geda-help] gsch2pcb To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000763aed05a18185a5" Reply-To: geda-help AT delorie DOT com --000000000000763aed05a18185a5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Vladimir, That worked. Thank you very much. torben On Mon, Mar 23, 2020 at 2:41 AM Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > 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=3D"/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 > > -------- > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > 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 > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > 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 - exce= pt > > 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 > > (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/l= epton-eda > --000000000000763aed05a18185a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Vladimir,
Th= at worked.
Thank you very much.
torben

On Mon, Mar 23, 2020 at 2:41 AM Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
On Sun, Mar 22, 2020 at 12:0= 7: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
>=C2=A0 =C2=A0 =C2=A0schematics "one.sch"
>=C2=A0 =C2=A0 =C2=A0output-name "board"
> Processing PCBLIBPATH=3D"/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:
>=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:pcb-m4-dir "/usr/share/pcb/pc= b/m4")
>=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:use-m4 #t)
> Running command:
> gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm one.sch
> --------
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
> gsch2pcb backend configuration:
>
>=C2=A0 =C2=A0 ----------------------------------------
>=C2=A0 =C2=A0 Variables which may be changed in gafrc:
>=C2=A0 =C2=A0 ----------------------------------------
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-command:=C2=A0 =C2=A0 "/usr/bin/m4&q= uot;
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-dir:=C2=A0 =C2=A0 =C2=A0 =C2=A0 "/us= r/share/pcb/pcb/m4"
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-path:=C2=A0 =C2=A0 =C2=A0 =C2=A0("$H= OME/.pcb" ".")
>=C2=A0 =C2=A0 gsch2pcb:m4-files:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo= t;"
>
>=C2=A0 =C2=A0 ---------------------------------------------------
>=C2=A0 =C2=A0 Variables which may be changed in the project file:
>=C2=A0 =C2=A0 ---------------------------------------------------
>=C2=A0 =C2=A0 gsch2pcb:use-m4:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= yes
>
>=C2=A0 =C2=A0 ----------------
>=C2=A0 =C2=A0 M4 command line:
>=C2=A0 =C2=A0 ----------------
>=C2=A0 =C2=A0 /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I. > /usr/share/pcb/pcb/m4/common.m4=C2=A0 - >> board.pcb
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
> 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 - exc= ept
> that there are some references to=C2=A0 m4 ("/usr/bin/m4" is= empty). The
> "one.sch" file looks normal (to me) and so does the "pr= oject" file.

Torben,

"m4" is a program which is usually installed at "/usr/bin&qu= ot; in
Linux distributions.=C2=A0 Have you installed it?=C2=A0 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).

--
=C2=A0 Vladimir

(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com= /lepton-eda
--000000000000763aed05a18185a5--