[rsyslog-notify] Forum Thread: error: liblogging/stdlog.h: No such file or directory - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Mon Aug 4 17:38:35 CEST 2014


User: jholman 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24790#p24790

Message: 
----------
Got a file not found error:

$ ./configure --prefix=/home/johan/rsyslog --disable-regexp --disable-zlib
--disable-klog --disable-inet --disable-uuid --disable-libgcrypt
--disable-rsyslogrt --disable-rsyslogd --disable-testbench
--disable-largefile

rsyslog will be compiled with the following settings:
    Large file support enabled:               no
    Networking support enabled:               no

... everything on no (and no errors) ...

$ make V=1
make  all-recursive
make[1]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2'
Making all in compat
make[2]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2/compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/johan/rsyslog/rsyslog-8.2.2/compat'
Making all in runtime
make[2]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2/runtime'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/home/johan/rsyslog/lib/rsyslog/\"
-I\.. -I\../grammar -pthread  -I/home/johan/rsyslog/include/json-c  
-I\../tools   -g -O2 -MT librsyslog_la-rsyslog.lo -MD -MP -MF
.deps/librsyslog_la-rsyslog.Tpo -c -o librsyslog_la-rsyslog.lo `test -f
'rsyslog.c' || echo './'`rsyslog.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSD_EXPORT_SYMBOLS
-D_PATH_MODDIR=\"/home/johan/rsyslog/lib/rsyslog/\" -I.. -I../grammar
-pthread -I/home/johan/rsyslog/include/json-c -I../tools -g -O2 -MT
librsyslog_la-rsyslog.lo -MD -MP -MF .deps/librsyslog_la-rsyslog.Tpo -c
rsyslog.c  -fPIC -DPIC -o .libs/librsyslog_la-rsyslog.o
[b:3hy10jdw]rsyslog.c:62:31: error: liblogging/stdlog.h: No such file or
directory[/b:3hy10jdw]
In file included from obj-types.h:30,
                 from debug.h:28,
                 from rsyslog.h:533,
                 from rsyslog.c:64:
stringbuf.h:36:21: error: libestr.h: No such file or directory
....
make: *** [all] Error 2

[johan at defthwtest1log rsyslog-8.2.2]$ find /home/johan/rsyslog|grep
stdlog.h
/home/johan/rsyslog/include/liblogging/stdlog.h
/home/johan/rsyslog/liblogging-1.0.4/stdlog/stdlog.h

It is there, readable
$ ls -al /home/johan/rsyslog/include/liblogging/stdlog.h
-rw-r--r--. 1 johan users 4165 Aug  4 12:52
/home/johan/rsyslog/include/liblogging/stdlog.h

It looks if the Makefile isn't right?

$ grep johan Makefile
ACLOCAL = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing aclocal-1.13
AUTOCONF = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing autoconf
AUTOHEADER = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing autoheader
AUTOMAKE = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing automake-1.13
JSON_C_CFLAGS = -I/home/johan/rsyslog/include/json-c
JSON_C_LIBS = -L/home/johan/rsyslog/lib -ljson-c
LIBESTR_CFLAGS = -I/home/johan/rsyslog/include
LIBESTR_LIBS = -L/home/johan/rsyslog/lib -lestr
LIBLOGGING_STDLOG_CFLAGS = -I/home/johan/rsyslog/include
LIBLOGGING_STDLOG_LIBS = -L/home/johan/rsyslog/lib -llogging-stdlog
MAKEINFO = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing makeinfo
PKG_CONFIG_PATH = /home/johan/rsyslog/lib/pkgconfig
abs_builddir = /home/johan/rsyslog/rsyslog-8.2.2
abs_srcdir = /home/johan/rsyslog/rsyslog-8.2.2
abs_top_builddir = /home/johan/rsyslog/rsyslog-8.2.2
abs_top_srcdir = /home/johan/rsyslog/rsyslog-8.2.2
install_sh = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/install-sh
prefix = /home/johan/rsyslog


More information about the rsyslog-notify mailing list