tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: perl5 fails to build on macos 10.11 and 10.13



On 31 Aug 2018, at 10:40, Amitai Schleier wrote:

On 28 Aug 2018, at 17:09, Greg Troxel wrote:

Is anyone else seeing this?  Has anywone built perl 5.28.0 on a mac
under pkgsrc?

I'm seeing this too. Homebrew's `Formula/perl.rb` has a workaround which, while unsuitable for inclusion in pkgsrc, may be expedient in one's local tree:

    # FOO=${PREFIX}/lib/perl5/5.28.0/darwin-thread-multi-2level/CORE
    # mkdir -p ${FOO}
# ln -sf /path/to/pkgsrc/lang/perl5/${WRKSRC}/libperl.dylib ${FOO}/libperl.dylib

I've committed a fix to pass the override-runtime-search-path env var explicitly to the Storable sub-make, and then to the perl invocation therein. This fixes the Mac build for me (and doesn't break NetBSD).

A great many of the self-tests have the same problem. They don't all invoke perl in the same way, so it's lots of small fixes. I got partway through and decided to punt.

Home | Main Index | Thread Index | Old Index