Skip to content
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

make failed on syslog.LOG_DAEMON #104

Closed
jonrobles opened this issue Oct 18, 2013 · 7 comments
Closed

make failed on syslog.LOG_DAEMON #104

jonrobles opened this issue Oct 18, 2013 · 7 comments

Comments

@jonrobles
Copy link

Hi Jordan,

I got this error today on trying to make a .deb file for lumberjack

Debian 7.2
Linux clogger01 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

root@clogger01:/usr/local/src/lumberjack# make
Makefile:22: warning: overriding commands for target `clean'
Makefile.ext:15: warning: ignoring old commands for target `clean'
PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig \
                go build -ldflags '-r $ORIGIN/../lib' -v -o build/bin/lumberjack
_/usr/local/src/lumberjack
# _/usr/local/src/lumberjack
./syslog.go:10: undefined: syslog.LOG_DAEMON
make: *** [build/bin/lumberjack] Error 2
@jordansissel
Copy link
Contributor

Sorry for the trouble!
Your version of Go is too old. You need at least Go v1.1.1

@jonrobles
Copy link
Author

Thanks mate, worked like a charm after getting "go version go1.1.2 linux/amd64"

@kiranos
Copy link

kiranos commented Mar 26, 2014

why rely on so new versions of go? debian wheezy was probably not released yet when this was closed and still the go version is to old.

@jordansissel
Copy link
Contributor

@kiranos You do not need to build this project. We provide binary releases for you. This will remove your need to get a newer version of golang. http://www.elasticsearch.org/downloads/logstash-forwarder-0-3-1/

If you are intending on developing code for logstash-forwarder, you'll need a version of Go that this project supports. As a user, you can use the binary releases we provide.

I have no influence over the policies of the Debian project. If you wish them to provide you a newer version of the Go implementation, I recommend you ask the maintainer of that package in Debian.

Sorry for the trouble! :)

@kiranos
Copy link

kiranos commented Mar 27, 2014

@jordansissel sorry I misunderstood the importance of underlying go environment. I see your point and seems like a valid one as the binary has no refenceses to the locally installed go version

@brainstorm
Copy link

Just for the record/help for others:

Uninstall all golang Ubuntu packages and grab godeb if running on Ubuntu precise (packages are too old there): http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go

@xamox
Copy link

xamox commented Dec 29, 2014

This worked for me thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants