Open ngocphamm opened 11 years ago
It now has a dependency on json parser, so updating the binary will no longer work. Please install it via Makefile according to the instructions, it should download the dependencies by itself.
Hi,
Tried installing via Makefile, but it writes out
$ perl Makefile.PL PREFIX=~/.local
Warning: prerequisite JSON::PP 0 not found.
Writing Makefile for git-cal
when it compiles. And it complains
$ git-cal
Can't locate JSON/PP.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4/darwin-thread-multi-2level /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /usr/local/bin/git-cal line 14.
BEGIN failed--compilation aborted at /usr/local/bin/git-cal line 14.
when I try to run it.
Cheers, Bjørn
Please try
curl -L http://cpanmin.us | perl - --sudo App::cpanminus cpanm install JSON::PP followed by perl Makefile.PL etc ( i am sure there must be an easier way to do this )
If that doesn't work, pull the latest code, I created a branch where i removed all dependencies on external libraries.
git checkout -b no-deps origin/no-deps then install normally with perl Makefile.PL ..
Will the binary standalone works again? I guess line 11
still call the JSON library.
Oops, fixed now. Standalone should work now (the one in no-deps branch)
Thanks for that! :+1:
After updating the binary of
git-cal
to latest commit, it no loger work.I'm not a Perl programmer so don't know where to go then. Please help. Thank you!