Mail Archives: geda-help/2019/08/05/07:28:11
This is a multi-part message in MIME format.
--------------0680442532543B1F09C09792
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Torben:
I am not seeing the issue.?? Probably because I did not receive
Saturday's message with the attachment.
At this point I cannot tell if you are installing from your distro's
repositories or cloning the github for local compiling.
If compiling locally, there are quite a number of -devel files that must
be installed from your distro's repository before you can start the
build process.
Hope this helps
On 8/5/19 5:43 AM, Torben Friis (friistf AT gmail DOT com) [via
geda-help AT delorie DOT com] wrote:
> Hi Erich and Glen,
>
> I have run the geda:gsch2pcb_tutorial again and I get the same result.
> I have installed gtk2.0 (sudo apt-get install gtk2.0) and have packages:
>
> ii ??gtk-update-ico 3.22.30-1ubu amd64 ?? ?? ?? ??icon theme caching utility
> ii ??gtk2-engines-m 0.98.2-2ubun amd64 ?? ?? ?? ??cairo-based gtk+-2.0
> theme engine
> ii ??gtk2-engines-p 2.24.32-1ubu amd64 ?? ?? ?? ??pixbuf-based theme for
> GTK+ 2.x
> ii ??gtk2.0-example 2.24.32-1ubu amd64 ?? ?? ?? ??example files for GTK+ 2.0
>
> and:
>
> ii ??pcb ?? ?? ?? ?? ?? ??1:4.0.2-4 ?? ??all ?? ?? ?? ?? ??printed circuit board
> (pcb) desig
> ii ??pcb-common ?? ?? 1:4.0.2-4 ?? ??all ?? ?? ?? ?? ??printed circuit board
> (pcb) desig
> ii ??pcb-gtk ?? ?? ?? ??1:4.0.2-4 ?? ??amd64 ?? ?? ?? ??printed circuit board
> (pcb) desig
> ii ??pcb-lesstif ?? ??1:4.0.2-4 ?? ??amd64 ?? ?? ?? ??printed circuit board
> (pcb) desig
>
> The board.pcb file starts:
>
> torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ cat board.pcb
> # release: pcb 1.99x
> # To read pcb files, the pcb version (or the cvs source date) must be
> >= the file version
> FileVersion[20070407]
> PCB["" 600000 500000]
> Grid[10000.000000 0 0 0]
> Cursor[0 0 0.000000]
> PolyArea[200000000.000000]
> Thermal[0.500000]
> DRC[1000 1000 1000 1000 1500 1000]
> Flags("nameonpcb,uniquename,clearnew,snappin")
> Groups("1,c:2:3:4:5:6,s:7:8")
> Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600"]
> Element(0x00 "TO92" "Q201" "2N3904" 0 0 0 100 0x00)
> (
> Pin(250 200 72 42 "1" 0x101)
> .
> .
> .
>
> Can you see anything wrong?
> It's a real mystery.
> best regards
> torben
>
> On Sat, Aug 3, 2019 at 4:46 PM Torben Friis <friistf AT gmail DOT com
> <mailto:friistf AT gmail DOT com>> wrote:
>
> Hi Erich and Glen,
> I have started from scratch (uninstalling - installing gEDA,??
> restarting the computer.) without using sudo and I have installed
> gtk (sudo apt install gtk+3.0) and the result is shown in the
> attached screen dump.
> Same result, but there is something about gtk that I may have
> misunderstood.
> best regards
> torben
>
> On Fri, Aug 2, 2019 at 8:07 AM Glen W. Ruch (gw DOT ruch AT yahoo DOT com
> <mailto:gw DOT ruch AT yahoo DOT com>) [via geda-help AT delorie DOT com
> <mailto:geda-help AT delorie DOT com>] <geda-help AT delorie DOT com
> <mailto:geda-help AT delorie DOT com>> wrote:
>
> P.S.
> You may also want to do a *ls -l *(list -long) to see how many
> files still belong to you and how many belong to root.
>
> You may want to *sudo chown* to move the files back to the
> correct owner.
>
> On my computer there is a difference between the user default
> permissions and root's default permissions.?? You may want to
> correct the permissions with *sudo chmod*
>
> Regards.
>
>
> On 8/1/19 4:34 PM, Glen W. Ruch (gw DOT ruch AT yahoo DOT com
> <mailto:gw DOT ruch AT yahoo DOT com>) [via geda-help AT delorie DOT com
> <mailto:geda-help AT delorie DOT com>] wrote:
>>
>> Torben:
>>
>> You should not have to use /*sudo*/ /*(SuperUser DO) */as
>> this elevates you from your user level (torben) to root user.
>>
>> This may be causing issues where you are saving files as user
>> /*torben*/, but when you become root, root's directory may be
>> checked for the file.
>>
>> sudo is a dangerous tool and is meant to be used for specific
>> uses such as installing software.?? Using it excessively can
>> cause a typo to have catastrophic consequences.?? When your
>> computer is configured correctly you should be able to run
>> /*gschem*/ or /*pcb*/ (etc.) with your own user (torben)
>> level privileges.
>>
>> Hope this helps.
>>
>> On 7/30/19 7:11 AM, Torben Friis (friistf AT gmail DOT com
>> <mailto:friistf AT gmail DOT com>) [via geda-help AT delorie DOT com
>> <mailto:geda-help AT delorie DOT com>] wrote:
>>> Hi,
>>> Is Wilson's tutorial up-to-date? I run:
>>>
>>> torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo gsch2pcb
>>> project
>>>
>>> with 2 resistors and get:
>>> ----------------------------------
>>> Done processing.?? Work performed:
>>> 2 file elements and 0 m4 elements added to board.pcb.
>>>
>>> Next step:
>>> 1.?? Run pcb on your file board.pcb.
>>> ?? ?? You will find all your footprints in a bundle ready
>>> for you to place
>>> ?? ?? or disperse with "Select -> Disperse all elements" in PCB.
>>>
>>> 2.?? From within PCB, select "File -> Load netlist file" and
>>> select
>>> ?? ?? board.net <http://board.net> to load the netlist.
>>>
>>> 3.?? From within PCB, enter
>>>
>>> ?? ?? ?? ?? ?? ??:ExecuteFile(board.cmd)
>>>
>>> ?? ?? to propagate the pin names of all footprints to the
>>> layout.
>>>
>>> I then run:
>>> torben AT torben-Aspire-E5-773G:~/gaf/myproject3$ sudo pcb
>>> board.pcb
>>>
>>> and get:
>>> File 'board.pcb' has no font information, using default font
>>> ??
>>> I then get the rather empty looking screen shown attached.
>>>
>>> I can disperse the components and run the netlist, but when
>>> I run
>>>
>>> sudo :ExecuteFile(board.cmd) (or :ExecuteFile(board.cmd))
>>> ??nothing happens
>>>
>>> Incidentally, when I run:
>>>
>>> sudo gschem one.sch
>>>
>>> the curser moves to the next line. It looks as if some input
>>> is expected. What?
>>>
>>>
>>> Can anyone help?
>>> best regards
>>> torben
>>>
>>>
>>> On Thu, Feb 14, 2019 at 3:04 PM Torben Friis
>>> <friistf AT gmail DOT com <mailto:friistf AT gmail DOT com>> wrote:
>>>
>>> Hi ,
>>> I have been looking fo the above element, but I cannot
>>> find it. I have been looking for .../newlib and found it
>>> in two places, but neither one appeared to provide it.
>>> Is there anywhere else I can look for it?
>>> torben
>>>
--------------0680442532543B1F09C09792
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Torben:<br>
<br>
I am not seeing the issue.?? Probably because I did not receive
Saturday's message with the attachment. <br>
<br>
At this point I cannot tell if you are installing from your
distro's repositories or cloning the github for local compiling.<br>
<br>
If compiling locally, there are quite a number of -devel files
that must be installed from your distro's repository before you
can start the build process.<br>
<br>
Hope this helps<br>
</p>
<div class="moz-cite-prefix">On 8/5/19 5:43 AM, Torben Friis
(<a class="moz-txt-link-abbreviated" href="mailto:friistf AT gmail DOT com">friistf AT gmail DOT com</a>) [via <a class="moz-txt-link-abbreviated" href="mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>] wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMw9acCuBnO-bQQ2JBHGo5twcETkbmuUfd4HceBV1uJdqALdxA AT mail DOT gmail DOT com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Hi
Erich and Glen,<br>
<br>
I have run the geda:gsch2pcb_tutorial again and I get the same
result.<br>
I have installed gtk2.0 (sudo apt-get install gtk2.0) and have
packages:<br>
<br>
ii ??gtk-update-ico 3.22.30-1ubu amd64 ?? ?? ?? ??icon theme
caching utility<br>
ii ??gtk2-engines-m 0.98.2-2ubun amd64 ?? ?? ?? ??cairo-based
gtk+-2.0 theme engine<br>
ii ??gtk2-engines-p 2.24.32-1ubu amd64 ?? ?? ?? ??pixbuf-based
theme for GTK+ 2.x<br>
ii ??gtk2.0-example 2.24.32-1ubu amd64 ?? ?? ?? ??example files for
GTK+ 2.0<br>
<br>
and:<br>
<br>
ii ??pcb ?? ?? ?? ?? ?? ??1:4.0.2-4 ?? ??all ?? ?? ?? ?? ??printed circuit
board (pcb) desig<br>
ii ??pcb-common ?? ?? 1:4.0.2-4 ?? ??all ?? ?? ?? ?? ??printed circuit
board (pcb) desig<br>
ii ??pcb-gtk ?? ?? ?? ??1:4.0.2-4 ?? ??amd64 ?? ?? ?? ??printed circuit
board (pcb) desig<br>
ii ??pcb-lesstif ?? ??1:4.0.2-4 ?? ??amd64 ?? ?? ?? ??printed circuit
board (pcb) desig<br>
<br>
The board.pcb file starts:<br>
<br>
torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ cat board.pcb<br>
# release: pcb 1.99x<br>
# To read pcb files, the pcb version (or the cvs source date)
must be >= the file version<br>
FileVersion[20070407]<br>
PCB["" 600000 500000]<br>
Grid[10000.000000 0 0 0]<br>
Cursor[0 0 0.000000]<br>
PolyArea[200000000.000000]<br>
Thermal[0.500000]<br>
DRC[1000 1000 1000 1000 1500 1000]<br>
Flags("nameonpcb,uniquename,clearnew,snappin")<br>
Groups("1,c:2:3:4:5:6,s:7:8")<br>
Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600"]<br>
Element(0x00 "TO92" "Q201" "2N3904" 0 0 0 100 0x00)<br>
(<br>
Pin(250 200 72 42 "1" 0x101)<br>
.<br>
.<br>
.<br>
<br>
Can you see anything wrong?<br>
It's a real mystery.<br>
best regards<br>
torben<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Aug 3, 2019 at 4:46 PM
Torben Friis <<a href="mailto:friistf AT gmail DOT com"
moz-do-not-send="true">friistf AT gmail DOT com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Hi
Erich and Glen,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">I
have started from scratch (uninstalling - installing
gEDA,?? restarting the computer.) without using sudo and I
have installed gtk (sudo apt install gtk+3.0) and the
result is shown in the attached screen dump.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Same
result, but there is something about gtk that I may have
misunderstood.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">best
regards<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">torben<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Aug 2, 2019 at
8:07 AM Glen W. Ruch (<a href="mailto:gw DOT ruch AT yahoo DOT com"
target="_blank" moz-do-not-send="true">gw DOT ruch AT yahoo DOT com</a>)
[via <a href="mailto:geda-help AT delorie DOT com"
target="_blank" moz-do-not-send="true">geda-help AT delorie DOT com</a>]
<<a href="mailto:geda-help AT delorie DOT com" target="_blank"
moz-do-not-send="true">geda-help AT delorie DOT com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>P.S.<br>
You may also want to do a <b>ls -l </b>(list -long)
to see how many files still belong to you and how many
belong to root.</p>
<p>You may want to <b>sudo chown</b> to move the files
back to the correct owner.</p>
<p>On my computer there is a difference between the user
default permissions and root's default permissions.??
You may want to correct the permissions with <b>sudo
chmod</b><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
<div
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-cite-prefix">On
8/1/19 4:34 PM, Glen W. Ruch (<a
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-txt-link-abbreviated"
href="mailto:gw DOT ruch AT yahoo DOT com" target="_blank"
moz-do-not-send="true">gw DOT ruch AT yahoo DOT com</a>) [via <a
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-txt-link-abbreviated"
href="mailto:geda-help AT delorie DOT com" target="_blank"
moz-do-not-send="true">geda-help AT delorie DOT com</a>]
wrote:<br>
</div>
<blockquote type="cite">
<p>Torben:</p>
<p>You should not have to use <i><b>sudo</b></i> <i><b>(SuperUser
DO) </b></i>as this elevates you from your user
level (torben) to root user. <br>
</p>
<p>This may be causing issues where you are saving
files as user <i><b>torben</b></i>, but when you
become root, root's directory may be checked for the
file.</p>
<p>sudo is a dangerous tool and is meant to be used
for specific uses such as installing software.??
Using it excessively can cause a typo to have
catastrophic consequences.?? When your computer is
configured correctly you should be able to run <i><b>gschem</b></i>
or <i><b>pcb</b></i> (etc.) with your own user
(torben) level privileges.</p>
<p>Hope this helps.<br>
</p>
<div
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-cite-prefix">On
7/30/19 7:11 AM, Torben Friis (<a
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-txt-link-abbreviated"
href="mailto:friistf AT gmail DOT com" target="_blank"
moz-do-not-send="true">friistf AT gmail DOT com</a>) [via
<a
class="gmail-m_6568291093109405877gmail-m_-428759268849965292moz-txt-link-abbreviated"
href="mailto:geda-help AT delorie DOT com"
target="_blank" moz-do-not-send="true">geda-help AT delorie DOT com</a>]
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Hi,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Is
Wilson's tutorial up-to-date? I run:<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">torben AT torben-Aspire-E5-773G:~/gaf/myproject3$
sudo gsch2pcb project</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">
with 2 resistors and get:<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">----------------------------------<br>
Done processing.?? Work performed:<br>
2 file elements and 0 m4 elements added to
board.pcb.<br>
<br>
Next step:<br>
1.?? Run pcb on your file board.pcb.<br>
?? ?? You will find all your footprints in a
bundle ready for you to place<br>
?? ?? or disperse with "Select -> Disperse
all elements" in PCB.<br>
<br>
2.?? From within PCB, select "File -> Load
netlist file" and select <br>
?? ?? <a href="http://board.net"
target="_blank" moz-do-not-send="true">board.net</a>
to load the netlist.<br>
<br>
3.?? From within PCB, enter<br>
<br>
?? ?? ?? ?? ?? ??:ExecuteFile(board.cmd)<br>
<br>
?? ?? to propagate the pin names of all
footprints to the layout.<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">I
then run:<br>
torben AT torben-Aspire-E5-773G:~/gaf/myproject3$
sudo pcb board.pcb<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">and
get:<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">File
'board.pcb' has no font information, using
default font<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">??<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">I
then get the rather empty looking screen shown
attached.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">I
can disperse the components and run the netlist,
but when I run</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">sudo
:ExecuteFile(board.cmd) (or
:ExecuteFile(board.cmd))</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">??nothing
happens</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Incidentally,
when I run:</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">sudo
gschem one.sch</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">the
curser moves to the next line. It looks as if
some input is expected. What?<br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large"><br>
</div>
<div><br>
</div>
<div>
<div
style="font-family:arial,helvetica,sans-serif;font-size:large"
class="gmail_default">Can anyone help?</div>
<div
style="font-family:arial,helvetica,sans-serif;font-size:large"
class="gmail_default">best regards</div>
<div
style="font-family:arial,helvetica,sans-serif;font-size:large"
class="gmail_default">torben</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Feb 14,
2019 at 3:04 PM Torben Friis <<a
href="mailto:friistf AT gmail DOT com"
target="_blank" moz-do-not-send="true">friistf AT gmail DOT com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Hi
,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">I
have been looking fo the above element, but
I cannot find it. I have been looking for
.../newlib and found it in two places, but
neither one appeared to provide it.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">Is
there anywhere else I can look for it?</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:large">torben<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>
--------------0680442532543B1F09C09792--
- Raw text -