Will-

Any progress with the work around?  I'm on #pdl today.

--Chris

On 3/22/2018 16:31, Chris Marshall wrote:
Makefile.PL is the file in which the File::Map line needs to be deleted....

On Thu, Mar 22, 2018 at 4:30 PM, Chris Marshall <devel.chm...@gmail.com <mailto:devel.chm...@gmail.com>> wrote:

    A quick look at the CPAN testers reports for
    PerlIO::Layers show passes for your perl version
    and many others on Mac platforms.  I can't help
    with a debug for your build there...

    ...but you can delete the line containing the
    string 'File::Map' to removed the hard dependency
    for PDL on this module.  The only functionality you
    could miss is the ability to to memory mapped IO.
    The rest of PDL should be good to go while you
    sort out the PerlIO::Layers problem.

    Good luck,
    Chris

    On Thu, Mar 22, 2018 at 2:41 PM, William Schmidt
    <t.william.schm...@gmail.com <mailto:t.william.schm...@gmail.com>>
    wrote:

        Hello PDL peeps,

        I'm trying to build PDL in macOS 10.13.3 (High Sierra) and am
        getting a build test error in a pre-req, specifically, in
        PerlIO::Layers. The scenario:

        sudo cpan install PDL. # Warning: prerequisite File::Map 0.57
        not found. There are other pre-req errors but the first one is
        a deal-killer.

        sudo cpan install File::Map  # this build failed to find its
        pre-req, PerlIO::Layers, so it downloaded the bits and
        attempted to build it. The script reported the build was OK,
        but its tests failed with:

        t/00-compile.t ............ 1/1
        #   Failed test 'PerlIO/Layers.pm loaded ok'
        #   at t/00-compile.t line 35.
        # got: '512'
        # expected: '0'

        File attached of relevant output. Notice that PERL5LIB and
        PERL5OPT at lines 30 and 31 are not resolved. PERL5LIB is set
        in my env (bash) but I am not setting PERL5OPT, whatever that
        means in this build. If PERL5LIB must be resolved, the build
        script is not pulling it from my env, and if PERL5OPT must be
        set, I need to know what to set it to.

        My compiler is:

        $ gcc -v
        Configured with:
        --prefix=/Library/Developer/CommandLineTools/usr
        --with-gxx-include-dir=/usr/include/c++/4.2.1
        Apple LLVM version 9.0.0 (clang-900.0.39.2)
        Target: x86_64-apple-darwin17.4.0
        Thread model: posix
        InstalledDir: /Library/Developer/CommandLineTools/usr/bin

        Any ideas? (Yes, I know how fucking arrogant Apple is about
        building stuff on its latest OS, but getting PDL to run on my
        mac is very high priority :-) Why run R (and invest hours and
        hours learning it) when you can run PDL?)

        Regards,
        Will Schmidt
        t.william.schm...@gmail.com <mailto:t.william.schm...@gmail.com>



        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org! http://sdm.link/slashdot
        _______________________________________________
        pdl-devel mailing list
        pdl-devel@lists.sourceforge.net
        <mailto:pdl-devel@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/pdl-devel
        <https://lists.sourceforge.net/lists/listinfo/pdl-devel>




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to