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

goaccess git:(master) make error #1692

Open
letwang opened this issue Mar 4, 2020 · 1 comment
Open

goaccess git:(master) make error #1692

letwang opened this issue Mar 4, 2020 · 1 comment
Labels

Comments

@letwang
Copy link

@letwang letwang commented Mar 4, 2020

➜  goaccess git:(master) make
make  all-recursive
make[1]: Entering directory `/root/goaccess'
Making all in po
make[2]: Entering directory `/root/goaccess/po'
test ! -f ./goaccess.pot || \
	  test -z "de.gmo es.gmo fr.gmo ja.gmo sv.gmo zh_CN.gmo pt_BR.gmo" || make de.gmo es.gmo fr.gmo ja.gmo sv.gmo zh_CN.gmo pt_BR.gmo
make[3]: Entering directory `/root/goaccess/po'
rm -f de.gmo && /usr/local/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po:7: 头部缺少文件头"Language-Team"
/usr/local/bin/msgfmt: 发现 1 处致命错误
de.po: 209 条已翻译消息,3 条模糊消息,3 条未翻译消息.
make[3]: *** [de.gmo] 错误 1
make[3]: Leaving directory `/root/goaccess/po'
make[2]: *** [stamp-po] 错误 2
make[2]: Leaving directory `/root/goaccess/po'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/goaccess'
make: *** [all] 错误 2
➜  goaccess git:(master) make install
make  install-recursive
make[1]: Entering directory `/root/goaccess'
Making install in po
make[2]: Entering directory `/root/goaccess/po'
test ! -f ./goaccess.pot || \
	  test -z "de.gmo es.gmo fr.gmo ja.gmo sv.gmo zh_CN.gmo pt_BR.gmo" || make de.gmo es.gmo fr.gmo ja.gmo sv.gmo zh_CN.gmo pt_BR.gmo
make[3]: Entering directory `/root/goaccess/po'
rm -f de.gmo && /usr/local/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po:7: 头部缺少文件头"Language-Team"
/usr/local/bin/msgfmt: 发现 1 处致命错误
de.po: 209 条已翻译消息,3 条模糊消息,3 条未翻译消息.
make[3]: *** [de.gmo] 错误 1
make[3]: Leaving directory `/root/goaccess/po'
make[2]: *** [stamp-po] 错误 2
make[2]: Leaving directory `/root/goaccess/po'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/root/goaccess'
make: *** [install] 错误 2
➜  goaccess git:(master)
@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Mar 4, 2020

I'm not sure why you are getting that issues. Please try adding "Language-Team: \n" to the top of the de.po file. e.g., https://github.com/allinurl/goaccess/blob/master/po/es.po

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.