Hi,
I'm trying to compile custom package in Perl, but am getting into trouble.
I'm compiling with this :
pp -X JSON::XS -X JSON::DWIW -M XML/SAX/Expat.pm -M Net/OAuth/SignatureMethod/HMAC_SHA1.pm -M Net/OAuth/ProtectedResourceRequest.pm -M XML::LibXML::SAX::Parser -M XML::Simple -M RRD::Simple -M RRDs -M Pie/KnowledgeBase/Memory.pm -M Pie/KnowledgeBase/Question/Console.pm -M Pie/Attribute/Memory.pm -M Pie/Sequence/Memory.pm -M Pie/KnowledgeBase/RuleParser/XML.pm -X DBD::SQLite -X DBD::CSV -X DBD::File -X DBD::Excel -I ./Eclipse/lib -I . -o Tinia_Visu_Event_Server ./Eclipse/bin/Tinia_Event_Visu_Server.pl
but when run, I get this error :
use Pie::KnowledgeBase::Rule::Memory said: Couldn't find a JSON packag
+e. Need XS, JSON, or DWIW at Net/Twitter/Lite.pm line 11
BEGIN failed--compilation aborted at Net/Twitter/Lite.pm line 11.
Compilation failed in require at Pie/KnowledgeBase/Rule/Memory.pm line
+ 19.
BEGIN failed--compilation aborted at Pie/KnowledgeBase/Rule/Memory.pm
+line 19.
Compilation failed in require at (eval 29) line 1.
BEGIN failed--compilation aborted at (eval 29) line 1.
I have JSON modules installed (cpan says they are up to date). I also specify those modules explicitly, but they are still missing on runtime...
What am I doing wrong ?
Thanks in advance,
regards,
Rob.
Code tags fixed by GrandFather
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.