0

I am trying to install syslog-ng-3.13.2 from source code on embedded linux. The ./configure command worked without any error. When I do make, I get the following error:

In file included from /source/lib/cfg-grammar.y:41:0, from modules/native/native-grammar.y:39: ./lib/logthrdestdrv.h:33:16: fatal error: iv.h: No such file or directory #include ^ compilation terminated. make[2]: * [modules/native/modules_native_libsyslog_ng_native_connector_a-native-grammar.o] Error 1 make[1]: * [all-recursive] Error 1 make: *** [all] Error 2

Is this because of some package dependency? Which package has iv.h header file?

UPDATE: As suggested in Stephen's answer I installed libivykis. Now I am getting a different error i.e Makefile:18272: recipe for target 'lib/ivykis/src/libivykis.la' failed.

The libivykis.la is in /usr/local/lib . I don't know why it is trying to build it in /syslog-ng-3.13.2/lib/ivykis/src

1 Answer 1

2

iv.h comes from libivykis. You don’t specify which distribution you’re using; on Debian and derivatives you’ll need to install libivykis-dev.

5
  • As suggested, I installed libivykis. Now I am getting a different error i.e Makefile:18272: recipe for target 'lib/ivykis/src/libivykis.la' failed. The libivykis.la is in /usr/local/lib . I don't know why it is trying to build it in /syslog-ng-3.13.2/lib/ivykis/src Commented Jan 8, 2018 at 10:32
  • Did you run ./configure again before make after installing libivykis? Commented Jan 8, 2018 at 10:40
  • Yes. I successfully executed ./configure after installing libivykis. Commented Jan 8, 2018 at 11:30
  • It looks like you need to add --with-ivykis=system to your ./configure arguments. Commented Jan 8, 2018 at 11:47
  • OK. That error is gone. Now I am getting some libcrypto.a error link fail error. Commented Jan 8, 2018 at 11:58

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.