New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install: make error #47

Closed
vdevos opened this Issue Apr 11, 2013 · 10 comments

Comments

Projects
None yet
4 participants
@vdevos

vdevos commented Apr 11, 2013

I have installed FPM and Go and receive the following error message after issueing make

Makefile:21: warning: overriding commands for target `clean'
Makefile.ext:15: warning: ignoring old commands for target `clean'
go get -d github.com/alecthomas/gozmq
PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig \
      go install -tags zmq_3_x github.com/alecthomas/gozmq
go install -ldflags '-r $ORIGIN/../lib' lumberjack
can't load package: package lumberjack: import "lumberjack": cannot find package
make: *** [bin/lumberjack] Error 1
@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Apr 11, 2013

Contributor

the go version isn't ready for production.

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

Contributor

jordansissel commented Apr 11, 2013

the go version isn't ready for production.

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

@dannypatel

This comment has been minimized.

Show comment
Hide comment
@dannypatel

dannypatel Apr 11, 2013

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?

dannypatel commented Apr 11, 2013

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?

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Apr 11, 2013

Contributor

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.

Contributor

jordansissel commented Apr 11, 2013

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.

@dannypatel

This comment has been minimized.

Show comment
Hide comment
@dannypatel

dannypatel Apr 12, 2013

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) .

dannypatel commented Apr 12, 2013

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) .

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Apr 12, 2013

Contributor

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?

Contributor

jordansissel commented Apr 12, 2013

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?

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Aug 10, 2013

Contributor

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

Contributor

jordansissel commented Aug 10, 2013

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

@macling66

This comment has been minimized.

Show comment
Hide comment
@macling66

macling66 Sep 20, 2013

[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.

macling66 commented Sep 20, 2013

[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.

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Sep 20, 2013

Contributor

/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.

Contributor

jordansissel commented Sep 20, 2013

/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.

@macling66

This comment has been minimized.

Show comment
Hide comment
@macling66

macling66 Sep 25, 2013

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 ?

macling66 commented Sep 25, 2013

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 ?

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Sep 25, 2013

Contributor

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

Contributor

jordansissel commented Sep 25, 2013

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

urishalit pushed a commit to Aloomaio/logstash-forwarder that referenced this issue Oct 27, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment