Re: [gtk-osx-users] New build system (continued).

Le 15 avr. 2019 à 22:31, John Ralls <jralls ceridwen us> a écrit :

On Apr 15, 2019, at 12:59 PM, Pascal <p p14 orange fr> wrote:

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'}
          {"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)?

Hello John,

I've both installed:
$ xcodebuild -version
Xcode 10.1
Build version 10B61
$ pkgutil
$ xcrun --find gcc
$ which gcc
$ perl -V
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
    cc='cc', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing 

Regards, Pascal.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]