www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2019/04/05/17:45:37

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=2u80gQpjzXEv8vJmdKzDIdbhPPXFaXiQ79/4MnO8xiM=;
b=ODdDAppkk/zpBJMtrPpnsbh7UrMi/ozHfkqNU1Ujl5KY0xCNp9ZpLKyTWKdAXqsgPo
PoLy8qSjsmLSI0lk04zGUIvKIN8HqtKDhPAjtKlsbX5UJ51scLWs5t6ytcpmVNbemsxf
f8NhGAe3Z1zjwKTmqo2KdR5xMkDpTuQMsrXtFGwFcDJ0TWafmIjI1za+OZ7vvGTU+Nvg
hL7N78Uz0OqcvrgSom2p4EfcRSIBwE9i8czaWQYJxSj7BRUh5NnRlJlTWiAtRJ6JGYJK
FlZHj8M6jp/EUUwF/cN1J+Yj9w8u+R1FoqYfQ0V5p8p5ikwm+Hi6RG+3b9iRpSu8TBSC
e6cg==
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=2u80gQpjzXEv8vJmdKzDIdbhPPXFaXiQ79/4MnO8xiM=;
b=Xxp9ihK+NkdPYK4zchMgC9Yw5exA4rsgb7L+v6q/iekrpduCdfcwe2DlDGGM8hx+Cx
pzz0vD8bTw+6GLF+YXUTAPouULLgogVy/U69ij6vUL0iH6/DboB062SlceJPw5fnoDMI
bGSthFes3GdA6e0UT+xEL5mwE8cZySCzgRyApv5NY7VzEzPJLw5AKzOKZP17FFLqxW6z
UR0qTdc/6Aav/YhvXF/WYMkZ6mKwfLTq9Yapa6wPKhFLOHmieZjPzimntPP09beAxs6g
43DKtbDPxCniEESp2xkdo3XqKzR15MFdrIS8Frv8Oq8X3O9voJoatm157Mb37MmORnfn
Imzw==
X-Gm-Message-State: APjAAAU6l05i68L4L90JvgARlTTkfZWboEQZ0fevVqL2fDIcqlvZsnt2
SwNPOqAEYRPLFi2zRAa1jOtsy5kYWJYtK+VFVwhYe3X0
X-Google-Smtp-Source: APXvYqypzsO7TN8ac40Ybl3sivskPa6maGdFI3rmbMNmGYfMc6ZtaunyaTBRFJB5dooGBLusUwLWOm8xXGAQGhgLzPk=
X-Received: by 2002:a02:5f5b:: with SMTP id r88mr11594297jab.22.1554500727718;
Fri, 05 Apr 2019 14:45:27 -0700 (PDT)
MIME-Version: 1.0
References: <CAHsNvaAZKmisCbEhkFtqDo_vN7yvPjHvMiz919fgbLb+PLJP-A AT mail DOT gmail DOT com>
<xn7ec95yg9 DOT fsf AT envy DOT delorie DOT com> <CAHsNvaBWdhC3x1iuVZRHhAU9f_TLRp0dvX+_Psh+=v1nZaw6iw AT mail DOT gmail DOT com>
<CAJZxidAY_kofsvbQBkdtLPKDABD-xF2NYC2mf0boWKqYeZt2Ug AT mail DOT gmail DOT com>
<CAHsNvaA4hjxV8MkQc2DoRGjAwhss2S3NvQcWAf8-v7Dz=TVyMw AT mail DOT gmail DOT com>
<20190405101514 DOT 248c097c AT demon> <CAHsNvaCgQr-tRvAsdkB-HJGBbASA7yEeK4py5uTnhRGR_u-+aA AT mail DOT gmail DOT com>
<20190405174234 DOT bdp4xx7ujvuo7dhd AT newvzh DOT lokolhoz>
In-Reply-To: <20190405174234.bdp4xx7ujvuo7dhd@newvzh.lokolhoz>
From: "Graham S (graham DOT seale AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Fri, 5 Apr 2019 22:45:15 +0100
Message-ID: <CAHsNvaDdoRXDnPxNs9WO=UfFC9_NPmf44HSPNR8TOdM57Nz7sQ@mail.gmail.com>
Subject: Re: Debian package dependencies (was [geda-help] PCB and resizing via holes?)
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--000000000000adc9aa0585cf673a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Vladimir
Thank you for the help. I have now had some success, but it would have gone
better if I had taken care of the dependencies first, instead of having
repeated adventures with ./configure.

I will likely be having to check more dependencies soon because, it seems,
if I am going to have a PCB, and gEDA suite that is more recent than 5
years old, then I have to fetch the latest stable versions, check
dependencies first, and then install.

With the kind help from Dmitry, I did succeed in getting past the stumbles
over dependencies in ./configure, and do #make install, and it (mostly)
worked!

