Here's the configure line I'm using currently: CFLAGS="-march=x86-64 -D_LARGEFILE64_SOURCE" ./configure --prefix=/usr/local --enable-omhiredis --enable-omzmq3 --enable-imzmq3 --enable-ommongodb --enable-relp --enable-mysql --enable-pgsql --enable-mmjsonparse --enable-mmnormalize --enable-libdbi --enable-elasticsearch --enable-omprog
I just rebuilt it using the latest HEAD of rsyslog and it worked fine for me. I suspect it's choking on you on the definition of off64_t. It looks like imzmq3.c is missing a #define in it. Try to add the -D flag in my configure line above and if it fixes your problem, I can see about adding a #define to that file if that's the right way to fix it. -- Gary F. On Jan 29, 2013, at 2:48 AM, Andre Lorbach <[email protected]> wrote: > Hi Gary, > > I am not able to compile the imzmq3 module with RSyslog 7.3 devel due changes > in the core. > Perhaphs you can look into this and fix the problem? > > Here is the output: > ------------------------------ > make[2]: Entering directory > `/builddir/build/BUILD/rsyslog-7.3.6/plugins/imzmq3' > CC imzmq3_la-imzmq3.lo > In file included from ../../runtime/obj.h:49, > from ../../runtime/rsyslog.h:509, > from imzmq3.c:33: > ../../runtime/stream.h:200: error: expected declaration specifiers or '...' > before 'off64_t' > ../../runtime/stream.h:200: error: expected declaration specifiers or '...' > before 'off64_t' > imzmq3.c: In function 'handlePoll': > imzmq3.c:494: warning: 'submitMsg' is deprecated (declared at > ../../dirty.h:33) > make[2]: *** [imzmq3_la-imzmq3.lo] Error 1 > make[2]: Leaving directory > `/builddir/build/BUILD/rsyslog-7.3.6/plugins/imzmq3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/builddir/build/BUILD/rsyslog-7.3.6' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.WtGsRt (%build) > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.WtGsRt (%build) > ------------------------------ > > During meantime I have to disable zmq3 modules for now. > > Best regards, > Andre Lorbach > > >> -----Original Message----- >> From: [email protected] [mailto:rsyslog- >> [email protected]] On Behalf Of Andre Lorbach >> Sent: Freitag, 18. Januar 2013 17:45 >> To: rsyslog-users >> Subject: Re: [rsyslog] RPM Updates for RSyslog >> >> Hi Gary, >> >> I looked into this and was able to create a package for omzmq3 and imzmq3 >> modules called "rsyslog-zmq3". Currently only available for the v7-stable >> RPM's. >> I was able to use the Fedora 17 RPM Sources for the needed packages, >> however only for EHEL 6 as EHEl 5 is missing libuuid support. >> I did some basic testing and it looks like that all dependencies are >> installed >> and working. >> >> I would be happy if somebody could run some tests. >> >> Best regards, >> Andre Lorbach >> >> >>> -----Original Message----- >>> From: [email protected] [mailto:rsyslog- >>> [email protected]] On Behalf Of Gary Foster >>> Sent: Donnerstag, 17. Januar 2013 19:04 >>> To: rsyslog-users >>> Subject: Re: [rsyslog] RPM Updates for RSyslog >>> >>> As long as we're asking, any chance we can get the zeromq3 plugins >>> (input and output) along with the relevant libs auto built? I'm >>> building them by hand for now, but would make my life easier obviously >>> if they were auto built. I'm currently using version 5 rsyslog on >>> edge machines to forward to a version 7 concentrator which then routes >>> to a lot of different endpoints (currently a couple of logstash >>> parsers via tcp, hadoop ingress via flume and a zeromq-based bus to >>> ruby listeners to do various data frobbing). I'm planning on adding >>> redis and a couple of additional database options to the mix soon as well. >>> >>> Ideally, I'd like to see a full push towards all the supported plugins >>> being in the repo and autobuilt but I realize that's a tall order. >>> >>> -- Gary F. >>> >>> On Jan 17, 2013, at 5:52 AM, Andre Lorbach <[email protected]> >>> wrote: >>> >>>> Nevermind, rsyslog-elasticsearch and rsyslog-mmjsonparse are already >>> present in Ubuntu repository ;). >>>> >>>> Best regards, >>>> Andre >>>> >>>>> -----Original Message----- >>>>> From: [email protected] [mailto:rsyslog- >>>>> [email protected]] On Behalf Of Andre Lorbach >>>>> Sent: Donnerstag, 17. Januar 2013 12:31 >>>>> To: rsyslog-users >>>>> Subject: Re: [rsyslog] RPM Updates for RSyslog >>>>> >>>>> Yes, I will look into this next. >>>>> >>>>>> -----Original Message----- >>>>>> From: [email protected] [mailto:rsyslog- >>>>>> [email protected]] On Behalf Of Rainer Gerhards >>>>>> Sent: Donnerstag, 17. Januar 2013 12:26 >>>>>> To: rsyslog-users >>>>>> Subject: Re: [rsyslog] RPM Updates for RSyslog >>>>>> >>>>>> Andre, >>>>>> >>>>>> any chance we could also add these tot he Ubuntu repository? >>>>>> >>>>>> Rainer >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: [email protected] [mailto:rsyslog- >>>>>>> [email protected]] On Behalf Of Andre Lorbach >>>>>>> Sent: Thursday, January 17, 2013 12:25 PM >>>>>>> To: rsyslog-users >>>>>>> Subject: [rsyslog] RPM Updates for RSyslog >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> thanks to Radu Gheorghe, we have added two new packages to our >>> RPM >>>>>>> repository (v7-stable and v7-devel): >>>>>>> - omelasticsearch (Only supported on EHEL 6) >>>>>>> - mmjsonparse >>>>>>> >>>>>>> As mmjsonparse depends on liblognorm, we also added RPM's for it >>>>>>> into our repository. >>>>>>> More information on the RPMS can be found here >>>>>>> http://www.rsyslog.com/rhelcentos-rpms/ >>>>>>> >>>>>>> Best regards, >>>>>>> Andre Lorbach >>>>>>> Adiscon GmbH >>>>>>> _______________________________________________ >>>>>>> rsyslog mailing list >>>>>>> http://lists.adiscon.net/mailman/listinfo/rsyslog >>>>>>> http://www.rsyslog.com/professional-services/ >>>>>>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE >>>>> WELL: >>>>>>> This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of >>>>>>> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if >>> you >>>>>>> DON'T >>>>>> LIKE THAT. >>>>>> _______________________________________________ >>>>>> rsyslog mailing list >>>>>> http://lists.adiscon.net/mailman/listinfo/rsyslog >>>>>> http://www.rsyslog.com/professional-services/ >>>>>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE >>> WELL: >>>>>> This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of >>>>>> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if >>>>>> you DON'T >>>>> LIKE THAT. >>>>> _______________________________________________ >>>>> rsyslog mailing list >>>>> http://lists.adiscon.net/mailman/listinfo/rsyslog >>>>> http://www.rsyslog.com/professional-services/ >>>>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE >> WELL: >>>>> This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of >>>>> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you >>> DON'T LIKE THAT. >>>> _______________________________________________ >>>> rsyslog mailing list >>>> http://lists.adiscon.net/mailman/listinfo/rsyslog >>>> http://www.rsyslog.com/professional-services/ >>>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE >>>> WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad >>>> of sites >>> beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T >>> LIKE THAT. >>> >>> _______________________________________________ >>> rsyslog mailing list >>> http://lists.adiscon.net/mailman/listinfo/rsyslog >>> http://www.rsyslog.com/professional-services/ >>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: >>> This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites >>> beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T >> LIKE THAT. >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com/professional-services/ >> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: >> This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond >> our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT. > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

