www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2020/03/23/04:51:59

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: <CAMw9acDF7LA+jL_JNw-6BcN8jOP4jrb_iK3EG44Gt4+JB6UX7A AT mail DOT gmail DOT com>
<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]" <geda-help AT delorie DOT com>
Date: Mon, 23 Mar 2020 09:35:34 +0100
Message-ID: <CAMw9acAXKBRF1poVdOu=Rz3+YT3fZ5Nw1C-yMZ6j8bidgiEp4w@mail.gmail.com>
Subject: Re: [geda-help] gsch2pcb
To: geda-help AT delorie DOT com
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] <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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif;font-size:large">Hi Vladimir,</div><div class=3D"gmail_d=
efault" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">Th=
at worked.</div><div class=3D"gmail_default" style=3D"font-family:arial,hel=
vetica,sans-serif;font-size:large">Thank you very much.</div><div class=3D"=
gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:la=
rge">torben<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Mar 23, 2020 at 2:41 AM Vladimir Zhbanov (<a h=
ref=3D"mailto:vzhbanov AT gmail DOT com">vzhbanov AT gmail DOT com</a>) [via <a href=3D"m=
ailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>] &lt;<a href=3D"mail=
to:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Mar 22, 2020 at 12:0=
7:19PM +0100, Torben Friis (<a href=3D"mailto:friistf AT gmail DOT com" target=3D"=
_blank">friistf AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com=
" target=3D"_blank">geda-help AT delorie DOT com</a>] wrote:<br>
&gt; Hi,<br>
&gt; I have run a one.sch file through &quot;gsch2pcb -v project&quot; and =
I get the<br>
&gt; messages:<br>
&gt; <br>
&gt; Reading project file: project<br>
&gt;=C2=A0 =C2=A0 =C2=A0schematics &quot;one.sch&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0output-name &quot;board&quot;<br>
&gt; Processing PCBLIBPATH=3D&quot;/usr/share/pcb/pcblib-newlib:/usr/share/=
pcb/newlib&quot;<br>
&gt; Running command:<br>
&gt; gnetlist -g pcbpins -o board.cmd one.sch<br>
&gt; --------<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; gnetlist -g PCB -o <a href=3D"http://board.net" rel=3D"noreferrer" tar=
get=3D"_blank">board.net</a> one.sch<br>
&gt; --------<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Default m4-pcbdir: /usr/share/pcb/pcb/m4<br>
&gt; --------<br>
&gt; gnet-gsch2pcb-tmp.scm override file:<br>
&gt;=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:pcb-m4-dir &quot;/usr/share/pcb/pc=
b/m4&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:use-m4 #t)<br>
&gt; Running command:<br>
&gt; gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm one.sch<br>
&gt; --------<br>
&gt; =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<br>
&gt; gsch2pcb backend configuration:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ----------------------------------------<br>
&gt;=C2=A0 =C2=A0 Variables which may be changed in gafrc:<br>
&gt;=C2=A0 =C2=A0 ----------------------------------------<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-command:=C2=A0 =C2=A0 &quot;/usr/bin/m4&q=
uot;<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-dir:=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;/us=
r/share/pcb/pcb/m4&quot;<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-path:=C2=A0 =C2=A0 =C2=A0 =C2=A0(&quot;$H=
OME/.pcb&quot; &quot;.&quot;)<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:m4-files:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo=
t;&quot;<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ---------------------------------------------------<br>
&gt;=C2=A0 =C2=A0 Variables which may be changed in the project file:<br>
&gt;=C2=A0 =C2=A0 ---------------------------------------------------<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:use-m4:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 yes<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ----------------<br>
&gt;=C2=A0 =C2=A0 M4 command line:<br>
&gt;=C2=A0 =C2=A0 ----------------<br>
&gt;=C2=A0 =C2=A0 /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I.<b=
r>
&gt; /usr/share/pcb/pcb/m4/common.m4=C2=A0 - &gt;&gt; board.pcb<br>
&gt; <br>
&gt; =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<br>
&gt; Using the m4 processor for pcb footprints<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; rm board.pcb.tmp<br>
&gt; --------<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; rm board.pcb<br>
&gt; --------<br>
&gt; <br>
&gt; --------<br>
&gt; No elements found, so nothing to do.<br>
&gt; <br>
&gt; I am no expert, but everything in the verbose reply looks normal - exc=
ept<br>
&gt; that there are some references to=C2=A0 m4 (&quot;/usr/bin/m4&quot; is=
 empty). The<br>
&gt; &quot;one.sch&quot; file looks normal (to me) and so does the &quot;pr=
oject&quot; file.<br>
<br>
Torben,<br>
<br>
&quot;m4&quot; is a program which is usually installed at &quot;/usr/bin&qu=
ot; in<br>
Linux distributions.=C2=A0 Have you installed it?=C2=A0 Or maybe it has<br>
another location on your system? You have to install the PCB<br>
program, too, to make something useful with gsch2pcb (or<br>
lepton-sch2pcb).<br>
<br>
-- <br>
=C2=A0 Vladimir<br>
<br>
(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 <a href=3D"https://git=
hub.com/lepton-eda" rel=3D"noreferrer" target=3D"_blank">https://github.com=
/lepton-eda</a><br>
</blockquote></div>

--000000000000763aed05a18185a5--

- Raw text -


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