Giter Club home page Giter Club logo

p5-alien-xgboost's People

Contributors

pablrod avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

p5-alien-xgboost's Issues

Path::Tiny copy doesn't preserve executable flag

Now the installation fails in because the test 20-xgboost_command.t can't execute xgboost command because it lacks the executable flag.

I'm going to revert back to use %{cp} helper that preserves this.
The library seems to work fine without the executable flag.

After this I'm going to make a new release because there are a lot of fails in CPAN Testers (see Matrix

System install

I'm not able to make a working system install.
When I return 'system' from probe phase then the installed Alien::XGBoost module has dynamic_libs empty.
I've tried with this gather phase:

probe sub {
   ($library) = FFI::CheckLib::find_lib_or_die(lib => 'xgboost',
       verify => sub {
            my($name, $libpath) = @_;
            my $platypus = FFI::Platypus->new;
            $platypus->lib($libpath);
            # This function was defined recently
            my $f = $platypus->function('XGDMatrixCreateFromMat_omp', [] => 'int'); 
        }
    );
    return (defined $library ? 'system' : 'share');
};

sys {
    gather sub {
         my ($build) = @_;
         $build->runtime_prop->{dynamic} = $library
    };
};

Issue Installing Alien::XGBoost Library using Strawberry Perl

I'm unable to install the Alien::XGBoost library using the default installation of strawberry perl on windows 10. I'm using the 64-bit version of strawberry perl. When installing Alien::XGBoost, I receive an error on line 49 in the commandsequence.pm file as shown below.

gmake[1]: Leaving directory 'C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/_alien/build_wYwS'
Alien::Build::CommandSequence> + md "C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/dynamic"
Alien::Build::CommandSequence> + md "C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/bin"
Alien::Build::CommandSequence> + copy xgboost.exe C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/bin/
The syntax of the command is incorrect.
external command failed at C:/Strawberry/perl/site/lib/Alien/Build/CommandSequence.pm line 49.
gmake: *** [Makefile:2881: _alien/mm/build] Error 2
  PABLROD/Alien-XGBoost-0.04.tar.gz
  C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'Alien::XGBoost'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.