[syslog-ng] syslog-ng 3.4beta

Peter Czanik czanik at balabit.hu
Fri Dec 7 15:58:49 CET 2012


On 12/07/2012 12:52 PM, Gergely Nagy wrote:
> Peter Czanik <czanik at balabit.hu> writes:
>
>> On 12/07/2012 11:16 AM, Gergely Nagy wrote:
>>>> As always, the latest code is in git, Algernon builds daily snapshots.
>>> I triggered today's build earlier, so the snapshots[1] are up to date by
>>> now.
>>>
>>>    [1]: http://packages.madhouse-project.org/syslog-ng/3.4/
>>>
>> While trying to compile from this tgz I ran into a problem. Most likely
>> a .h did not find its way to the tgz...
> Yep, that was it, fix is available on the merge-queue/3.4 branch of
> mine[1].
>
>   [1]: https://github.com/algernon/syslog-ng/commit/d2df2e1eadffaff884ed95fb03372367a794bdff.patch
>
> I'm very tempted to run make distcheck as part of CI.
>
OK, here is my next catch:

[  132s] libtool: install: warning: relinking `libafamqp.la'
[  132s] libtool: install: (cd 
/home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/modules/afamqp; 
/bin/sh /home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/libtool --tag 
CC --mode=relink gcc -std=gnu99 -I./rabbitmq-c/librabbitmq 
-I./rabbitmq-c/librabbitmq -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -Wall -pthread -avoid-version -module 
-no-undefined -o libafamqp.la -rpath /usr/lib/syslog-ng 
libafamqp_la-afamqp-grammar.lo libafamqp_la-afamqp.lo 
libafamqp_la-afamqp-parser.lo ../../lib/libsyslog-ng.la 
-L./rabbitmq-c/librabbitmq -lrabbitmq -inst-prefix-dir 
/home/abuild/rpmbuild/BUILDROOT/syslog-ng-3.4.0alpha3-0.i386)
[  132s] libtool: relink: gcc -std=gnu99 -shared  -fPIC -DPIC 
.libs/libafamqp_la-afamqp-grammar.o .libs/libafamqp_la-afamqp.o 
.libs/libafamqp_la-afamqp-parser.o 
-L/home/abuild/rpmbuild/BUILDROOT/syslog-ng-3.4.0alpha3-0.i386/usr/lib 
-L/usr/lib -lsyslog-ng -L/lib -L../lib/ivykis -lnsl -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0 -levtlog -lcap -lpcre -ldl -lpthread -lrt 
-L./rabbitmq-c/librabbitmq -lrabbitmq  -O2 -pthread   -pthread 
-Wl,-soname -Wl,libafamqp.so -o .libs/libafamqp.so
[  132s] 
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: 
cannot find -lrabbitmq
[  132s] collect2: error: ld returned 1 exit status
[  132s] libtool: install: error: relink `libafamqp.la' with the above 
command before installing it
[  132s] make[4]: *** [install-moduleLTLIBRARIES] Error 1
[  132s] make[4]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/modules/afamqp'
[  132s] make[3]: *** [install-am] Error 2
[  132s] make[3]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/modules/afamqp'
[  132s] make[2]: *** [install] Error 2
[  132s] make[2]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/modules/afamqp'
[  132s] make[1]: *** [install-recursive] Error 1
[  132s] make[1]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/syslog-ng-3.4.0alpha3/modules'
[  132s] make: *** [install-recursive] Error 1

With --disable-amqp I can compile syslog-ng.

Bye,

-- 
Peter Czanik (CzP) <czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/




More information about the syslog-ng mailing list