Jump to content

Tommy - Perl: Installed Modules Can't Be Located


tarock2

Recommended Posts

Hi,

after moving from Stevie to Tommy I try to make my scripts work again. So I installed the Module "JSON::XS" (protocol see below).

When trying the script:

#!/usr/bin/perl -w

use strict;
use warnings;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Cpanel::JSON::XS;

print "Content-type: text/html\n\n";
print "Hello World\n";

I get the error:

Can't locate Cpanel/JSON/XS.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at test2.pl line 7.
BEGIN failed--compilation aborted at test2.pl line 7.

Thanks a lot in advance,

Bernhard

__________________________

 

Here the protocol of installing the module:

Testing connection speed...(using fast method)...Done
Ping:1000.0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 318229.99 bytes/s)...Done
Ping:1000.0 (ticks) Testing connection speed to ftp.stu.edu.tw using pureperl...(cached .. 4197.64 bytes/s)...Done
Ping:1000.0 (ticks) Testing connection speed to cpan.cpantesters.org using pureperl...(cached .. 4161.53 bytes/s)...Done
Ping:1000.0 (ticks) Testing connection speed to ftp.litnet.lt using pureperl...(cached .. 3221.94 bytes/s)...Done
Ping:1000.0 (ticks) Testing connection speed to mirror.is.co.za using pureperl...(cached .. 1866.13 bytes/s)...Done
Five usable mirrors located
Ping:1000.0 (ticks) Testing connection speed to 209.85.80.214 using pureperl...(using cached speed)...Done
Ping:1000.0 (ticks) Testing connection speed to 69.73.140.17 using pureperl...(using cached speed)...Done
Ping:1000.0 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://mirror.leaseweb.com/CPAN/index.html (connected:0).......(request attempt 1/12)...Resolving mirror.leaseweb.com...(resolve attempt 1/65)...@209.58.135.187......receiving......request success......Done
Mirror Check passed for mirror.leaseweb.com (/index.html)
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Jan  3 04:20:51 2017)
Tuned C compiler not available because it is not enabled....Done
Installer: cpanm: Not Available: Perl Expect (Could not load expect perl module: Can't locate Expect.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/local/cpanel/Cpanel/cPCPAN/Install.pm line 65.
)
Method: Using System Expect, Installer: cpanm
spawn /usr/local/cpanel/bin/cpanm --notest --local-lib=~/perl5 --notest --verbose --perl=/scripts/cpan_sandbox/x86_64/perl JSON::XS

--perl is deprecated since it's known to be fragile in figuring out dependencies. Run `/scripts/cpan_sandbox/x86_64/perl -S cpanm` instead.

cpanm (App::cpanminus) 1.7039 on perl 5.016003 built for x86_64-linux-thread-multi

Work directory is /home/tarock/.cpanm/work/1483450760.8201

You have make /bin/make

Falling back to HTTP::Tiny 0.056

You have /bin/tar: tar (GNU tar) 1.26

Copyright (C) 2011 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.



Written by John Gilmore and Jay Fenlason.

You have /bin/unzip

Testing connection speed...(using fast method)...Done

Ping:1000.0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 318229.99 bytes/s)...Done

Ping:1000.0 (ticks) Testing connection speed to ftp.stu.edu.tw using pureperl...(cached .. 4197.64 bytes/s)...Done

Ping:1000.0 (ticks) Testing connection speed to cpan.cpantesters.org using pureperl...(cached .. 4161.53 bytes/s)...Done

Ping:1000.0 (ticks) Testing connection speed to ftp.litnet.lt using pureperl...(cached .. 3221.94 bytes/s)...Done

Ping:1000.0 (ticks) Testing connection speed to mirror.is.co.za using pureperl...(cached .. 1866.13 bytes/s)...Done

Five usable mirrors located

Ping:1000.0 (ticks) Testing connection speed to 209.85.80.214 using pureperl...(using cached speed)...Done

Ping:1000.0 (ticks) Testing connection speed to 69.73.140.17 using pureperl...(using cached speed)...Done

Ping:1000.0 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done

Three usable fallback mirrors located

Fetching http://mirror.leaseweb.com/CPAN/index.html (connected:0).......(request attempt 1/12)...Resolving mirror.leaseweb.com...(resolve attempt 1/65)...@209.58.135.187......receiving......request success......Done

Mirror Check passed for mirror.leaseweb.com (/index.html)

Searching on cpanmetadb ...

Searching JSON::XS on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/JSON::XS) ...

Source: fastest CPAN mirror ... --> Working on JSON::XS

Fetching http://mirror.leaseweb.com/CPAN///authors/id/M/ML/MLEHMANN/JSON-XS-3.03.tar.gz ... OK

Unpacking JSON-XS-3.03.tar.gz

JSON-XS-3.03/

JSON-XS-3.03/t/

JSON-XS-3.03/t/52_object.t

JSON-XS-3.03/t/07_pc_esc.t

JSON-XS-3.03/t/13_limit.t

JSON-XS-3.03/t/20_faihu.t

JSON-XS-3.03/t/18_json_checker.t

JSON-XS-3.03/t/08_pc_base.t

JSON-XS-3.03/t/17_relaxed.t

JSON-XS-3.03/t/04_dwiw_encode.t

JSON-XS-3.03/t/19_incr.t

JSON-XS-3.03/t/12_blessed.t

JSON-XS-3.03/t/00_load.t

JSON-XS-3.03/t/01_utf8.t

JSON-XS-3.03/t/10_pc_keysort.t

JSON-XS-3.03/t/06_pc_pretty.t

JSON-XS-3.03/t/16_tied.t

JSON-XS-3.03/t/09_pc_extra_number.t

JSON-XS-3.03/t/22_comment_at_eof.t

JSON-XS-3.03/t/05_dwiw_decode.t

JSON-XS-3.03/t/03_types.t

JSON-XS-3.03/t/21_evans.t

JSON-XS-3.03/t/14_latin1.t

JSON-XS-3.03/t/02_error.t

JSON-XS-3.03/t/15_prefix.t

JSON-XS-3.03/t/99_binary.t

JSON-XS-3.03/t/11_pc_expo.t

JSON-XS-3.03/MANIFEST

JSON-XS-3.03/bin/

JSON-XS-3.03/bin/json_xs

JSON-XS-3.03/eg/

JSON-XS-3.03/eg/bench

JSON-XS-3.03/XS.xs

JSON-XS-3.03/Makefile.PL

JSON-XS-3.03/COPYING

JSON-XS-3.03/XS.pm

JSON-XS-3.03/XS/

JSON-XS-3.03/XS/Boolean.pm

JSON-XS-3.03/Changes

JSON-XS-3.03/typemap

JSON-XS-3.03/README

JSON-XS-3.03/META.yml

JSON-XS-3.03/META.json

Entering JSON-XS-3.03

Checking configure dependencies from META.json

Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.68)

Checking if you have Canary::Stability 0 ... No

==> Found dependencies: Canary::Stability

Searching Canary::Stability on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Canary::Stability) ...

Source: fastest CPAN mirror ... --> Working on Canary::Stability

Fetching http://mirror.leaseweb.com/CPAN///authors/id/M/ML/MLEHMANN/Canary-Stability-2012.tar.gz ... OK

Unpacking Canary-Stability-2012.tar.gz

Canary-Stability-2012/

Canary-Stability-2012/Stability.pm

Canary-Stability-2012/Changes

Canary-Stability-2012/Makefile.PL

Canary-Stability-2012/README

Canary-Stability-2012/COPYING

Canary-Stability-2012/MANIFEST

Canary-Stability-2012/META.yml

Canary-Stability-2012/META.json

Entering Canary-Stability-2012

Checking configure dependencies from META.json

Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.68)

Configuring Canary-Stability-2012 ... Running Makefile.PL

[2017-01-03 05:39:21 -0800] info [cpanm] /home/tarock/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc

info [cpanm] /home/tarock/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc



perl-64bit-hack: enabled

Checking if your kit is complete...

Looks good

Writing Makefile for Canary::Stability

Writing MYMETA.yml and MYMETA.json

OK

Checking dependencies from MYMETA.json ...

Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)

Building Canary-Stability-2012 ... cp Stability.pm blib/lib/Canary/Stability.pm

Manifying blib/man3/Canary::Stability.3pm

Installing /home/tarock/perl5/lib/perl5/Canary/Stability.pm

Installing /home/tarock/perl5/man/man3/Canary::Stability.3pm

Appending installation info to /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod

OK

Successfully installed Canary-Stability-2012

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/Canary-Stability-2012/install.json

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/Canary-Stability-2012/MYMETA.json

Configuring JSON-XS-3.03 ... Running Makefile.PL

perl-64bit-hack: enabled



***

