Posts

Showing posts from May, 2017

Converting JSON to LCOV (infofile)

Wrote a small NPM module that converts JSON to LCOV data https://github.com/srikanthjeeva/hitmap_json_to_lcov

Install Cpanm module error : No such file or directory opening compressed index

I got this error while installing Rest client perl module $ HOME=/tmp /home/perl/5.10/bin/cpanm REST::Client ! Finding REST::Client on cpanmetadb failed. ! cannot open file '/tmp/.cpanm/sources/http%www.cpan.org/02packages.details.txt.gz': No such file or directory opening compressed index ! Couldn't find module or a distribution REST::Client Solution: The problem is because of "LWP::Protocol::https" module. Removing the directory worked for me. $ cd /perl_installed_path/perl/5.10/lib/site_perl/5.10.1 $ rm –rf LWP* or try with option "--no-lwp" cpanm REST::Client --no-lwp

Error while installing Perl 5.10.1

a -Wdeclaration-after-statement -Wendif-labels -Wc++-compat cc -fstack-protector -L/usr/local/lib -o miniperl \ gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o pp.o: In function `Perl_pp_pow': pp.c:(.text+0x2d79): undefined reference to `pow' pp.o: In function `Perl_pp_modulo': pp.c:(.text+0x3b22): undefined reference to `floor' pp.c:(.text+0x3b58): undefined reference to `floor' pp.c:(.text+0x3b90): undefined reference to `fmod' pp.o: In function `Perl_pp_atan2': pp.c:(.text+0x8985): undefined reference to `atan2' pp.o: In function `Perl_pp_sin': pp.c:(.text+0x8b22): undefined reference to `sin' pp.o: In function `Perl_pp_int': pp.c:(.text...