[syslog-ng] compiling problems --enable-mongodb --enable-json --enable-redis
jrhendri at roadrunner.com
jrhendri at roadrunner.com
Tue Jul 22 16:33:26 CEST 2014
OK - on the ubuntu box I ran a "make distclean" then re-ran the configure and ran:
make V=1 > make.out 2>make.err
then
make V=1 > make.all 2>&
all three gzipped attached.
I really appreciate the help!
Jim
---- Gergely Nagy <algernon at balabit.hu> wrote:
> <jrhendri at roadrunner.com> writes:
>
> > RHEL 5:
> > I have installed json-c & redis-stable which provides these libraries:
> >
> > ./redis-stable/deps/hiredis/hiredis.h
> > ./redis-stable/deps/hiredis/libhiredis.a
> >
> > and created links here to try and get around issues:
> > /usr/lib/hiredis
> > /usr/lib/hiredis/libhiredis.a
> > /usr/include/hiredis
> > /usr/include/hiredis/hiredis.h
> >
> [...]
> > Make fails here:
> >
> > CC modules/redis/modules_redis_libredis_la-redis-grammar.lo
> > CC modules/redis/modules_redis_libredis_la-redis.lo
> > CC modules/redis/modules_redis_libredis_la-redis-parser.lo
> > CCLD modules/redis/libredis.la
> > /usr/bin/ld: cannot find -lhiredis
> > collect2: ld returned 1 exit status
> > make[2]: *** [modules/redis/libredis.la] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > [n0142566 at VDDP13E-F1A47ED syslog-ng-3.5.4.1]$
>
> Can you run make with a V=1 parameter? That will tell us all the
> parameters it passes to gcc when compiling and linking. The problem is
> likely that the library is not on the search path, and for some reason,
> we don't put it there either.
>
> Running with V=1 should reveal what the issue is, more clearly.
>
> --
> |8]
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out.gz
Type: application/gzip
Size: 18473 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140722/c9ce856e/attachment-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.err.gz
Type: application/gzip
Size: 363 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140722/c9ce856e/attachment-0004.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.err.gz
Type: application/gzip
Size: 363 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140722/c9ce856e/attachment-0005.bin
More information about the syslog-ng
mailing list