*** Canary::Stability COMPATIBILITY AND SUPPORT CHECK

*** =================================================

***

*** Hi!

***

*** I do my best to provide predictable and reliable software.

***

*** However, in recent releases, P5P (who maintain perl) have been

*** introducing regressions that are sometimes subtle and at other times

*** catastrophic, often for personal preferences with little or no concern

*** for existing code, most notably CPAN.

***

*** For this reason, it has become very hard for me to maintain the level

*** of reliability and support I have committed myself to in the past, at

*** least with some perl versions: I simply can't keep up working around new

*** bugs or gratituous incompatibilities, and in turn you might suffer from

*** unanticipated problems.

***

*** Therefore I have introduced a support and compatibility check, the results

*** of which follow below, together with a FAQ and some recommendations.

***

*** This check is just to let you know that there might be a risk, so you can

*** make judgement calls on how to proceed - it will not keep the module from

*** installing or working.

***

*** The stability canary says: chirp! chirp! (it seems to be quite happy)

***

*** Your version of perl (5.016003) is quite supported by JSON::XS, nothing

*** else to be said, hope it comes in handy.

Checking if your kit is complete...

Looks good

Warning: prerequisite Types::Serialiser 0 not found.

Warning: prerequisite common::sense 0 not found.

Writing Makefile for JSON::XS

Writing MYMETA.yml and MYMETA.json

OK

Checking dependencies from MYMETA.json ...

Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)

Checking if you have Types::Serialiser 0 ... No

Checking if you have common::sense 0 ... No

==> Found dependencies: Types::Serialiser, common::sense

Searching Types::Serialiser on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Types::Serialiser) ...

Source: fastest CPAN mirror ... --> Working on Types::Serialiser

Fetching http://mirror.leaseweb.com/CPAN///authors/id/M/ML/MLEHMANN/Types-Serialiser-1.0.tar.gz ... OK

Unpacking Types-Serialiser-1.0.tar.gz

Types-Serialiser-1.0/

Types-Serialiser-1.0/Makefile.PL

Types-Serialiser-1.0/Serialiser.pm

Types-Serialiser-1.0/META.yml

Types-Serialiser-1.0/Changes

Types-Serialiser-1.0/META.json

Types-Serialiser-1.0/COPYING

Types-Serialiser-1.0/README

Types-Serialiser-1.0/t/

Types-Serialiser-1.0/t/00_load.t

Types-Serialiser-1.0/t/51_types.t

Types-Serialiser-1.0/Serialiser/

Types-Serialiser-1.0/Serialiser/Error.pm

Types-Serialiser-1.0/MANIFEST

Entering Types-Serialiser-1.0

Checking configure dependencies from META.json

Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.68)

Configuring Types-Serialiser-1.0 ... Running Makefile.PL

perl-64bit-hack: enabled

Checking if your kit is complete...

Looks good

Warning: prerequisite common::sense 0 not found.

Writing Makefile for Types::Serialiser

Writing MYMETA.yml and MYMETA.json

OK

Checking dependencies from MYMETA.json ...

Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)

Checking if you have common::sense 0 ... No

==> Found dependencies: common::sense

Searching common::sense on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/common::sense) ...

Source: fastest CPAN mirror ... --> Working on common::sense

Fetching http://mirror.leaseweb.com/CPAN///authors/id/M/ML/MLEHMANN/common-sense-3.74.tar.gz ... OK

Unpacking common-sense-3.74.tar.gz

common-sense-3.74/

common-sense-3.74/Makefile.PL

common-sense-3.74/sense.pm.PL

common-sense-3.74/META.yml

common-sense-3.74/Changes

common-sense-3.74/META.json

common-sense-3.74/LICENSE

common-sense-3.74/README

common-sense-3.74/t/

common-sense-3.74/t/00_load.t

common-sense-3.74/t/01_arch.t

common-sense-3.74/sense.pod

common-sense-3.74/MANIFEST

Entering common-sense-3.74

Checking configure dependencies from META.json

Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.68)

Configuring common-sense-3.74 ... Running Makefile.PL

perl-64bit-hack: enabled

Checking if your kit is complete...

Looks good

Writing Makefile for common::sense

Writing MYMETA.yml and MYMETA.json

OK

Checking dependencies from MYMETA.json ...

Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)

Building common-sense-3.74 ... /usr/bin/perl sense.pm.PL sense.pm

cp sense.pm blib/arch/common/sense.pm

cp sense.pod blib/lib/common/sense.pod

Manifying blib/man3/common::sense.3pm

Manifying blib/man3/common::sense.3pm

Manifying blib/man3/common::sense.3pm

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/common/sense.pm

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/common/sense.pod

Installing /home/tarock/perl5/man/man3/common::sense.3pm

Appending installation info to /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod

OK

Successfully installed common-sense-3.74

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/common-sense-3.74/install.json

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/common-sense-3.74/MYMETA.json

Building Types-Serialiser-1.0 ... cp Serialiser.pm blib/lib/Types/Serialiser.pm

cp Serialiser/Error.pm blib/lib/Types/Serialiser/Error.pm

Manifying blib/man3/Types::Serialiser.3pm

Manifying blib/man3/Types::Serialiser::Error.3pm

Installing /home/tarock/perl5/lib/perl5/Types/Serialiser.pm

Installing /home/tarock/perl5/lib/perl5/Types/Serialiser/Error.pm

Installing /home/tarock/perl5/man/man3/Types::Serialiser.3pm

Installing /home/tarock/perl5/man/man3/Types::Serialiser::Error.3pm

Appending installation info to /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod

OK

Successfully installed Types-Serialiser-1.0

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/Types-Serialiser-1.0/install.json

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/Types-Serialiser-1.0/MYMETA.json

Already tried common::sense. Skipping.

Building JSON-XS-3.03 ... cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm

cp XS.pm blib/lib/JSON/XS.pm

/usr/bin/perl /usr/share/perl5/vendor_perl/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap  XS.xs > XS.xsc && mv XS.xsc XS.c

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic   -DVERSION=\"3.03\" -DXS_VERSION=\"3.03\" -fPIC "-I/usr/lib64/perl5/CORE"   XS.c

gcc-64bit-hack: enabled

XS.xs: In function 'ptr_to_index':

XS.xs:207:10: warning: pointer targets in passing argument 2 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign]

          ? utf8_distance (offset, SvPVX (sv))

          ^

In file included from /usr/lib64/perl5/CORE/perl.h:5030:0,

                 from XS.xs:2:

/usr/lib64/perl5/CORE/proto.h:4534:18: note: expected 'const U8 *' but argument is of type 'char *'

 PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *

                  ^

XS.xs:207:10: warning: pointer targets in passing argument 3 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign]

          ? utf8_distance (offset, SvPVX (sv))

          ^

In file included from /usr/lib64/perl5/CORE/perl.h:5030:0,

                 from XS.xs:2:

/usr/lib64/perl5/CORE/proto.h:4534:18: note: expected 'const U8 *' but argument is of type 'char *'

 PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *

                  ^

XS.xs: In function 'ref_bool_type':

XS.xs:318:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

       if (len == 1)

          ^

XS.xs: In function 'encode_str':

XS.xs:429:23: warning: pointer targets in passing argument 1 of 'decode_utf8' differ in signedness [-Wpointer-sign]

                       uch = decode_utf8 (str, end - str, &clen);

                       ^

XS.xs:165:1: note: expected 'unsigned char *' but argument is of type 'char *'

 decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen)

 ^

XS.xs:482:23: warning: pointer targets in passing argument 1 of 'encode_utf8' differ in signedness [-Wpointer-sign]

                       enc->cur = encode_utf8 (enc->cur, uch);

                       ^

XS.xs:182:1: note: expected 'unsigned char *' but argument is of type 'char *'

 encode_utf8 (unsigned char *s, UV ch)

 ^

XS.xs:482:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]

                       enc->cur = encode_utf8 (enc->cur, uch);

                                ^



XS.xs: In function 'decode_str':

XS.xs:1095:26: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

                       if (hi >= 0xd800)

                          ^

XS.xs:1121:27: warning: pointer targets in passing argument 1 of 'encode_utf8' differ in signedness [-Wpointer-sign]

                           cur = encode_utf8 (cur, hi);

                           ^

XS.xs:182:1: note: expected 'unsigned char *' but argument is of type 'char *'

 encode_utf8 (unsigned char *s, UV ch)

 ^

XS.xs:1121:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]

                           cur = encode_utf8 (cur, hi);

                               ^

XS.xs:1141:15: warning: pointer targets in passing argument 1 of 'decode_utf8' differ in signedness [-Wpointer-sign]

               decode_utf8 (dec_cur, dec->end - dec_cur, &clen);

               ^

