安装goaccess出现错误

喜欢ヅ旅行 2024-04-19 08:28 124阅读 0赞

系统环境:ubuntu 16.04

首先要安装两个依赖:

  1. sudo apt-get install libncursesw5-dev
  2. sudo apt-get install libgeoip-dev

然后依此执行:

  1. ./configure --enable-utf8 --enable-geoip=legacy
  2. make
  3. make install

我再执行make install 时遇到了一个问题,提示如下:

  1. /usr/bin/install: cannot create regular file '/usr/local/lib/libGeoIP.so.1.6.11': Permission denied
  2. Makefile:367: recipe for target 'install-libLTLIBRARIES' failed
  3. make[2]: *** [install-libLTLIBRARIES] Error 1
  4. make[2]: Leaving directory '/home/ai/Downloads/goaccess-1.3/GeoIP-1.6.11/libGeoIP'
  5. Makefile:559: recipe for target 'install-am' failed
  6. make[1]: *** [install-am] Error 2
  7. make[1]: Leaving directory '/home/ai/Downloads/goaccess-1.3/GeoIP-1.6.11/libGeoIP'
  8. Makefile:444: recipe for target 'install-recursive' failed
  9. make: *** [install-recursive] Error 1

我的解决过程如下:

  1. make clean
  2. make
  3. sudo make install

其实这也是在 github 上看的,链接如下:

  1. https://github.com/tesseract-ocr/tesseract/issues/573#issuecomment-267292018

发表评论

表情:
评论列表 (有 0 条评论,124人围观)

还没有评论,来说两句吧...

相关阅读

    相关 GoAccess请求监控

    简介 [GoAccess][]是一款开源的实时web日志分析器和交互式查看器,用于可视化查看HTTP统计信息,可以系统的终端上运行,也可以通过浏览器运行; 本文通过使用