Comments (4)
Thanks for the heads-up! It seems like CentOS 7 might be rolling with different compiler versions and settings. I'll sort that out. Meanwhile, as a quick fix, give this a shot:
# CFLAGS="-std=c99" ./configure --enable-utf8 --enable-geoip=mmdb
# make
...
or you can pass it directly to make:
# make CFLAGS="-std=c99"
from goaccess.
@allinurl thank you, it's showing another error:
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I./src -O2 -DSYSCONFDIR=\"/usr/local/etc\" -Wall -Wextra -Wnested-externs -Wformat=2 -g -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wshadow -Wold-style-definition -std=c99 -MT src/error.o -MD -MP -MF $depbase.Tpo -c -o src/error.o src/error.c &&\
mv -f $depbase.Tpo $depbase.Po
src/error.c: In function 'setup_sigsegv_handler':
src/error.c:141:20: error: storage size of 'act' isn't known
struct sigaction act;
^
src/error.c:143:3: warning: implicit declaration of function 'sigemptyset' [-Wimplicit-function-declaration]
sigemptyset (&act.sa_mask);
^
src/error.c:143:3: warning: nested extern declaration of 'sigemptyset' [-Wnested-externs]
src/error.c:144:24: error: 'SA_RESETHAND' undeclared (first use in this function)
act.sa_flags = (int) SA_RESETHAND;
^
src/error.c:144:24: note: each undeclared identifier is reported only once for each function it appears in
src/error.c:147:3: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
sigaction (SIGSEGV, &act, &old_sigsegv_handler);
^
src/error.c:147:3: warning: nested extern declaration of 'sigaction' [-Wnested-externs]
src/error.c:141:20: warning: unused variable 'act' [-Wunused-variable]
struct sigaction act;
from goaccess.
I've pushed a commit that's supposed to handle those declarations errors. Could you try building from the development and check if it resolves the issue on your end? Let me know how it goes. Thanks!
from goaccess.
Thanks, it's solve the issue.
from goaccess.
Related Issues (20)
- Web socket configuration for real time html report HOT 8
- Real-time JSON export HOT 2
- How to actually persist?
- Token '0.085]' doesn't match specifier '%s HOT 5
- Custom JSON format for Caddy log structure HOT 6
- confirm config file format for GoAccess config file (for syntax highlighting in Vim) HOT 2
- Strip URLS and ports to get only hostnames HOT 1
- Should Tx. Amount be similar to Elastic Load Blanacing usage?
- What does %H parse? HOT 1
- Different date range through the panel HOT 1
- Goaccess Websocket issue HOT 2
- Docker Deployment and WebSocket Questions for Beginners HOT 4
- [BUG?] Dark Theme causes radio buttons to display inverted HOT 1
- data does not hit and does not appear on the graph HOT 4
- Crontab HOT 2
- Log format error HOT 1
- Large Number of Invalid Requests HOT 3
- Can the official website and documents of goaccess be open sourced? HOT 2
- Version 1.6.3 introduces "Token for specifier is NULL" error HOT 1
- Goaccess Web Problem HOT 3
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 goaccess.