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=gxNhz/6a/lZ0w6qA6/8bXt0rK7L4tnDRS2Vd6uttepc=; b=iFDK9R7szj0XDprPJQZ6NvWvm55/9AgbPE3KK2hLeGCeGvQWPePY3/+tmidMUqL1bF qvUE4cZVMBFOKE/5bQ1AypEcZQ305kukNk8dJNRzxnwu6yWJv5hMYSrP3H5w8/tCnexn BXHFHa/j4Vnd/YITlZjGOGRVmZddnZmjMqaCkSKXIY/mF355WET7v6qtw8sJaCijFYYB L6SxS+IDEOPNPU7s7j6cg/nDTlJYu3+u4ofBT1NwAAJQcjq/zRQK6+mlwMVlCDkK1L1/ UiClvLToGtn/cekvW+yr/pyLrHeZWkI2g2XidVgn3dZR96ggC1c+88eMHiTT4a5lBoYq F0cw== 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=gxNhz/6a/lZ0w6qA6/8bXt0rK7L4tnDRS2Vd6uttepc=; b=heuFrlsjkO0A23crdl1VXTTB6NXt/NCAPmffTehekzv788cE+DMhVaiVAwmpp8hW3U WLbaWgu80WPtEfpVZMLS801cZd2Agr4bvvGoDfOvMdzCHsKmvAqjfQ8PKjFU/Ryc6S23 RcelcxbcboWl1O4G2uunWa4t92xD2rBLoaON6/qW+JVvkNRQlcSXUaAKtWgECZz1m3Zw 9HiXdOslfAsDya9BLU/PYba0xs5cnQpFux1MGy+8j4Haol8SoVwwoyWO/q4NLFK3iNsp 8Ykyy9DFOWDkytw38WrvwnD6PFho4cKqcbf78GtT7oWN1wqGFUj2jAGQa04wnVq2LQO+ 4vqA== X-Gm-Message-State: APjAAAVeGmYJkCLArcM7Ef2FZXbkW52Fj90Yw2HiCTKIJoqJxU8O5Lzm W3AidJomcIaxT7Hi/VumSyKjWiR/PwjL/PlrU5EbxAlx X-Google-Smtp-Source: APXvYqyab6ElhxUg9osrATZ4FAqOV2TRZfYWFvfg26Nrw/wpPuAFM6O5R/dE4NZ6loUXV5oAJNuawCXynUQkP3O78qc= X-Received: by 2002:a17:90a:1d8:: with SMTP id 24mr78030710pjd.70.1563799552489; Mon, 22 Jul 2019 05:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20190715153907 DOT 34c5ba01 AT demon> <939c5bf9242d8ede0bda44d308f1bfe9 AT iae DOT nl> In-Reply-To: From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Mon, 22 Jul 2019 08:45:41 -0400 Message-ID: Subject: Re: [geda-user] pcb bug on Mac To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000d37f90058e44741a" Reply-To: geda-user AT delorie DOT com --000000000000d37f90058e44741a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, this slipped off my radar! If I ever fail to get back to you in a timely manner, please ping me. Try installing "freeglut" instead of libGLU. I think Mesa should depend on this. You may need to rebuild Mesa after you install it. For gd you could try this: https://brewinstall.org/Install-gd-on-Mac-with-Brew/ If all that fails, please send me your configure output without the "--disable-gl" flag. Thanks, --Cahd On Wed, Jul 17, 2019 at 11:40 AM Craig Niederberger (craignied AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > 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, p= ython 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 t= ry >> 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 gtkglex= t >>> 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 >>> console: >>> >>> *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated >>> on 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 >>> not provide a socket path, verify that org.freedesktop.dbus-session.pli= st >>> is loaded! >>> pcb_dbus: DBus connection Error (Not enough memory) >>> >>> Ideas? Thanks in advance :) >>> >> --000000000000d37f90058e44741a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, this slipped off my radar! If I ever fail to g= et back to you in a timely manner, please ping me.

Try installing "freeglut" instead of libGLU. I think Mesa should= depend on this. You may need to rebuild Mesa after you install it.

For gd you could try this:

