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: <20190405101514 DOT 248c097c AT demon> <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]" Date: Fri, 5 Apr 2019 22:45:15 +0100 Message-ID: Subject: Re: Debian package dependencies (was [geda-help] PCB and resizing via holes?) To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000adc9aa0585cf673a" 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] 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-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
Hello Vladimir
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.

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.

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!
=

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

Compiled on Apr=C2=A0 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<= br>pcb.texi:4656: @include: could not find pcbfile.texi
pcb.texi:5870: @= include: could not find wire_size.texi
pcb.texi:5873: @include: could no= t find letter_size.texi
pcb.texi:5876: @include: could not find fraction= al_size.texi
pcb.texi:5879: @include: could not find metric_size.texipcb.texi:6018: @include: could not find actions.texi
pcb.texi:5961: @re= f reference to nonexistent node `Renumber Action'
pcb.texi:4335: @me= nu reference to nonexistent node `Object Flags'
pcb.texi:4336: @menu= reference to nonexistent node `PCBFlags'
Makefile:602: recipe for t= arget 'pcb.info' = failed
make[2]: *** [pcb.i= nfo] Error 1
make[2]: Leaving directory '/home/graham/Downloads/= PCB-gEDA/doc'
Makefile:892: recipe for target 'install' fail= ed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/ho= me/graham/Downloads/PCB-gEDA/doc'
Makefile:537: recipe for target &#= 39;install-recursive' failed
make: *** [install-recursive] Error 1-------------------------------------------------------------------------= ------------------------------
I do not know how essential this te= xi 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 i= n /usr/share/pcb.
When I tried, the message said it was going to re= move geda-xgsch2pcb as well!

At this point I remember tha= t very likely the whole rest of the geda suite has somewhat been left behin= d.
I have all of them installed- like geda-gschem, and geda-g= attrib, and geda-symbols, and more.
Several install via the g= eda 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 distr= o, and be using some new SSD hardware.
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.
If I want it to be at the latest stable version, then it = has to be done this way.

Thank you all again f= or 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 delor= ie.com> wrote:
On Fri, Apr 05, 2019 at 04:28:55PM +0100, Graham S (graham DOT seale AT gmail DOT com) [via= geda-help AT delor= ie.com] wrote:
> Hello Dmitry and Chad
>
> Firstly, thank you for your help on PCB
> We have now gone considerable further in getting through ./configure.<= br> >
> I tried the $ ./configure --disable-dbus, and it worked, until the nex= t
> stumble over OpenGL
> This confused me because I have other applications which used OpenGL.<= br> > Anyway, I installed GLX-related likely looking programs mentioning Ope= nGL
> until it worked.
>
> Now the script stops at..
> ------------------------------------------------------
>=C2=A0 checking for GTK... no
> configure: error: Cannot find gtk+ >=3D 2.18.0, install it and reru= n
> ./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 i= n
> Synaptic to see it already installed ..
> gtk2-engines=C2=A0 =C2=A0version =3D> 1.2.20.2-3ubuntu1=C2=A0 =C2= =A0 =C2=A0"Theme engines for GTK+ 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
=C2=A0|Depends: pcb-gtk
=C2=A0 Depends: pcb-lesstif
=C2=A0 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
=C2=A0 Depends: libc6
=C2=A0 Depends: libcairo2
=C2=A0 Depends: libdbus-1-3
=C2=A0 Depends: libgd3
=C2=A0 Depends: libgdk-pixbuf2.0-0
=C2=A0 Depends: libgl1
=C2=A0 Depends: libglib2.0-0
=C2=A0|Depends: libglu1-mesa
=C2=A0 Depends: <libglu1>
=C2=A0 =C2=A0 libglu1-mesa
=C2=A0 Depends: libgtk2.0-0
=C2=A0 Depends: libgtkglext1
=C2=A0 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

--
=C2=A0 Vladimir

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