www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2019/04/05/13:42:49

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=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=nKnEPSVHplBjs0X+of021/LkWD4Wui4CUHjI5nBnMRA=;
b=sp2F+5IWWDH9uaEyfNqOuJ4bZAiKPTtQT/hIfSEGnR78e+F+Lm4T09RC6qnMOHX+XX
fzqET7mUkmh6XfQmlUNJHXlBpeQ+cMiV92/irjgprXkv1eMkGjCYlyWFkF2dJPDqoX8P
2VJOJZ0toIpweeKUywBvWkYVg9sBJkC0xrwoJx/YoIHKKR/OTO9KFuXSGZvk97lYHvb8
AMfKIgtHzd2LC7ZEzKrk6nWz1Ymd6Y1LELe9rF9C93svh7wBzYlOJ9DmXBJtV9zL6Cq4
9VWdavVECgsPbkJ5AWKlsBDO/S6HbU6w1t5oCmpimCAdmKBDEf6IKxYZNtajzu09lc9H
CvIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to
:references:mime-version:content-disposition
:content-transfer-encoding:in-reply-to:user-agent;
bh=nKnEPSVHplBjs0X+of021/LkWD4Wui4CUHjI5nBnMRA=;
b=NjFAD+yUrCoZbVW4YNdzLFIjpRwZboFtL1IkPHE+lKxzf/YE3Qct9qz3kn77ugd0QC
IHzFaRqoRvwhRlCONhCuiHtmnbc08d3oHR+jKusvc/qjnZN2itwtTAL0eXhN6ZFDUjkH
hlqUWLxXXMlwQ+6h8ktoNIw+5UhNCVKajFta2gHVVT4ckVV/7wbvJqDfZacaRa3DtnSm
98tmHrdWFc2KsDlVUNkWrdNqa45bIXLmM7FhL1T/Zi7VnRj6J0xncADYstW1qlhIVd/z
JxJs39eT9ThylUXet9J/OwyeuB3ALg6730Wfapmv9woliULxBeDQcCGLjymflcakqRNx
OfhA==
X-Gm-Message-State: APjAAAXA4Y2AjUNfFA5tIBoKUPBTRd7a10Y89GZl2hUxmTm1pFsm9Aec
j+BY0gQ9XoxmVr0ZpseOJ1EsE7Lp
X-Google-Smtp-Source: APXvYqz4VZ9kPT9PksgEXrP6ryC4Mxh65L7oVKc/4W9hUUla8xqMgVpKU/ZwDORkbLxCtgsGlwnpfg==
X-Received: by 2002:a2e:2b16:: with SMTP id q22mr8417434lje.20.1554486157313;
Fri, 05 Apr 2019 10:42:37 -0700 (PDT)
Date: Fri, 5 Apr 2019 20:42:34 +0300
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
To: geda-help AT delorie DOT com
Subject: Debian package dependencies (was [geda-help] PCB and resizing via
holes?)
Message-ID: <20190405174234.bdp4xx7ujvuo7dhd@newvzh.lokolhoz>
Mail-Followup-To: geda-help AT delorie DOT com
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>
MIME-Version: 1.0
In-Reply-To: <CAHsNvaCgQr-tRvAsdkB-HJGBbASA7yEeK4py5uTnhRGR_u-+aA@mail.gmail.com>
User-Agent: NeoMutt/20170113 (1.7.2)
Note-from-DJ: This may be spam
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, Apr 05, 2019 at 04:28:55PM +0100, Graham S (graham DOT seale AT gmail DOT com) [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 OpenGL
> until it worked.
> 
> Now the script stops at..
> ------------------------------------------------------
>  checking for GTK... no
> configure: error: Cannot find gtk+ >= 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 => 1.2.20.2-3ubuntu1     "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
 |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

(λ)επτόν EDA — https://github.com/lepton-eda

- Raw text -


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