Open enridaga opened 1 year ago
Hi @enridaga,
Looks like you're missing a bunch of dependencies that ninka needs to run, these pre-requisites seem important for example;
Warning: prerequisite DBD::SQLite 0 not found.
Warning: prerequisite DBI 0 not found.
Warning: prerequisite IO::CaptureOutput 0 not found.
Warning: prerequisite Spreadsheet::WriteExcel 0 not found.
Warning: prerequisite Test::Pod 1.00 not found.
Warning: prerequisite Test::Strict 0 not found.
I don't have a Mac handy to test the build at the moment but I'll review the Ninka instructions on a Linux box which ought to be somewhat similar.
I successfully installed Ninka, even without some dependencies, by doing a make install
. If that doesn't work for you, you man want to install a tool to install from CPAN, which holds perl modules. I guess MacOS has homebrew
but there is also CPAN and cpanminus tools that can install perl modules directly. I don't know if they're installed on Mac OS per default so you may have to run out an get them. This tool is popular for doing that: https://metacpan.org/pod/App::cpanminus (cpanminus).
If you want all the tests to pass before you install, simply install Test::Pod and Test::Strict.
I am trying to run the ninka script in
bin
following the readme notes but haven't succeeded.I cloned the project on my mac-osx, where I have perl 5. When trying to run the file in
bin
simply$ perl bin/ninka Can't locate Ninka.pm in @INC (you may need to install the Ninka module) (@INC contains: /usr/local/opt/perl/lib/perl5/site_perl/5.36/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/site_perl/5.36 /usr/local/opt/perl/lib/perl5/5.36/darwin-thread-multi-2level /usr/local/opt/perl/lib/perl5/5.36 /usr/local/lib/perl5/site_perl/5.36) at bin/ninka line 6. BEGIN failed--compilation aborted at bin/ninka line 6.
FWIW the Ninka.pm (Ninka module) lives in lib/ dir in the Ninka git repo. If you do a make install
it should get installed and Ninka should find it.
I am trying to run the ninka script in
bin
following the readme notes but haven't succeeded.I cloned the project on my mac-osx, where I have perl 5. When trying to run the file in
bin
simplyReading that
(you may need to install the Ninka module)
, I tried to compile/install. I've seen a Makefile.PL, so I also tried following these instructions with no joy... see the following.Step one works:
Make seems to work as well:
Make test fails miserably:
What's the fastest way to test the tool with some source code?