Comments (4)
neoagent requires json-c and libev. In Debian, execute following commad.
# aptitude install libjson0-dev libev-dev
I think "json.h" needs with the prefix "json/" on debian wheezy. (e.g. json/json.h)
As The build script of neoagent uses pkg-config for detecting the include paths of json-c and libev,
if json-c is installed normally, the above message should not be output in your environment.
from neoagent.
Thank you for your reply.
I tried it following packages, but I got the same results...
libjson0:amd64 (0.10-1.2) ...
libev4 (1:4.11-1) ...
libev-dev (1:4.11-1) ...
libjson0-dev:amd64 (0.10-1.2) ...
scons
$ scons configure
scons: Reading SConscript files ...
Python 2.7.3.final.0
SCons 2.1.0
Checking whether the C compiler worksyes
Checking for C library pthread... yes
Checking for C library ev... yes
Checking for C library json... yes
Checking for C library rt... yes
Checking for C header file stdint.h... yes
Checking for C header file stdbool.h... yes
Checking for C header file unistd.h... yes
Checking for C header file sys/stat.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file sys/socket.h... yes
Checking for C header file sys/un.h... yes
Checking for C header file sys/ioctl.h... yes
Checking for C header file arpa/inet.h... yes
Checking for C header file netinet/in.h... yes
Checking for C header file netdb.h... yes
Checking for C header file signal.h... yes
Checking for C header file errno.h... yes
Checking for C header file pthread.h... yes
Checking for C header file ev.h... yes
Checking for C function sigaction()... yes
Checking for C function sigignore()... yes
$ scons
scons: Reading SConscript files ...
Python 2.7.3.final.0
SCons 2.1.0
scons: done reading SConscript files.
scons: Building targets ...
gcc -o neoagent/bm.o -c -std=c99 -Wall -g -O2 -D_GNU_SOURCE -Wimplicit-function-declaration -Wunused-variable neoagent/bm.c
In file included from neoagent/bm.c:9:0:
neoagent/defines.h:25:18: fatal error: json.h: No such file or directory
compilation terminated.
scons: *** [neoagent/bm.o] Error 1
scons: building terminated because of errors.
from neoagent.
I guess this problem caused by pkg-config
.
Before install neoagent, we should install pkg-config
package.
sudo aptitude install pkg-config
Thank you.
from neoagent.
I added the caution about pkg-config. -> 7f28cbe
from neoagent.
Related Issues (19)
- add 'current_conn_max' in stats HOT 1
- Error output inclues current datetime HOT 1
- select event loop method HOT 1
- improve ability of checking health of server HOT 1
- re-configuration with SIGUSR2
- implicit declaration of function 'pthread_mutex_(un)?lock' in env.c
- add 'slow_query_sec' to neostat
- Can't build on OSX HOT 1
- add count of each command request in stats.
- connpool may switch from active to backup between na_connpool_select and na_connpool_assign
- Checking for C library ev... no HOT 6
- add man page for 'neostat' HOT 1
- create a document of 'neostat' HOT 1
- create a document of 'neostat' HOT 1
- backup server configuration HOT 2
- make each environment a process
- make each environment a process
- extensible buffer HOT 1
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 neoagent.