XS.xs:165:1: note: expected 'unsigned char *' but argument is of type 'char *'

 decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen)

 ^

XS.xs: In function 'decode_num':

XS.xs:1294:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

         if (numtype & IS_NUMBER_IN_UV)

            ^

XS.xs: In function 'decode_json':

XS.xs:1781:7: warning: pointer targets in passing argument 3 of 'Perl_pv_uni_display' differ in signedness [-Wpointer-sign]

       pv_uni_display (uni, dec.cur, dec.end - dec.cur, 20, UNI_DISPLAY_QQ);

       ^

In file included from /usr/lib64/perl5/CORE/perl.h:5030:0,

                 from XS.xs:2:

/usr/lib64/perl5/CORE/proto.h:3128:21: note: expected 'const U8 *' but argument is of type 'char *'

 PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)

                     ^

XS.xs: In function 'incr_parse':

XS.xs:1882:26: warning: multi-line comment [-Wcomment]

                     ++p; // "virtually" consumes character after \

                          ^

XS.xs:1946:7: warning: label 'modechange' defined but not used [-Wunused-label]

       modechange:

       ^

In file included from XS.xs:3:0:

XS.c: In function 'XS_JSON__XS_CLONE':

/usr/lib64/perl5/CORE/XSUB.h:164:20: warning: unused variable 'items' [-Wunused-variable]

 #define dITEMS I32 items = (I32)(SP - MARK)

                    ^

/usr/lib64/perl5/CORE/XSUB.h:172:16: note: in expansion of macro 'dITEMS'

  dSP; dAXMARK; dITEMS

                ^

XS.c:2115:11: note: in expansion of macro 'dXSARGS'

     dVAR; dXSARGS;

           ^

XS.xs: In function 'XS_JSON__XS_incr_parse':

XS.xs:2129:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

         if (!DECODE_WANTS_OCTETS (self) == !SvUTF8 (self->incr_text))

            ^

XS.xs:2151:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

             if (SvUTF8 (jsonstr) != SvUTF8 (self->incr_text))

                ^

In file included from /usr/lib64/perl5/CORE/perl.h:38:0,

                 from XS.xs:2:

XS.xs: In function 'encode_sv':

/usr/lib64/perl5/CORE/config.h:1422:31: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result [-Wunused-result]

 #define Gconvert(x,n,t, gcvt((x),(n),()

                               ^

XS.xs:873:7: note: in expansion of macro 'Gconvert'

       Gconvert (SvNVX (sv), NV_DIG, 0, enc->cur);

       ^

Running Mkbootstrap for JSON::XS ()

chmod 644 XS.bs

rm -f blib/arch/auto/JSON/XS/XS.so

gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro  XS.o  -o blib/arch/auto/JSON/XS/XS.so 	\

     	\

  

gcc-64bit-hack: enabled

chmod 755 blib/arch/auto/JSON/XS/XS.so

cp XS.bs blib/arch/auto/JSON/XS/XS.bs

chmod 644 blib/arch/auto/JSON/XS/XS.bs

cp bin/json_xs blib/script/json_xs

/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/json_xs

Manifying blib/man1/json_xs.1

Manifying blib/man3/JSON::XS::Boolean.3pm

Manifying blib/man3/JSON::XS.3pm

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/auto/JSON/XS/XS.so

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/auto/JSON/XS/XS.bs

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/JSON/XS.pm

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/JSON/XS/Boolean.pm

Installing /home/tarock/perl5/man/man1/json_xs.1

Installing /home/tarock/perl5/man/man3/JSON::XS::Boolean.3pm

Installing /home/tarock/perl5/man/man3/JSON::XS.3pm

Installing /home/tarock/perl5/bin/json_xs

Appending installation info to /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod

OK

Successfully installed JSON-XS-3.03

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/JSON-XS-3.03/install.json

Installing /home/tarock/perl5/lib/perl5/x86_64-linux-thread-multi/.meta/JSON-XS-3.03/MYMETA.json

4 distributions installed
Link to comment
Share on other sites

On this page https://tommy.heliohost.org:2083/frontend/paper_lantern/module_installers/main.html?lang=perl it says

Using Your Perl Module(s)

Your Perl script needs to know how to find the modules in your path. You can do this by adding one of the two choices below to the top of your script:

 

#!/usr/bin/perl

use cPanelUserConfig;

 

or

 

#!/usr/bin/perlml

Did you add either of those lines to your script?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...