GithubHelp home page GithubHelp logo

Install: make error about logstash-forwarder HOT 10 CLOSED

elastic avatar elastic commented on September 26, 2024
Install: make error

from logstash-forwarder.

Comments (10)

jordansissel avatar jordansissel commented on September 26, 2024

the go version isn't ready for production.

Do 'git checkout c' to use the C version.

from logstash-forwarder.

dannypatel avatar dannypatel commented on September 26, 2024

Tried git checkout c and then ran make and still no luck:
Libraries have been installed in:
/root/git/lumberjack/build/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

make[6]: Nothing to be done for install-data-am'. make[6]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium'
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium' make[4]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' make[5]: Entering directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done forinstall-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' make[4]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' Making install in test make[3]: Entering directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
Making install in default
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default' make[5]: Entering directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done forinstall-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default' make[4]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[5]: Entering directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done forinstall-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[4]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[3]: Entering directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3' make[4]: Nothing to be done forinstall-exec-am'.
make[4]: Nothing to be done for install-data-am'. make[4]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3' make[2]: Leaving directory/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[1]: Leaving directory `/root/git/lumberjack/vendor/libsodium'
go get -d github.com/alecthomas/gozmq
make: go: Command not found
make: *** [src/github.com/alecthomas/gozmq/zmq.go] Error 127

It is still looking for go. Is there a way to direct it to use c?

from logstash-forwarder.

jordansissel avatar jordansissel commented on September 26, 2024

I don't know what you are doing, but I see maybe 'c' conflicts in branch an dfile name, so I made a new branch 'original-c-version'

% git clone git://github.com/jordansissel/lumberjack.git
% git checkout original-c-version
% make

.... does stuff I expect ...

This works for me.

from logstash-forwarder.

dannypatel avatar dannypatel commented on September 26, 2024

That worked like a charm but when I run lumberjack to ship logs I see nothing but the following in the console:

2013-04-12T13:09:01.719-0700 flushing since nothing came in over zmq
2013-04-12T13:09:04.270-0700 flushing since nothing came in over zmq
2013-04-12T13:09:05.541-0700 flushing since nothing came in over zmq
2013-04-12T13:09:16.279-0700 flushing since nothing came in over zmq
2013-04-12T13:09:21.394-0700 flushing since nothing came in over zmq
2013-04-12T13:09:26.501-0700 flushing since nothing came in over zmq
2013-04-12T13:09:31.616-0700 flushing since nothing came in over zmq
2013-04-12T13:09:36.727-0700 flushing since nothing came in over zmq
2013-04-12T13:09:41.839-0700 flushing since nothing came in over zmq
2013-04-12T13:09:46.946-0700 flushing since nothing came in over zmq

The command I'm using is:
/opt/lumberjack/bin/lumberjack.sh --host log.common.wc --port 8140 --ssl-ca-path /opt/lumberjack/server.crt *log
----- Original Message -----
From: Jordan Sissel
Sent: 04/11/13 12:06 PM
To: jordansissel/lumberjack
Subject: Re: [lumberjack] Install: make error (#47)

null
I don't know what you are doing, but I see maybe 'c' conflicts in branch an dfile name, so I made a new branch 'original-c-version'
% git clone git://github.com/jordansissel/lumberjack.git % git checkout original-c-version % make .... does stuff I expect ...
This works for me.

Reply to this email directly or view it on GitHub #47 (comment) .

from logstash-forwarder.

jordansissel avatar jordansissel commented on September 26, 2024

but when I run lumberjack to ship logs I see nothing but the following in the console:

What do observe as the problem? How are you observing it?

from logstash-forwarder.

jordansissel avatar jordansissel commented on September 26, 2024

Closing idle. If this is still a problem please let me know! :)

from logstash-forwarder.

macling66 avatar macling66 commented on September 26, 2024

[root@webserver src]# gem install fpm
Successfully installed fpm-0.4.42
Installing ri documentation for fpm-0.4.42
/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for fpm after 13 seconds
1 gem installed

[root@webserver lumberjack]# make
Makefile:22: warning: overriding commands for target clean' Makefile.ext:15: warning: ignoring old commands for targetclean'
mkdir build
mkdir build/bin
PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig
go build -ldflags '-r $ORIGIN/../lib' -v -o build/bin/lumberjack
/bin/sh: go: command not found
make: *** [build/bin/lumberjack] Error 127

[root@webserver lumberjack]# git checkout original-c-version
error: pathspec 'original-c-version' did not match any file(s) known to git.

from logstash-forwarder.

jordansissel avatar jordansissel commented on September 26, 2024

/bin/sh: go: command not found

You are missing 'go' and need to install it.

We will eventually be providing official builds of lumberjack to work around dependency burdens like this, but for now, you'll just need to install go.

error: pathspec 'original-c-version' did not match any file(s) known to git.
The version of lumberjack written in C is no longer supported.

from logstash-forwarder.

macling66 avatar macling66 commented on September 26, 2024

thanks !!!

installed in centos ... got this error ( /lib/init/vars.sh ==> deb ? )

/etc/init.d/lumberjack status

/etc/init.d/lumberjack: line 28: /lib/init/vars.sh: No such file or directory

Please give advice ?

from logstash-forwarder.

jordansissel avatar jordansissel commented on September 26, 2024

Sorry; the init script provided with lumberjack works on debian only (Yay incompatibilities!)

from logstash-forwarder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.