On Thu, Oct 6, 2016 at 8:24 PM, Zakariyya Mughal <zaki.mug...@gmail.com> wrote: > Hello everyone, > > I have been running my Gtk3 application under continuous integration and > started seeing issues with building Glib on macOS with Homebrew's libglib-2.0. > > After looking at the compilation flags, I noticed that ccflags contained > `-arch x86_64 -arch i386`. Removing `-arch i386` fixed the static > assertion and the build continued. > > My solution was to set `ARCHFLAGS` > > ARCHFLAGS="-arch x86_64" cpanm --verbose Glib
FWIW, I don't need to set ARCHFLAGS like you're doing in order to build the Gtk3 stack. The only environment variables that I'm setting before building is PKG_CONFIG_PATH, to point to Homebrew and XQuartz *.pc files in /usr/local/lib/pkgconfig and /opt/local/lib/pkgconfig respectively. Any chance you could be a little bit more specific about how your system is set up, and how you're building your Gtk3 stack, so we can try and locate the differences? Right now, I'm suspecting something in your environment is causing you grief. Thanks, Brian My setup: OS X El Capitan version 10.11.6 Perl 5.24.0 from plenv installed into ~/.plenv glib/gtk+3/pango/cairo from Homebrew Pango/Cairo/Glib/Gtk3, latest tarballs installed from CPAN $ for PKG in glib pango cairo gtk+3; do brew info $PKG 2>/dev/null | head -n 1; done glib: stable 2.50.0 (bottled) pango: stable 1.40.3 (bottled) cairo: stable 1.14.6 (bottled) gtk+3: stable 3.22.1 (bottled) Darwin foo.example.com 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64 _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list