> On Apr 15, 2019, at 12:59 PM, Pascal <p....@orange.fr> wrote: > > >> Le 15 avr. 2019 à 16:06, John Ralls <jra...@ceridwen.us> a écrit : >> >>> On Apr 15, 2019, at 2:19 AM, Pascal <p....@orange.fr> wrote: >>> Yes John, I suspected something like that but I haven't asked for -arch >>> i386. >>> >>> How can I prevent i386? >> >> You need to find where it's getting added to your CFLAGS and remove it. The >> first place to look is jhbuildrc-custom, but it might be in some other >> shell-initialization like .bashrc or .bash_profile. > > John, I've found some suspicious instructions in jhbuildrc line 321: > if (_osx_version < 14): > module_extra_env["expat"] = {'CFLAGS':os.environ['CFLAGS'] + ' -arch > i386 -arch x86_64'} > module_extra_env.update( > {"perl-xml-simple":{"ARCHFLAGS":"-arch i386 -arch x86_64"}, > "perl-xml-parser":{"ARCHFLAGS":"-arch i386 -arch x86_64"}}) > > I run macOS 10.13.6. > Without theses lines all is fine now. > What are them for?
They're because pre-10.14 perl was distributed with a combined i386/x86_64 library, so perl-xml-simple and perl-xml-parser needed to be built that way in order to link, and since they depend on expat it did too. Are you using Xcode or command line tools? What version? What does `perl -V` say about flags (first line under Compiler)? Regards, John Ralls _______________________________________________ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list