Mail Archives: geda-user/2024/12/31/08:22:53
This is a multi-part message in MIME format.
--------------5zYhcI90QNTx5Vk0bicy3Jgu
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
OK, simply renaming symlinks doesn't work -- which is not completely
unexpected.
I think I'll have to dig deeper into lepton and see if I can find any
information about how to make it play nice with pcb.
Op 31-12-2024 om 13:03 schreef Richard Rasker:
>
> I did some more digging, and I noticed that gnet-pcbfwd.scm contains
> references to gnetlist. On the crashed system, gnetlist was installed
> in /usr/local/bin, together with a lot of other gEDA stuff:
>
> ~/root_backup/usr/local/bin$ ls
> *gafgarchivegattribgnetlistgnetlist-legacygrenumgsch2pcbgschemgschlasgsymcheckgsymfixgxyrsMerge_dimPCBPSMergePCBPSpcbpcb_backannotaterefdes_renumschdifftragesymxorn
> *
>
> In the new installation, I located many of these files in /usr/bin,
> now with a 'lepton-' prefix:
>
> $ cd /usr/bin
> $ ls lepton*
> lepton-archivelepton-clilepton-embedlepton-netlistlepton-refdes_renumlepton-schdifflepton-shelllepton-symfixlepton-upcfg
> lepton-attriblepton-configlepton-exportlepton-pcb_backannotatelepton-sch2pcblepton-schematiclepton-symchecklepton-tragesymlepton-update
>
> Now if these differently named files are indeed the problem, the
> question is how I can fix this in the cleanest way possible.
>
> I'm tempted to create symlinks with the 'old' names (in most cases
> simply replacing 'lepton-' with 'g'), but that feels rather messy, and
> it may also fail when these newer scripts are not compatible with
> calls from this slightly older pcb version. Would perhaps a newer pcb
> version find these lepton files automatically? Then I think the best
> way forward is to build it from source.
>
> Anyway, I think I'll try the renamed symlinks first, as they can be
> easily removed again, and then see what I can find wrt. pcb versions.
>
> Regards,
>
> Richard
>
>
> Op 30-12-2024 om 19:47 schreef Richard Rasker:
>> Op 30-12-2024 om 18:37 schreef DJ Delorie (dj AT delorie DOT com) [via
>> geda-user AT delorie DOT com]:
>>> You need to find the gnet-pcbfwd.scm from the pcb package (wherever it's
>>> installed) and at least symlink it from the share/gEDA/scheme/ directory
>>> where lepton put all its gnet-*.scm files
>>
>> OK:
>>
>> $ locate gnet-pcbfwd.scm
>> /usr/share/gEDA/scheme/gnet-pcbfwd.scm
>>
>> $ locate gnet- | grep lepton
>> /usr/share/lepton-eda/scheme/backend/gnet-PCB.scm
>> [...]
>> /usr/share/lepton-eda/scheme/backend/gnet-vipec.scm
>>
>> $ cd /usr/share/lepton-eda/scheme/backend/
>> $ sudo ln -s /usr/share/gEDA/scheme/gnet-pcbfwd.scm
>>
>> But alas, no go, same error as before (Could not open action file
>> "/tmp/pcb.XXRMf2PY/gnetlist_output").
>>
>> As expected, physically copying the file to /usr/gEDA/share also does
>> not make a difference.
>>
>> FWIW, version information, pcb:
>>
>> This is PCB, an interactive printed circuit board editor
>> version 4.2.2
>> Compiled on Aug 17 2021 at 02:34:03
>> by harry eaton
>>
>> Lepton:
>>
>> Lepton-schematic 1.9.18 (git: d24967d)
>>
>> Is there any other information that might be helpful?
>>
>> Anyway, thank you for the quick reply - and I hope that a solution
>> can be found, because this functionality is rather important to me
>> ... If needed, I can of course also build pcb and an older gschem
>> version, but that's quite a hassle too because of all the
>> dependencies and development packages that need to be installed.
>>
>> Thanks again,
>>
>> Richard
>>
> Met vriendelijke groeten,
>
> Richard Rasker
> --
> Linetec
> Akkerstafhof 15
> 7544SP Enschede
> 053-4350834
> http://www.linetec.nl/
Met vriendelijke groeten,
Richard Rasker
--
Linetec
Akkerstafhof 15
7544SP Enschede
053-4350834
http://www.linetec.nl/
--------------5zYhcI90QNTx5Vk0bicy3Jgu
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>OK, simply renaming symlinks doesn't work -- which is not
completely unexpected.</p>
<p>I think I'll have to dig deeper into lepton and see if I can find
any information about how to make it play nice with pcb.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Op 31-12-2024 om 13:03 schreef Richard
Rasker:<br>
</div>
<blockquote type="cite"
cite="mid:63a5b652-92d5-43c1-8242-b87257364edc AT linetec DOT nl">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>I did some more digging, and I noticed that gnet-pcbfwd.scm
contains references to gnetlist. On the crashed system, gnetlist
was installed in /usr/local/bin, together with a lot of other
gEDA stuff:</p>
<p><span style="font-family:monospace"><span
style="background-color: rgb(255, 255, 255);">~/root_backup/usr/local/bin</span><span
style="background-color: rgb(255, 255, 255);">$ ls </span><br>
<b><span style="background-color: rgb(255, 255, 255);">gaf</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">garchive</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gattrib</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gnetlist</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gnetlist-legacy</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">grenum</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gsch2pcb</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gschem</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gschlas</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gsymcheck</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gsymfix</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">gxyrs</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">Merge_dimPCBPS</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">MergePCBPS</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">pcb</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">pcb_backannotate</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">refdes_renum</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">schdiff</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">tragesym</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="background-color: rgb(255, 255, 255);">xorn</span><br>
</b></span></p>
<p>In the new installation, I located many of these files in
/usr/bin, now with a 'lepton-' prefix:</p>
<p><span style="font-family:monospace"><span
style="background-color: rgb(255, 255, 255);">$ cd /usr/bin<br>
</span></span><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ ls lepton*
</span><span style="background-color: rgb(255, 255, 255);"></span><br>
<span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-archive</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-cli</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-embed</span><span
style="background-color: rgb(255, 255, 255);"> Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-netlist</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â Â Â Â Â Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-refdes_renum</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-schdiff</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-shell</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-symfix</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-upcfg</span><span
style="background-color: rgb(255, 255, 255);"> </span><br>
<span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-attrib</span><span
style="background-color: rgb(255, 255, 255);"> Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-config</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-export</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-pcb_backannotate</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-sch2pcb</span><span
style="background-color: rgb(255, 255, 255);"> Â Â Â Â Â Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-schematic</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-symcheck</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-tragesym</span><span
style="background-color: rgb(255, 255, 255);"> Â </span><span
style="font-weight: bold; background-color: rgb(255, 255, 255);">lepton-update</span><br>
</span></p>
<p>Now if these differently named files are indeed the problem,
the question is how I can fix this in the cleanest way possible.</p>
<p>I'm tempted to create symlinks with the 'old' names (in most
cases simply replacing 'lepton-' with 'g'), but that feels
rather messy, and it may also fail when these newer scripts are
not compatible with calls from this slightly older pcb version.
Would perhaps a newer pcb version find these lepton files
automatically? Then I think the best way forward is to build it
from source.<br>
</p>
<p>Anyway, I think I'll try the renamed symlinks first, as they
can be easily removed again, and then see what I can find wrt.
pcb versions.<br>
</p>
<p>Regards,</p>
<p>Richard<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Op 30-12-2024 om 19:47 schreef
Richard Rasker:<br>
</div>
<blockquote type="cite"
cite="mid:08a6ccd6-2543-4d41-a34f-42495341db50 AT linetec DOT nl">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Op 30-12-2024 om 18:37 schreef DJ
Delorie (<a
class="moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:dj AT delorie DOT com" moz-do-not-send="true">dj AT delorie DOT com</a>)
[via <a
class="moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:geda-user AT delorie DOT com" moz-do-not-send="true">geda-user AT delorie DOT com</a>]:<br>
</div>
<blockquote type="cite"
cite="mid:xnwmfh137v DOT fsf AT envy DOT delorie DOT com">
<pre wrap="" class="moz-quote-pre">You need to find the gnet-pcbfwd.scm from the pcb package (wherever it's
installed) and at least symlink it from the share/gEDA/scheme/ directory
where lepton put all its gnet-*.scm files</pre>
</blockquote>
<p>OK:</p>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ locate
gnet-pcbfwd.scm</span><br>
/usr/share/gEDA/scheme/gnet-pcbfwd.scm<br>
</span><br>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ locate
gnet- | grep lepton </span></span><br>
<span style="font-family:monospace">/usr/share/<span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">lepton</span><span
style="color:#000000;background-color:#ffffff;">-eda/scheme/backend/gnet-PCB.scm
</span></span><br>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">[...]</span></span><br>
<span style="font-family:monospace">/usr/share/<span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">lepton</span><span
style="color:#000000;background-color:#ffffff;">-eda/scheme/backend/gnet-vipec.scm</span></span><br>
<br>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ cd
/usr/share/lepton-eda/scheme/backend/</span></span><br>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"></span></span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ sudo ln -s
/usr/share/gEDA/scheme/gnet-pcbfwd.scm</span></span>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"></span></span>But
alas, no go, same error as before (<font face="monospace">Could
not open action file <span
style="color:#000000;background-color:#ffffff;">"/tmp/pcb.XXRMf2PY/gnetlist_output"</span></font><span
style="color:#000000;background-color:#ffffff;">).</span></p>
<p><span style="color:#000000;background-color:#ffffff;">As
expected, physically copying the file to /usr/gEDA/share
also does not make a difference.<br>
</span></p>
<p><span style="color:#000000;background-color:#ffffff;">FWIW,
version information, pcb:</span></p>
<blockquote>
<p><span style="color:#000000;background-color:#ffffff;">This
is PCB, an interactive printed circuit board editor<br>
version 4.2.2<br>
Compiled on Aug 17 2021 at 02:34:03<br>
by harry eaton<br>
</span></p>
</blockquote>
<p><span style="color:#000000;background-color:#ffffff;">Lepton:</span></p>
<blockquote>
<p><span style="color:#000000;background-color:#ffffff;">Lepton-schematic
1.9.18 (git: d24967d)<br>
</span></p>
</blockquote>
<p><span style="color:#000000;background-color:#ffffff;">Is
there any other information that might be helpful?</span></p>
<p><span style="color:#000000;background-color:#ffffff;">Anyway,
thank you for the quick reply - and I hope that a solution
can be found, because this functionality is rather important
to me ... If needed, I can of course also build pcb and an
older gschem version, but that's quite a hassle too because
of all the dependencies and development packages that need
to be installed.</span></p>
<p><span style="color:#000000;background-color:#ffffff;">Thanks
again,</span></p>
<p><span style="color:#000000;background-color:#ffffff;">Richard<br>
</span></p>
</blockquote>
<pre class="moz-signature" cols="72">Met vriendelijke groeten,
Richard Rasker
--
Linetec
Akkerstafhof 15
7544SP Enschede
053-4350834
<a class="moz-txt-link-freetext" href="http://www.linetec.nl/"
moz-do-not-send="true">http://www.linetec.nl/</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">Met vriendelijke groeten,
Richard Rasker
--
Linetec
Akkerstafhof 15
7544SP Enschede
053-4350834
<a class="moz-txt-link-freetext" href="http://www.linetec.nl/">http://www.linetec.nl/</a></pre>
</body>
</html>
--------------5zYhcI90QNTx5Vk0bicy3Jgu--
- Raw text -