If all that fails, = please send me your configure output without the "--disable-gl" f= lag.

Thanks,
--Cahd



On Wed, Jul 17, 2019 at 11:40 AM Craig Niederberger (craignied AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
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=C2=A0
=

brew info intltool
intltool: stable 0.5= 1.0 (bottled)
String tool
https://wiki.freedesktop.org/www/Soft= ware/intltool
/usr/local/Cellar/intltool/0.51.0 (20 files, 186.5KB) = *
=C2=A0 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) *=C2=A0 Poured from bottle on 2019-05-07 at 17:14:12
From: https://github.com/Homebrew/homebrew-core/blob/master/Fo= rmula/pkg-config.rb
=3D=3D> Analytics
install: 108,188 (30 day= s), 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)<= br>
tclsh
% puts $tcl_version
8.6
% info patchlevel
8.6.6
Not sure about gd2?

brew info gtk
gtk+: stable 2.24.32 (bott= led), HEAD
GUI toolkit
https://gtk.org/
/usr/local/Cellar/gtk+/2.24.32_3 (1,194 files, 59.= 9MB) *
=C2=A0 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-introspect= ion =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> Opti= ons
--HEAD
Install HEAD version
=3D=3D> Analytics
install: = 18,728 (30 days), 31,763 (90 days), 119,995 (365 days)
install_on_reques= t: 3,903 (30 days), 7,107 (90 days), 24,130 (365 days)
build_error: 0 (3= 0 days)

brew info gtkglext
gtkglext: stable 1.2.0 (bottled)
Op= enGL extension to GTK+
https://projects.gnome.org/gtkglext/
/usr/local/Ce= llar/gtkglext/1.2.0_3 (78 files, 2MB) *
=C2=A0 Poured from bottle on 201= 9-07-16 at 20:26:41
From: https://github.co= m/Homebrew/homebrew-core/blob/master/Formula/gtkglext.rb
=3D=3D> = Dependencies
Build: pkg-config =E2=9C=94
Required: glib =E2=9C=94, gt= k+ =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 L= ibrary
https://www= .mesa3d.org/
/usr/local/Cellar/mesa/19.1.2 (39 files, 12.7MB) *
= =C2=A0 Poured from bottle on 2019-07-17 at 07:25:27
From: 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)


On Tue, Jul 16, 2019 at 2:10 PM Chad Park= er (parker.ch= arles AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
Hi Cr= aig-

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 current= ly very useful, so, we disable it by default in MacPorts. Here is an excerp= t from the Portfile that shows the default dependencies and configure optio= ns. I would recommend that you try building with these.

<= /div>
depends_build =C2=A0 =C2=A0 =C2=A0 port:intltool \
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 port:pkgconfig<= br>depends_run =C2=A0 =C2=A0 =C2=A0 =C2=A0 bin:wish:tk
depends_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:gtkglext \
=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 por= t:mesa

configure.args =C2=A0 =C2=A0 =C2=A0--mandir=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-update-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

I= f you decide that you would like the GL features, I can help you try to get= that working.

--Chad

On Tue, Jul 16, 201= 9 at 1:14 PM Craig Niederberger (craignied AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> w= rote:
I success= fully compiled, did make & make install pcb 4.20 on Mac OSX 10.14 Mojav= e 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-ut= ils libffi
brew link --force gettext
export LC_CTYPE=3DC
export LANG=3DC
ex= port LDFLAGS=3D"-L/usr/local/opt/libffi/lib"
export PKG_CONFIG= _PATH=3D"/usr/local/opt/libffi/lib/pkgconfig"
./configure
m= ake
sudo make install

I'm getting an unpopulated window with the following error in t= he console:
<= br>
*** WARNI= NG: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and l= ater. It should not be used in new applications. Use convertRectToBacking: = instead.
dbus[17064]: Dynamic session lookup supported but failed: launc= hd did not provide a socket path, verify that org.freedesktop.dbus-session.= plist is loaded!
pcb_dbus: DBus connection Error (Not enough memory)
=

Ideas? Thanks in adv= ance :)
--000000000000d37f90058e44741a--