After launching pcb, the output from Window =3D> About now reads..
-------------------------------------------------------
This is PCB, an interactive
printed circuit board editor
version v4.2.0-gb2bcf627

Compiled on Apr  5 2019 at 21:38:12

by harry eaton
--------------------------------------------------------

Note:
At the very end of the *# make install*, I did see some messages about texi=
.
-------------------------------------------------------
pcb.texi:2791: @include: could not find options.texi
pcb.texi:4656: @include: could not find pcbfile.texi
pcb.texi:5870: @include: could not find wire_size.texi
pcb.texi:5873: @include: could not find letter_size.texi
pcb.texi:5876: @include: could not find fractional_size.texi
pcb.texi:5879: @include: could not find metric_size.texi
pcb.texi:6018: @include: could not find actions.texi
pcb.texi:5961: @ref reference to nonexistent node `Renumber Action'
pcb.texi:4335: @menu reference to nonexistent node `Object Flags'
pcb.texi:4336: @menu reference to nonexistent node `PCBFlags'
Makefile:602: recipe for target 'pcb.info' failed
make[2]: *** [pcb.info] Error 1
make[2]: Leaving directory '/home/graham/Downloads/PCB-gEDA/doc'
Makefile:892: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/graham/Downloads/PCB-gEDA/doc'
Makefile:537: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
---------------------------------------------------------------------------=
----------------------------
I do not know how essential this texi is, and I am guessing that 'Object
Flags' and 'PCBFlags' sound kind of important!
It did not prevent PCB from launching.

I attempted to remove the old 2014 version of pcb, which lives in
/usr/share/pcb.
When I tried, the message said it was going to remove geda-xgsch2pcb as
well!

At this point I remember that very likely the whole rest of the geda suite
has somewhat been left behind.
I have all of them installed- like geda-gschem, and geda-gattrib, and
geda-symbols, and more.
Several install via the geda metapackage in the Ubuntu repository.
All are at version 1:1.8.2-5, very likely also 5 years old!

Clearly I have to do something about that.
I am shortly to upgrade the whole distro, and be using some new SSD
hardware.
I expect that even after upgrade to the latest Linux Mint 19.1, the Ubuntu
repository it uses will probably still be distributing gEDA and pcb
versions somewhat from the past.
If I want it to be at the latest stable version, then it has to be done
this way.

Thank you all again for your kind assistance
My regards
Graham

On Fri, 5 Apr 2019 at 18:46, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via
geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:

> On Fri, Apr 05, 2019 at 04:28:55PM +0100, Graham S (graham DOT seale AT gmail DOT co=
m)
> [via geda-help AT delorie DOT com] wrote:
> > Hello Dmitry and Chad
> >
> > Firstly, thank you for your help on PCB
> > We have now gone considerable further in getting through ./configure.
> >
> > I tried the $ ./configure --disable-dbus, and it worked, until the next
> > stumble over OpenGL
> > This confused me because I have other applications which used OpenGL.
> > Anyway, I installed GLX-related likely looking programs mentioning Open=
GL
> > until it worked.
> >
> > Now the script stops at..
> > ------------------------------------------------------
> >  checking for GTK... no
> > configure: error: Cannot find gtk+ >=3D 2.18.0, install it and rerun
> > ./configure
> > Please review the following errors:
> > No package 'gtk+-2.0' found
> > ------------------------------------------------------
> > Again confusing to me, because the whole system is GTK and I checked in
> > Synaptic to see it already installed ..
> > gtk2-engines   version =3D> 1.2.20.2-3ubuntu1     "Theme engines for GT=
K+
> 2.x"
> >
> > Do we disable the check for gtk+-2.0 as well?
> >
> > Regards
> > Graham
>
> On Debian, development packages have the "-dev" suffix. You can
> search for them using info on your previously installed version of
> pcb, e.g. as follows:
>
> ~ $ apt-cache depends pcb
> pcb
>  |Depends: pcb-gtk
>   Depends: pcb-lesstif
>   Depends: pcb-common
>
> pcb is a metapackage, so this info is not very much
> informative. Let's try then:
>
> ~ $ apt-cache depends pcb-gtk
> pcb-gtk
>   Depends: libc6
>   Depends: libcairo2
>   Depends: libdbus-1-3
>   Depends: libgd3
>   Depends: libgdk-pixbuf2.0-0
>   Depends: libgl1
>   Depends: libglib2.0-0
>  |Depends: libglu1-mesa
>   Depends: <libglu1>
>     libglu1-mesa
>   Depends: libgtk2.0-0
>   Depends: libgtkglext1
>   Depends: pcb-common
>
> All the "lib*" packages mentioned here have appropriate
> "development" relatives. You can search them by name.
>
> ~ $ apt-cache search libgtkglext1
> libgtkglext1 - OpenGL Extension to GTK+ (shared libraries)
> libgtkglext1-dbg - OpenGL Extension to GTK+ (debugging symbols)
> libgtkglext1-dev - OpenGL Extension to GTK+ (development files)
> libgtkglext1-doc - OpenGL Extension to GTK+ (documentation)
>
> Here you can see that for having opengl you have to install
> 'libgtkglext1-dev'. The same you can do for other libs.
>
> There are other tools. For example:
>
> ~ $ sudo apt-get build-dep pcb-gtk
>
> should install necessary dependencies automagically. This will
> work if pcb did not change its dependencies since the version
> you've used previously.
>
> There are also other helper tools, like 'grep-dctrl'. I have not
> investigated it much, though.
>
> HTH
>
> --
>   Vladimir
>
> (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/l=
epton-eda
>

--000000000000adc9aa0585cf673a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Hello Vladimir<br></div>Thank you for =
the help. I have now had some success, but it would have gone better if I h=
ad taken care of the dependencies first, instead of having repeated adventu=
res with ./configure.<br><br>I will likely be having to check more dependen=
cies soon because, it seems, if I am going to have a PCB, and gEDA suite th=
at is more recent than 5 years old, then I have to fetch the latest stable =
versions, check dependencies first, and then install.<br><br></div>With the=
 kind help from Dmitry, I did succeed in getting past the stumbles over dep=
endencies in ./configure, and do #make install, and it (mostly) worked!<br>=
</div><br><div>After launching pcb, the output from Window =3D&gt; About no=
w reads..<br></div><div>---------------------------------------------------=
----<br>This is PCB, an interactive<br>printed circuit board editor<br>vers=
ion v4.2.0-gb2bcf627<br><br>Compiled on Apr=C2=A0 5 2019 at 21:38:12<br><br=
>by harry eaton<br>--------------------------------------------------------=
<br></div><div><br>Note:<br>At the very end of the <i># make install</i>, I=
 did see some messages about texi.<br>-------------------------------------=
------------------<br>pcb.texi:2791: @include: could not find options.texi<=
br>pcb.texi:4656: @include: could not find pcbfile.texi<br>pcb.texi:5870: @=
include: could not find wire_size.texi<br>pcb.texi:5873: @include: could no=
t find letter_size.texi<br>pcb.texi:5876: @include: could not find fraction=
al_size.texi<br>pcb.texi:5879: @include: could not find metric_size.texi<br=
>pcb.texi:6018: @include: could not find actions.texi<br>pcb.texi:5961: @re=
f reference to nonexistent node `Renumber Action&#39;<br>pcb.texi:4335: @me=
nu reference to nonexistent node `Object Flags&#39;<br>pcb.texi:4336: @menu=
 reference to nonexistent node `PCBFlags&#39;<br>Makefile:602: recipe for t=
