Comments (3)
it said you might need to "cpan -i JSON"
from collectd-web.
Thanks for the advice. Doing that gives this error:
Going to read '/root/.cpan/Metadata'
Database was generated on Fri, 16 Nov 2012 15:43:03 GMT
Running install for module 'JSON'
Running make for M/MA/MAKAMAKA/JSON-2.53.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/MA/MAKAMAKA/JSON-2.53.tar.gz ok
CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz
Welcome to JSON (v.2.53)
If you install JSON::XS v.2.27, it makes JSON faster.
CAUTION
```
This is 'JSON version 2' and there are many differences
to version 1.xx
Please check your applications useing old version.
See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS'
```
Do you want to install JSON::XS?(Y/n) [Y] y
Checking if your kit is complete...
Looks good
Warning: prerequisite JSON::XS 2.27 not found.
Writing Makefile for JSON
---- Unsatisfied dependencies detected during ----
---- MAKAMAKA/JSON-2.53.tar.gz ----
JSON::XS [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'JSON::XS'
Running make for M/ML/MLEHMANN/JSON-XS-2.33.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/ML/MLEHMANN/JSON-XS-2.33.tar.gz ok
CPAN.pm: Going to build M/ML/MLEHMANN/JSON-XS-2.33.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for JSON::XS
cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm
cp XS.pm blib/lib/JSON/XS.pm
/usr/bin/perl /usr/share/perl/5.12/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.33\" -DXS_VERSION=\"2.33\" -fPIC "-I/usr/lib/perl/5.12/CORE" XS.c
/bin/sh: cc: not found
make: **\* [XS.o] Error 127
MLEHMANN/JSON-XS-2.33.tar.gz
make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for M/MA/MAKAMAKA/JSON-2.53.tar.gz
Has already been unwrapped into directory /root/.cpan/build/JSON-2.53-op25LE
CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz
Warning: Prerequisite 'JSON::XS => 2.27' for 'MAKAMAKA/JSON-2.53.tar.gz' failed when processing 'MLEHMANN/JSON-XS-2.33.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
cp lib/JSON.pm blib/lib/JSON.pm
cp lib/JSON/backportPP/Compat5005.pm blib/lib/JSON/backportPP/Compat5005.pm
cp lib/JSON/backportPP/Boolean.pm blib/lib/JSON/backportPP/Boolean.pm
cp lib/JSON/backportPP/Compat5006.pm blib/lib/JSON/backportPP/Compat5006.pm
cp lib/JSON/backportPP.pm blib/lib/JSON/backportPP.pm
Manifying blib/man3/JSON::backportPP::Compat5005.3pm
Manifying blib/man3/JSON.3pm
Manifying blib/man3/JSON::backportPP::Compat5006.3pm
Manifying blib/man3/JSON::backportPP::Boolean.3pm
Manifying blib/man3/JSON::backportPP.3pm
MAKAMAKA/JSON-2.53.tar.gz
make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ................. ok
t/00_pod.t .................. skipped: Test::Pod 1.00 required for testing POD
t/01_utf8.t ................. ok
t/02_error.t ................ ok
t/03_types.t ................ ok
t/06_pc_pretty.t ............ ok
t/07_pc_esc.t ............... ok
t/08_pc_base.t .............. ok
t/09_pc_extra_number.t ...... ok
t/10_pc_keysort.t ........... ok
t/11_pc_expo.t .............. ok
t/12_blessed.t .............. ok
t/13_limit.t ................ ok
t/14_latin1.t ............... ok
t/15_prefix.t ............... ok
t/16_tied.t ................. ok
t/17_relaxed.t .............. ok
t/18_json_checker.t ......... ok
t/19_incr.t ................. ok
t/20_unknown.t .............. ok
t/21_evans_bugrep.t ......... ok
t/22_comment_at_eof.t ....... ok
t/99_binary.t ............... ok
t/e00_func.t ................ ok
t/e01_property.t ............ ok
t/e02_bool.t ................ ok
t/e03_bool2.t ............... ok
t/e04_sortby.t .............. ok
t/e05_esc_slash.t ........... ok
t/e06_allow_barekey.t ....... ok
t/e07_allow_singlequote.t ... ok
t/e08_decode.t .............. ok
t/e09_encode.t .............. ok
t/e10_bignum.t .............. ok
t/e11_conv_blessed_univ.t ... ok
t/e12_upgrade.t ............. ok
t/e13_overloaded_eq.t ....... ok
t/e14_decode_prefix.t ....... ok
t/e15_tie_ixhash.t .......... ok
t/e16_incr_parse_fixed.t .... ok
t/e90_misc.t ................ ok
t/x00_load.t ................ ok
t/x02_error.t ............... ok
t/x12_blessed.t ............. ok
t/x16_tied.t ................ ok
t/xe01_property.t ........... ok
t/xe02_bool.t ............... ok
t/xe03_bool2.t .............. ok
t/xe04support_by_pp.t ....... ok
t/xe05_indent_length.t ...... ok
t/xe08_decode.t ............. ok
t/xe10_bignum.t ............. ok
t/xe11_conv_blessed_univ.t .. ok
t/xe12_boolean.t ............ ok
t/xe19_xs_and_suportbypp.t .. ok
t/xe20_croak_message.t ...... ok
All tests successful.
Files=56, Tests=3820, 5 wallclock secs ( 0.46 usr 0.14 sys + 3.68 cusr 0.26 csys = 4.54 CPU)
Result: PASS
MAKAMAKA/JSON-2.53.tar.gz
Tests succeeded but one dependency not OK (JSON::XS)
MAKAMAKA/JSON-2.53.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force````
I'm using a virtual machine so have tried forcing and then went back on a snapshot. Forcing doesn't solve the problem and results in multiple errors, too. Any thoughts?
from collectd-web.
Out of the blue cpan -i JSON has now resolved it. Thanks for your help.
from collectd-web.
Related Issues (20)
- no text in graph(RRDs::graph: failed to load Monospace) HOT 2
- collectd-web trying to access one level deeper HOT 4
- Issue no hosts listed when using with apache (standalone works ok) HOT 2
- Support for Custom Graphs HOT 3
- Missing ChangeLog entry for 0.4.1
- rrd files with dash in filename doesn't match proper GraphDef HOT 1
- Specify Default Plot Duration
- Several graphs (ntpd, entrophy, users) not working (No DS called 'xxx' in yyy.rrd) HOT 4
- Support for custom types?
- Default timespan
- Patch to support some missing graphs, specially zfs_arc
- Patch for having generic IP
- XSS Vulnerabilitie in ajax_post.php
- Could the help doc be more detailed ?
- can't see hosts in hosts, don't know why HOT 1
- Use of uninitialized value $ContextRoot in concatenation
- status of this project? HOT 2
- custome graphdef addition HOT 1
- Collectd-Web don't display the host client
- Collectd-Web does not show proper charts and text?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collectd-web.