[syslog-ng] Syslog-ng cross compile

Jacek Drewniak jacek.drewniak at oort.in
Fri Jul 31 15:21:25 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150731/8b1000f4/attachment.htm 


More information about the syslog-ng mailing list