Ah, well then the files that you need are all included in the tarball, under 
the .../share/heka directory. Either copy the contents of the share directory 
to /usr/share on your system, or set the `share_dir` setting in your `[hekad]` 
config section to point to that directory in a different location.

-r


On 07/02/2015 12:56 PM, Ali wrote:
Hmm. . . .  Nope, not building from source, but good to know!  I'm
running the heka-0_9_2-linux-amd64.tar.gz binary.

-Ali

On Thu, Jul 2, 2015 at 2:45 PM Rob Miller <[email protected]
<mailto:[email protected]>> wrote:

    I'm guessing you're building from source? Before 0.9, all of the C
    modules that we expose to Lua were statically compiled, but now
    they're loaded from dynamic libraries. Unfortunately, the
    "installation from source" docs weren't updated to reflect that,
    apologies.

    I have since updated the documentation on the dev branch to include
    the final steps needed so that Heka will find the libraries that it
    needs. Please take a look at steps 4 and 5 in the build instructions
    and see if you can't use them to get things working:

    http://hekad.readthedocs.org/en/dev/installing.html#build-instructions

    Thanks,

    -r


    On 07/02/2015 11:38 AM, Ali wrote:
     > Hi, all.
     >
     > I put this script down for several weeks and just resumed work on it.
     > I'm getting an error about "date-time not found" in my SandboxDecoder
     > plug-in, but I don't think that was there before because I was
     > successfully using it in the grammars I successfully developed.
     >
     > I looked to see if I'm missing any relevant changes between Heka
     > releases -- maybe date_time is no longer provided -- but I didn't
    find
     > anything.  Using v0.9.2, here's what I get:
     >
     > ---------------------
     > 2015/07/02 13:14:47 MessageRouter started.
     > 2015/07/02 13:14:47 Input started: websphere-test-input
     > 2015/07/02 13:14:47 Input started: testInput
     > 2015/07/02 13:14:47 Decoder
     > 'websphere-test-input-ibm_systemout_decoder-1' error: Init()
     > ...app/heka_custom/lua_decoders/websphere_systemout.lua:3: module 'd
     > ate_time' not found:
     >          no file '/usr/share/heka/lua_modules/date_time.lua'
     >          no file '/usr/share/heka/lua_modules/date_time.so'
     > 2015/07/02 13:14:47 Shutdown initiated.
     > ---------------------
     >
     > The relevant line in websphere_systemout.lua is:
     >
     > local dt = require "date_time"
     >
     > TIA,
     > Ali
     >
     >
     > _______________________________________________
     > Heka mailing list
     > [email protected] <mailto:[email protected]>
     > https://mail.mozilla.org/listinfo/heka
     >


_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to