Goaccess: 运行 make 命令并从 Github 构建时出错

创建于 2017-04-07  ·  3评论  ·  资料来源: allinurl/goaccess

在从 git 构建它时运行 make 命令时出现以下错误。 当我通过 wget 获取代码时,我能够做到这一点。 我在 ubuntu 14.04 上运行它

./bin2c resources/tpls.html src/tpls.h tpls
./bin2c resources/css/bootstrap.min.css src/bootstrapcss.h bootstrap_css
./bin2c resources/css/fa.min.css src/facss.h fa_css
./bin2c resources/css/app.css src/appcss.h app_css
./bin2c resources/js/d3.v3.min.js src/d3js.h d3_js
./bin2c resources/js/hogan.min.js src/hoganjs.h hogan_js
./bin2c resources/js/charts.js src/chartsjs.h charts_js
./bin2c resources/js/app.js src/appjs.h app_js
make all-recursive
make[1]: Entering directory /home/ubuntu/goaccess' Making all in po make[2]: Entering directory/home/ubuntu/goaccess/po'
test ! -f ./goaccess.pot || 
test -z "fr.gmo" || make fr.gmo
make[3]: Entering directory /home/ubuntu/goaccess/po' rm -f fr.gmo && : -c --statistics --verbose -o fr.gmo fr.po mv: cannot stat ‘t-fr.gmo’: No such file or directory make[3]: *** [fr.gmo] Error 1 make[3]: Leaving directory/home/ubuntu/goaccess/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory /home/ubuntu/goaccess/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ubuntu/goaccess'
make: *** [all] Error 2
build documentation

最有用的评论

你安装了gettext吗?

# apt-get install gettext

然后请再次运行:

$ autoreconf -fiv
$ ./configure --enable-utf8 --enable-geoip=legacy
$ make
# make install

所有3条评论

你安装了gettext吗?

# apt-get install gettext

然后请再次运行:

$ autoreconf -fiv
$ ./configure --enable-utf8 --enable-geoip=legacy
$ make
# make install

您可能还需要在基于 debian 的系统上安装autopoint
# apt-get install autopoint
这是 travis 构建基于 debian 的必要步骤

关闭这个。 如果需要,请随时重新打开它。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

neftha picture neftha  ·  4评论

mhipo1364 picture mhipo1364  ·  3评论

ArunDahiya1 picture ArunDahiya1  ·  3评论

konungrl picture konungrl  ·  3评论

olimpo88 picture olimpo88  ·  3评论