Comments (7)
谢谢反馈,请问是什么系统,及系统版本
from serverstatus-hotaru.
centos 7 7.2到7。7貌似都不行
from serverstatus-hotaru.
cd vnstat-*/
./configure --prefix=/usr --sysconfdir=/etc && make
看看是什么错误。。
from serverstatus-hotaru.
编译vnStat失败,请手动安装vnStat
[root@VM-0-4-centos ~]# cd vnstat-*/
[root@VM-0-4-centos vnstat-2.6]# ./configure --prefix=/usr --sysconfdir=/etc && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pow in -lm... yes
checking for sqlite3_prepare_v2 in -lsqlite3... yes
checking for gdImagePng in -lgd... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
configure: testcases can not be execute without check installed
checking how to run the C preprocessor... /lib/cpp
configure: error: in /root/vnstat-2.6': configure: error: C preprocessor "/lib/cpp" fails sanity check See
config.log' for more details
[root@VM-0-4-centos vnstat-2.6]#
from serverstatus-hotaru.
还有个问题,我的系统是
[root@VM-0-4-centos ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
但是貌似安装程序时会提示
[信息] 检测到你的系统为 CentOS6,该系统自带的 Python2.6 版本过低,会导致无法运行客户端,如果你有能力升级为 Python2.7或以上版本,那么请继续(否则建议更换系统):[y/N]
from serverstatus-hotaru.
yum -y groupinstall "Development Tools"
看看能配置好编译环境吗
from serverstatus-hotaru.
我试了一台可以,我吧我所有的都重装一遍试试。应该没啥问题了 挺顺利的
from serverstatus-hotaru.
Related Issues (20)
- 昨晚就不更新了 HOT 2
- 能不能出docker 版的 HOT 1
- 如何移除卡片模式?
- 如何移除卡片模式?
- Ubuntu 22.10 负载为0
- gcc编译报错,服务端启动失败
- 请问如何更换域名
- 一会运行中,一会维护中
- 国内服务器无法部署 HOT 1
- 这个怎么说? HOT 7
- 两个小小的功能请求
- 安装后全维护中
- 请教什么是服务端什么是客户端
- openwrt,esxi是否能支持 HOT 3
- 解决国内无法安装的问题-优化脚本 HOT 1
- 无法停止服务端 HOT 2
- 卸载把原来就有的caddy也卸了
- 同时安装ServerStatus和Cockpit出现服务器数据是NAN HOT 2
- 服务端拒绝通信 HOT 1
- 求问alpine系统客户端应该如何安装
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverstatus-hotaru.