arget &#39;<a href=3D"http://pcb.info" target=3D"_blank">pcb.info</a>&#39; =
failed<br>make[2]: *** [<a href=3D"http://pcb.info" target=3D"_blank">pcb.i=
nfo</a>] Error 1<br>make[2]: Leaving directory &#39;/home/graham/Downloads/=
PCB-gEDA/doc&#39;<br>Makefile:892: recipe for target &#39;install&#39; fail=
ed<br>make[1]: *** [install] Error 2<br>make[1]: Leaving directory &#39;/ho=
me/graham/Downloads/PCB-gEDA/doc&#39;<br>Makefile:537: recipe for target &#=
39;install-recursive&#39; failed<br>make: *** [install-recursive] Error 1<b=
r>-------------------------------------------------------------------------=
------------------------------<br></div>I do not know how essential this te=
xi is, and I am guessing that &#39;Object Flags&#39; and &#39;PCBFlags&#39;=
 sound kind of important!<br>It did not prevent PCB from launching.<br><br>=
</div><div>I attempted to remove the old 2014 version of pcb, which lives i=
n /usr/share/pcb.<br><div>When I tried, the message said it was going to re=
move geda-xgsch2pcb as well!<br></div><div><br>At this point I remember tha=
t very likely the whole rest of the geda suite has somewhat been left behin=
d.<br></div><div>I have all of them installed- like geda-gschem, and geda-g=
attrib, and geda-symbols, and more.<br></div><div>Several install via the g=
eda metapackage in the Ubuntu repository.<br></div>All are at version 1:1.8=
.2-5, very likely also 5 years old!<br><br></div><div>Clearly I have to do =
something about that.<br></div><div>I am shortly to upgrade the whole distr=
o, and be using some new SSD hardware.<br></div><div>I expect that even aft=
er upgrade to the latest Linux Mint 19.1, the Ubuntu repository it uses wil=
l probably still be distributing gEDA and pcb versions somewhat from the pa=
st.<br></div><div>If I want it to be at the latest stable version, then it =
has to be done this way.<br></div><div><br></div><div>Thank you all again f=
or your kind assistance<br></div><div>My regards<br></div><div>Graham<br></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Fri, 5 Apr 2019 at 18:46, Vladimir Zhbanov (<a href=3D"mailto:vzhban=
ov AT gmail DOT com" target=3D"_blank">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mai=
lto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>] &lt=
;<a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delor=
ie.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">On Fri, Apr 05, 2019 at 04:28:55PM +0100, Graham S (<a href=3D"mailto=
:graham DOT seale AT gmail DOT com" target=3D"_blank">graham DOT seale AT gmail DOT com</a>) [via=
 <a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delor=
