Coder Social home page Coder Social logo

Comments (4)

cubicdaiya avatar cubicdaiya commented on June 16, 2024

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.

t-cyrill avatar t-cyrill commented on June 16, 2024

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.

t-cyrill avatar t-cyrill commented on June 16, 2024

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.

cubicdaiya avatar cubicdaiya commented on June 16, 2024

I added the caution about pkg-config. -> 7f28cbe

from neoagent.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.