[syslog-ng] Syslog-ng cross compile

Jacek Drewniak jacek.drewniak at oort.in
Tue Aug 4 13:33:47 CEST 2015


Hi,
thank You very much for DESTDIR, it is very usefull.

Now I can start with real problems. :)

*root at xxx*:~#* syslog-ng*
[2015-08-04T11:22:37.513394] Error opening plugin module; module='confgen',
error='/usr/local/lib/syslog-ng/: cannot read file data: Is a directory'
[2015-08-04T11:22:37.527676] Error opening plugin module;
module='system-source', error='/usr/local/lib/syslog-ng/: cannot read file
data: Is a directory'
Error parsing source, source plugin system not found in
/usr/local/etc/syslog-ng.conf at line 10, column 2:

system();
^^^^^^

syslog-ng documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
*root at xxx*:~# *cd /usr/local/lib/syslog-ng/*
*root at xxx*:/usr/local/lib/syslog-ng# *ls*
libafamqp.a              libbasicfuncs.a          libkvformat.a
libafamqp.la             libbasicfuncs.la         libkvformat.la
libaffile.a              libconfgen.a             liblinux-kmsg-format.a
libaffile.la             libconfgen.la            liblinux-kmsg-format.la
libafmongodb.a           libcryptofuncs.a         libpseudofile.a
libafmongodb.la          libcryptofuncs.la        libpseudofile.la
libafprog.a              libcsvparser.a           libsdjournal.a
libafprog.la             libcsvparser.la          libsdjournal.la
libafsocket.a            libdbparser.a            libsyslogformat.a
libafsocket.la           libdbparser.la           libsyslogformat.la
libafstomp.a             libgraphite.a            libsystem-source.a
libafstomp.la            libgraphite.la           libsystem-source.la
libafuser.a              libjson-plugin.a         libtest
libafuser.la             libjson-plugin.la
*root at xxx*:/usr/local/lib/syslog-ng# *ls /usr/local/lib/*
libsyslog-ng.a   libsyslog-ng.la  pkgconfig        syslog-ng


-- 
*Jacek Drewniak*
R&D

*email*: jacek.drewniak at oort.in

*mobile*: *+**48 696 151 670*

*website*: www.oort.in




AWARDS

Bluetooth Breakthrough Award Finalist
CES 2015 Envisioneering Innovation & Design Award Winner
Tech Trailblazers Awards Winner
Most exciting company at Bluetooth Media Event in New York 2014
Polish Agency for Enterprise Development Award Winner

2015-08-02 14:38 GMT+02:00 Scheidler, Balázs <balazs.scheidler at balabit.com>:

> use DESTDIR just like Sandor explained.
>
> The other problem is a more fundamental issue to solve out-of-the-box, so
> if you don't have json, just remove the cim directory from your
> installation and you'll be fine.
>
>
>
> --
> Bazsi
>
> On Fri, Jul 31, 2015 at 3:21 PM, Jacek Drewniak <jacek.drewniak at oort.in>
> wrote:
>
>> Hello,
>>
>> I am trying to cross compile syslog-ng with yocto distro. I have problem
>> with --prefix. I would like to install syslog-ng to some custom folder and
>> than copy all files into my board. But prefix hadrcode files path into
>> syslog-ng.
>>
>> It is very hard to copy compilled files from build directory (without
>> --prefix and make install, to not install into my desktop).
>>
>> It is possible to --prefix installation without hardcode paths to files?
>>
>>
>> In the other hand I configure syslog-ng without json but config still
>> needs it. I have to delete *cim* to go further.
>>
>> *Error parsing config, Error compiling template (Unknown template
>> function "format-json") in /usr/local/share/include/scl/cim/template.conf
>> at line 23, column 32:*
>> *
>>       included from /usr/local/etc/scl.conf line 32, column 1*
>> *
>>       included from /usr/local/etc/syslog-ng.conf line 8, column 1*
>>
>> *template-function "format-cim" "$(format-json --pair
>> @timestamp='${R_ISODATE}' --pair @message='${MSG}' --key .cim.* --shift 5
>> --key _* --key .* --replace-prefix .=_ --key *.*)\n";*
>> *
>>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*
>>
>> --
>> *Jacek Drewniak*
>> R&D
>>
>> *email*: jacek.drewniak at oort.in
>>
>> *mobile*: *+**48 696 151 670*
>>
>> *website*: www.oort.in
>>
>>
>>
>>
>> AWARDS
>>
>> Bluetooth Breakthrough Award Finalist
>> CES 2015 Envisioneering Innovation & Design Award Winner
>> Tech Trailblazers Awards Winner
>> Most exciting company at Bluetooth Media Event in New York 2014
>> Polish Agency for Enterprise Development Award Winner
>>
>>
>> ______________________________________________________________________________
>> 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
>>
>>
>>
>
>
> ______________________________________________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150804/ff6293b3/attachment.htm 


More information about the syslog-ng mailing list