Replies: 2 comments 2 replies
-
操作的环境是:root@DESKTOP-C48UTU1,从这里看是个人的主机,并不是在开发镜像里。具体参见:https://ilogtail.gitbook.io/ilogtail-docs/developer-guide/development-environment 如果确实需要本地操作,上面问题可以通过systemd-devel: sudo dnf install systemd-devel。但是后续可能还会遇到其他兼容性问题。这些都是一些很基本的兼容性问题,网上搜一下会有很多解决办法。 如果有开发需求,建议参与下双周会进行交流。一方面可以反馈下诉求,另一方面也可以将自己的经验分享给更多人。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
messixukejia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
make all success
but make plugin_local compile error
root@DESKTOP-C48UTU1:/home/jcy/ilogtail# go mod tidy
root@DESKTOP-C48UTU1:/home/jcy/ilogtail# make plugin_local
./scripts/plugin_build.sh mod c-shared output
Linux
x86_64
github.com/coreos/go-systemd/sdjournal
/root/go/pkg/mod/github.com/coreos/go-systemd@v0.0.0-20190719114852-fd7a80b32e1f/sdjournal/journal.go:27:11: fatal error: systemd/sd-journal.h: No such file or directory
27 | // #include <systemd/sd-journal.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:118: plugin_local] Error 2
Beta Was this translation helpful? Give feedback.
All reactions