X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user 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=KEJ9X7o0lY+ISQnIFuKuSaH1dxbj5/BX87vit9rKh0Y=; b=FQNAo06wo94q0/u33Hpyx8P0ZoYijZHbc/cYgNCm9bcIyTkJ1cX1px5SIzDfSBTwQR PoHmkNAbApU6S9oNdnR9AE0JicPukMd5UZ2RT3TjJ2jZuzZRotl1paS9eaYZUZau/nA/ 3SszwscKlskROhof0/1jW2255yKZamSD7kliZw4ezjc8w8B7stILuWa6M9KTjqgtnD3m lCDEvhhAq+pzYFeWUtQQdem9Vw4I2mgsUgPlWTKSWVjuZBUGbNGMVmPo/txCJR7yowfR PTlt5Qp4+9J8TyRJEehIw8d77AFuN1Nylo/D6PW9Mgqw/U9E47/vP6Zi524kQpbbwnuF zpaQ== 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=KEJ9X7o0lY+ISQnIFuKuSaH1dxbj5/BX87vit9rKh0Y=; b=jcokFBKHxZzO9hMJ9I1VFRn+8StT/7VYiP2RUntn6hBlxvpua7M8cr6V0W+GVZpeLL iBy47qVrfim/r0NpB1GW/nb41Gem4CZtGoI+q1WYsXhpawgefYQhIRtUq8tc6hEP5XAL rvnahazZ7c0+hWrI1UUsTYZjUal1dS9wACO2OKHRmEk3BikZMpG+MmDCE0OWo0Qbev7t bMH/wsTYBleHZhb8izDHr8cWeyIUZrqhBrs0jnjOyff9xP4TME0g/qQRsW2lZf2G8v4O aihRnXPjdkO97NcqqKx21w8I6GsmfEgf5X9PPI51uRZusck2q1+lLFukZ7MZObmJ8fnJ i26Q== X-Gm-Message-State: APjAAAW1ENxa5Xw6mfRwugAfDGJ81jmkUh4oQ6S+/XNZEkIy+5/nQx3T Govh2/nsiGF7RqgwOF1Bfi65E/G2TlGcxU9W476rfACG X-Google-Smtp-Source: APXvYqxJwLkVWKFLsiI3qRJPytclZEHyGp6tYQFU/jQeO5v3Q79CvHl4Uui8EuN1rEazUqxfEcLpUKrbGXu8I+1n5GA= X-Received: by 2002:a02:cd83:: with SMTP id l3mr7047883jap.66.1563375660248; Wed, 17 Jul 2019 08:01:00 -0700 (PDT) MIME-Version: 1.0 References: <20190715153907 DOT 34c5ba01 AT demon> <939c5bf9242d8ede0bda44d308f1bfe9 AT iae DOT nl> In-Reply-To: From: "Craig Niederberger (craignied AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Wed, 17 Jul 2019 10:00:48 -0500 Message-ID: Subject: Re: [geda-user] pcb bug on Mac To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000e135a9058de1c221" Reply-To: geda-user AT delorie DOT com --000000000000e135a9058de1c221 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That would be wonderful, Chad! Starting by looking at the dependencies, I have everything in Homebrew but gd2 and libGLU. (See below.) Any idea how to install those with Homebrew? Craig brew info intltool intltool: stable 0.51.0 (bottled) String tool https://wiki.freedesktop.org/www/Software/intltool /usr/local/Cellar/intltool/0.51.0 (20 files, 186.5KB) * Poured from bottle on 2019-07-16 at 20:25:22 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/intltool.rb =3D=3D> Analytics install: 2,128 (30 days), 6,801 (90 days), 46,186 (365 days) install_on_request: 573 (30 days), 1,772 (90 days), 8,436 (365 days) build_error: 0 (30 days) brew info pkgconfig pkg-config: stable 0.29.2 (bottled) Manage compile and link flags for libraries https://freedesktop.org/wiki/Software/pkg-config/ /usr/local/Cellar/pkg-config/0.29.2 (11 files, 627.2KB) * Poured from bottle on 2019-05-07 at 17:14:12 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pkg-config.rb =3D=3D> Analytics install: 108,188 (30 days), 324,074 (90 days), 1,363,017 (365 days) install_on_request: 27,251 (30 days), 80,370 (90 days), 328,850 (365 days) build_error: 0 (30 days) tclsh % puts $tcl_version 8.6 % info patchlevel 8.6.6 Not sure about gd2? brew info gtk gtk+: stable 2.24.32 (bottled), HEAD GUI toolkit https://gtk.org/ /usr/local/Cellar/gtk+/2.24.32_3 (1,194 files, 59.9MB) * Poured from bottle on 2019-07-16 at 20:26:37 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gtk+.rb =3D=3D> Dependencies Build: gobject-introspection =E2=9C=98, pkg-config =E2=9C=94 Required: atk =E2=9C=94, gdk-pixbuf =E2=9C=94, hicolor-icon-theme =E2=9C=94= , pango =E2=9C=94 =3D=3D> Options --HEAD Install HEAD version =3D=3D> Analytics install: 18,728 (30 days), 31,763 (90 days), 119,995 (365 days) install_on_request: 3,903 (30 days), 7,107 (90 days), 24,130 (365 days) build_error: 0 (30 days) brew info gtkglext gtkglext: stable 1.2.0 (bottled) OpenGL extension to GTK+ https://projects.gnome.org/gtkglext/ /usr/local/Cellar/gtkglext/1.2.0_3 (78 files, 2MB) * Poured from bottle on 2019-07-16 at 20:26:41 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gtkglext.rb =3D=3D> Dependencies Build: pkg-config =E2=9C=94 Required: glib =E2=9C=94, gtk+ =E2=9C=94 =3D=3D> Analytics install: 1,694 (30 days), 3,676 (90 days), 9,243 (365 days) install_on_request: 156 (30 days), 265 (90 days), 711 (365 days) build_error: 0 (30 days) Not sure about libglu? brew info mesa mesa: stable 19.1.2 (bottled), HEAD Graphics Library https://www.mesa3d.org/ /usr/local/Cellar/mesa/19.1.2 (39 files, 12.7MB) * Poured from bottle on 2019-07-17 at 07:25:27 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/mesa.rb =3D=3D> Dependencies Build: meson-internal =E2=9C=98, ninja =E2=9C=98, pkg-config =E2=9C=94, pyt= hon AT 2 =E2=9C=94 Required: expat =E2=9C=94, gettext =E2=9C=94 =3D=3D> Requirements Required: x11 =E2=9C=94 =3D=3D> Options --HEAD Install HEAD version =3D=3D> Analytics install: 680 (30 days), 1,995 (90 days), 3,585 (365 days) install_on_request: 161 (30 days), 511 (90 days), 1,131 (365 days) build_error: 0 (30 days) On Tue, Jul 16, 2019 at 2:10 PM Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Hi Craig- > > I've been maintaining the MacPorts build system, but I haven't had the > bandwidth to maintain the Homebrew system in parallel. > > The dbus interface isn't currently very useful, so, we disable it by > default in MacPorts. Here is an excerpt from the Portfile that shows the > default dependencies and configure options. I would recommend that you tr= y > building with these. > > depends_build port:intltool \ > port:pkgconfig > depends_run bin:wish:tk > depends_lib port:gd2 \ > port:gtk2 \ > port:gtkglext \ > port:libGLU \ > port:mesa > > configure.args --mandir=3D${prefix}/share/man \ > --infodir=3D${prefix}/share/info \ > --disable-update-desktop-database \ > --disable-dbus \ > --disable-update-mime-database > > If you decide that you would like the GL features, I can help you try to > get that working. > > --Chad > > On Tue, Jul 16, 2019 at 1:14 PM Craig Niederberger (craignied AT gmail DOT com) > [via geda-user AT delorie DOT com] wrote: > >> I successfully compiled, did make & make install pcb 4.20 on Mac OSX >> 10.14 Mojave using Homebrew. This is what I did: >> >> brew cask install mactex >> brew install autoconf automake gettext intltool libtool dbus gd gtkglext >> shared-mime-info desktop-file-utils libffi >> brew link --force gettext >> export LC_CTYPE=3DC >> export LANG=3DC >> export LDFLAGS=3D"-L/usr/local/opt/libffi/lib" >> export PKG_CONFIG_PATH=3D"/usr/local/opt/libffi/lib/pkgconfig" >> ./configure >> make >> sudo make install >> >> I'm getting an unpopulated window with the following error in the consol= e: >> >> *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated o= n >> 10.7 and later. It should not be used in new applications. Use >> convertRectToBacking: instead. >> dbus[17064]: Dynamic session lookup supported but failed: launchd did no= t >> provide a socket path, verify that org.freedesktop.dbus-session.plist is >> loaded! >> pcb_dbus: DBus connection Error (Not enough memory) >> >> Ideas? Thanks in advance :) >> > --000000000000e135a9058de1c221 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That would be wonderful, Chad! Star= ting by looking at the dependencies, I have everything in Homebrew but gd2 = and libGLU. (See below.) Any idea how to install those with Homebrew?
=

Craig=C2=A0
=

brew info in= tltool
intltool: stable 0.51.0 (bottled)
String tool
https://wiki.freedesktop.= org/www/Software/intltool
/usr/local/Cellar/intltool/0.51.0 (20 file= s, 186.5KB) *
=C2=A0 Poured from bottle on 2019-07-16 at 20:25:22
Fro= m: https://github.com/Homebrew/homebrew-core/blob/master/Formula= /intltool.rb
=3D=3D> Analytics
install: 2,128 (30 days), 6,801= (90 days), 46,186 (365 days)
install_on_request: 573 (30 days), 1,772 (= 90 days), 8,436 (365 days)
build_error: 0 (30 days)

brew info pkg= config
pkg-config: stable 0.29.2 (bottled)
Manage compile and link fl= ags for libraries
https://freedesktop.org/wiki/Software/pkg-config/
/usr/local= /Cellar/pkg-config/0.29.2 (11 files, 627.2KB) *
=C2=A0 Poured from bottl= e on 2019-05-07 at 17:14:12
From: https://github.com/Homebr= ew/homebrew-core/blob/master/Formula/pkg-config.rb
=3D=3D> Analyt= ics
install: 108,188 (30 days), 324,074 (90 days), 1,363,017 (365 days)<= br>install_on_request: 27,251 (30 days), 80,370 (90 days), 328,850 (365 day= s)
build_error: 0 (30 days)

