Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: JSON::XS and blessings

by toolic (Bishop)
on Oct 14, 2015 at 14:59 UTC ( [id://1144870]=note: print w/replies, xml ) Need Help??


in reply to Re^2: JSON::XS and blessings
in thread JSON::XS and blessings

I'm asking because evidently *something* is different.
Some other ideas for checking differences...
use Data::Dumper; $Data::Dumper::Sortkeys=1; print Dumper(\%ENV); system 'uname -a';

The code is XS, which means that it requires a C compiler (which may be different).

Replies are listed 'Best First'.
Re^4: JSON::XS and blessings
by cshavit (Novice) on Oct 14, 2015 at 16:41 UTC
    Thanks! The environment vars are slightly different (by design) but none of the differences should matter (yeah, I know, famous last words...). The uname is the same.

    The two virtual servers are run by one Apache server, on one machine, under the same username. Yes, JSON::XS is compiled, but the two virtual servers use the same identical binaries.

      That sounds like you're deploying binaries, not building them in situ. I would try installing JSON::XS manually on the problem server in a different directory maybe and comparing the resulting code libs with what's already there. Or, if you can safely do destructive testing, just install it manually in the same place and see if the problem clears up.

        I built it myself, not deploying binaries This ubuntu server came naked, and I installed apache, mod_perl and all the cpan modules I use including JSON (and JSON:XS).

        If JSON:XS did not work, it would have been an easy thing to fix. If it does work in one virtual server and not on the other (running on the same machine, same apache server), that may push one to believe in ghosts.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1144870]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found