ie.com</a>] wrote:<br>
&gt; Hello Dmitry and Chad<br>
&gt; <br>
&gt; Firstly, thank you for your help on PCB<br>
&gt; We have now gone considerable further in getting through ./configure.<=
br>
&gt; <br>
&gt; I tried the $ ./configure --disable-dbus, and it worked, until the nex=
t<br>
&gt; stumble over OpenGL<br>
&gt; This confused me because I have other applications which used OpenGL.<=
br>
&gt; Anyway, I installed GLX-related likely looking programs mentioning Ope=
nGL<br>
&gt; until it worked.<br>
&gt; <br>
&gt; Now the script stops at..<br>
&gt; ------------------------------------------------------<br>
&gt;=C2=A0 checking for GTK... no<br>
&gt; configure: error: Cannot find gtk+ &gt;=3D 2.18.0, install it and reru=
n<br>
&gt; ./configure<br>
&gt; Please review the following errors:<br>
&gt; No package &#39;gtk+-2.0&#39; found<br>
&gt; ------------------------------------------------------<br>
&gt; Again confusing to me, because the whole system is GTK and I checked i=
n<br>
&gt; Synaptic to see it already installed ..<br>
&gt; gtk2-engines=C2=A0 =C2=A0version =3D&gt; 1.2.20.2-3ubuntu1=C2=A0 =C2=
=A0 =C2=A0&quot;Theme engines for GTK+ 2.x&quot;<br>
&gt; <br>
&gt; Do we disable the check for gtk+-2.0 as well?<br>
&gt; <br>
&gt; Regards<br>
&gt; Graham<br>
<br>
On Debian, development packages have the &quot;-dev&quot; suffix. You can<b=
r>
search for them using info on your previously installed version of<br>
pcb, e.g. as follows:<br>
<br>
~ $ apt-cache depends pcb<br>
pcb<br>
=C2=A0|Depends: pcb-gtk<br>
=C2=A0 Depends: pcb-lesstif<br>
=C2=A0 Depends: pcb-common<br>
<br>
pcb is a metapackage, so this info is not very much<br>
informative. Let&#39;s try then:<br>
<br>
~ $ apt-cache depends pcb-gtk<br>
pcb-gtk<br>
=C2=A0 Depends: libc6<br>
=C2=A0 Depends: libcairo2<br>
=C2=A0 Depends: libdbus-1-3<br>
=C2=A0 Depends: libgd3<br>
=C2=A0 Depends: libgdk-pixbuf2.0-0<br>
=C2=A0 Depends: libgl1<br>
=C2=A0 Depends: libglib2.0-0<br>
=C2=A0|Depends: libglu1-mesa<br>
=C2=A0 Depends: &lt;libglu1&gt;<br>
=C2=A0 =C2=A0 libglu1-mesa<br>
=C2=A0 Depends: libgtk2.0-0<br>
=C2=A0 Depends: libgtkglext1<br>
=C2=A0 Depends: pcb-common<br>
<br>
All the &quot;lib*&quot; packages mentioned here have appropriate<br>
&quot;development&quot; relatives. You can search them by name.<br>
<br>
~ $ apt-cache search libgtkglext1<br>
libgtkglext1 - OpenGL Extension to GTK+ (shared libraries)<br>
libgtkglext1-dbg - OpenGL Extension to GTK+ (debugging symbols)<br>
libgtkglext1-dev - OpenGL Extension to GTK+ (development files)<br>
libgtkglext1-doc - OpenGL Extension to GTK+ (documentation)<br>
<br>
Here you can see that for having opengl you have to install<br>
&#39;libgtkglext1-dev&#39;. The same you can do for other libs.<br>
<br>
There are other tools. For example:<br>
<br>
~ $ sudo apt-get build-dep pcb-gtk<br>
<br>
should install necessary dependencies automagically. This will<br>
work if pcb did not change its dependencies since the version<br>
you&#39;ve used previously.<br>
<br>
There are also other helper tools, like &#39;grep-dctrl&#39;. I have not<br=
>
investigated it much, though.<br>
<br>
HTH<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>

--000000000000adc9aa0585cf673a--

- Raw text -


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