Goaccess: make ๋ช…๋ น์„ ์‹คํ–‰ํ•˜๊ณ  Github์—์„œ ๋นŒ๋“œํ•˜๋Š” ๋™์•ˆ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.

์— ๋งŒ๋“  2017๋…„ 04์›” 07์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: allinurl/goaccess

git์—์„œ ๋นŒ๋“œํ•˜๋Š” ๋™์•ˆ make ๋ช…๋ น์„ ์‹คํ–‰ํ•˜๋Š” ๋™์•ˆ ์•„๋ž˜ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. ๋‚˜๋Š” wget์„ ํ†ตํ•ด ์ฝ”๋“œ๋ฅผ ์–ป์„ ๋•Œ ๊ทธ๊ฒƒ์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์šฐ๋ถ„ํˆฌ 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

๋ฐ๋น„์•ˆ ๊ธฐ๋ฐ˜์— autopoint ๋ฅผ ์„ค์น˜ํ•ด์•ผ ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
# apt-get install autopoint
์ด๊ฒƒ์€ travis ๋นŒ๋“œ ๋ฐ๋น„์•ˆ ๊ธฐ๋ฐ˜์— ํ•„์š”ํ•œ ๋‹จ๊ณ„์ž…๋‹ˆ๋‹ค.

๋‹ซ์Šต๋‹ˆ๋‹ค. ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์ž์œ ๋กญ๊ฒŒ ๋‹ค์‹œ ์—ฝ๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