tclsh
% puts $tcl_version
8.6% info patchlevel
8.6.6

Not sure about gd2?

brew info gt= k
gtk+: stable 2.24.32 (bottled), HEAD
GUI toolkit
https://gtk.org/
/usr/local/Cellar/gtk+/2.24.32_3 (1,1= 94 files, 59.9MB) *
=C2=A0 Poured from bottle on 2019-07-16 at 20:26:37<= br>From: https://github.com/Homebrew/homebrew-core/blob/master/Formu= la/gtk+.rb
=3D=3D> Dependencies
Build: gobject-introspection = =E2=9C=98, pkg-config =E2=9C=94
Required: atk =E2=9C=94, gdk-pixbuf =E2= =9C=94, hicolor-icon-theme =E2=9C=94, pango =E2=9C=94
=3D=3D> Options=
--HEAD
Install HEAD version
=3D=3D> Analytics
install: 18,= 728 (30 days), 31,763 (90 days), 119,995 (365 days)
install_on_request: = 3,903 (30 days), 7,107 (90 days), 24,130 (365 days)
build_error: 0 (30 d= ays)

brew info gtkglext
gtkglext: stable 1.2.0 (bottled)
OpenG= L extension to GTK+
htt= ps://projects.gnome.org/gtkglext/
/usr/local/Cellar/gtkglext/1.2.0_3= (78 files, 2MB) *
=C2=A0 Poured from bottle on 2019-07-16 at 20:26:41From: https://github.com/Homebrew/homebrew-core/blob/master/Fo= rmula/gtkglext.rb
=3D=3D> Dependencies
Build: pkg-config =E2= =9C=94
Required: glib =E2=9C=94, gtk+ =E2=9C=94
=3D=3D> Analytics<= br>install: 1,694 (30 days), 3,676 (90 days), 9,243 (365 days)
install_o= n_request: 156 (30 days), 265 (90 days), 711 (365 days)
build_error: 0 (= 30 days)

Not sure about libglu?

brew info mesa
mesa: stabl= e 19.1.2 (bottled), HEAD
Graphics Library
https://www.mesa3d.org/
/usr/local/Cellar/mesa/19.1.2 (39 f= iles, 12.7MB) *
=C2=A0 Poured from bottle on 2019-07-17 at 07:25:27
F= rom: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m= esa.rb
=3D=3D> Dependencies
Build: meson-internal =E2=9C=98, n= inja =E2=9C=98, pkg-config =E2=9C=94, python AT 2 =E2=9C=94
Required: expat= =E2=9C=94, gettext =E2=9C=94
=3D=3D> Requirements
Required: x11 = =E2=9C=94
=3D=3D> Options
--HEAD
Install HEAD version
=3D= =3D> Analytics
install: 680 (30 days), 1,995 (90 days), 3,585 (365 da= ys)
install_on_request: 161 (30 days), 511 (90 days), 1,131 (365 days)build_error: 0 (30 days)


Hi Craig-

I've been maintaining = the MacPorts build system, but I haven't had the bandwidth to maintain = the Homebrew system in parallel.

The dbus interfac= e isn't currently very useful, so, we disable it by default in MacPorts= . Here is an excerpt from the Portfile that shows the default dependencies = and configure options. I would recommend that you try building with these.<= br>

depends_build =C2=A0 =C2=A0 =C2=A0 port:intlto= ol \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 port:pkgconfig
depends_run =C2=A0 =C2=A0 =C2=A0 =C2=A0 bin:wish:tkdepends_lib =C2=A0 =C2=A0 =C2=A0 =C2=A0 port:gd2 \
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 port:gtk2 \
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 port:gtkglex= t \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 port:libGLU \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 port:mesa

configure.args =C2=A0 =C2=A0 =C2=A0--man= dir=3D${prefix}/share/man \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 --infodir=3D${prefix}/share/info \
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-up= date-desktop-database \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 --disable-dbus \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-update-mime-database
=

If you decide that you would like the GL features, I ca= n help you try to get that working.

--Chad

On Tue, Jul 16, 2019 at 1:14 PM Craig Niederberger (craignied AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-use= r AT delorie DOT com> wrote:
I successfully compiled, did make & make install pcb 4.20 o= n Mac OSX 10.14 Mojave using Homebrew. This is what I did:

brew cask install mactex
brew ins= tall autoconf automake gettext intltool libtool dbus gd gtkglext shared-mim= e-info desktop-file-utils libffi
brew link --force gettext
export LC_CTYPE=3DCexport LANG=3DC
export LDFLAGS=3D"-L/usr/local/opt/libffi/lib"= ;
export PKG_CONFIG_PATH=3D"/usr/local/opt/libffi/lib/pkgconfig&quo= t;
./configure
make
sudo make install

I'm getting an unpopulated window with th= e following error in the console:

*** WARNING: Method userSpaceScaleFactor in class NSView is de= precated on 10.7 and later. It should not be used in new applications. Use = convertRectToBacking: instead.
dbus[17064]: Dynamic session lookup suppo= rted but failed: launchd did not provide a socket path, verify that org.fre= edesktop.dbus-session.plist is loaded!
pcb_dbus: DBus connection Error (= Not enough memory)

Ideas? Thanks in advance :)
--000000000000e135a9058de1c221--