<div dir="ltr"><div>use DESTDIR just like Sandor explained. <br><br>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.<br><br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-- <br>Bazsi<br></div></div></div>
<br><div class="gmail_quote">On Fri, Jul 31, 2015 at 3:21 PM, Jacek Drewniak <span dir="ltr"><<a href="mailto:jacek.drewniak@oort.in" target="_blank">jacek.drewniak@oort.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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. </div><div><br></div><div>It is very hard to copy compilled files from build directory (without --prefix and make install, to not install into my desktop). </div><div><br></div><div>It is possible to --prefix installation without hardcode paths to files? </div><div><br></div><div><br></div><div>In the other hand I configure syslog-ng without json but config still needs it. I have to delete <b>cim</b> to go further. </div><div><br></div><div><div><i>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:</i></div><div><i> included from /usr/local/etc/scl.conf line 32, column 1</i></div><div><i> included from /usr/local/etc/syslog-ng.conf line 8, column 1</i></div><div><i><br></i></div><div><i>template-function "format-cim" "$(format-json --pair @timestamp='${R_ISODATE}' --pair @message='${MSG}' --key .cim.* --shift 5 --key _* --key .* --replace-prefix .=_ --key *.*)\n";</i></div><div><i> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i></div><div><br></div><div><div><div dir="ltr"><div><div dir="ltr"><p><span style="font-family:Verdana,sans-serif;color:rgb(136,136,136)" lang="EN-US">-- <br></span><b><span style="font-size:13.5pt;font-family:Verdana,sans-serif;color:black" lang="EN-US">Jacek Drewniak</span></b><span style="font-family:Verdana,sans-serif;color:black" lang="EN-US"><br></span><font color="#000000" face="Verdana, sans-serif">R&D</font></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><b><span style="font-size:10pt;font-family:Verdana,sans-serif" lang="PL">email</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif" lang="PL">: </span><span style="font-size:10pt;font-family:Verdana,sans-serif"><a href="mailto:jacek.drewniak@oort.in" target="_blank"><font color="#000000">jacek.drewniak@oort.in</font></a></span><span style="font-size:10pt;font-family:Arial,sans-serif" lang="PL"></span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black" lang="PL">mobile</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black" lang="PL">: <u>+</u></span><span style="font-size:10pt;font-family:Verdana,sans-serif" lang="PL"><font color="#000000"><u>48 696 151 670</u></font></span><span style="font-size:10pt;font-family:Arial,sans-serif" lang="PL"></span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black">website</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif"><font color="#000000">:</font><span style="color:black"> </span><a href="http://www.oort.in/" style="color:rgb(17,85,204)" target="_blank"><font color="#000000">www.oort.in</font></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"></span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><br></p><p><span style="font-family:Verdana,sans-serif;color:black" lang="EN-US"><img><br></span></p><p><span style="color:rgb(153,153,153);font-family:verdana,sans-serif"><br></span></p><p><span style="color:rgb(153,153,153);font-family:verdana,sans-serif">AWARDS</span><br></p><p></p><p></p><p></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="verdana, sans-serif"><span style="color:rgb(153,153,153)">Bluetooth Breakthrough Award Finalist</span><br><span style="color:rgb(153,153,153)">CES 2015 </span><span style="color:rgb(153,153,153)">Envisioneering</span><i style="color:rgb(153,153,153)"> </i><span style="color:rgb(153,153,153)">Innovation & Design Award Winner</span><br><span style="color:rgb(153,153,153)">Tech Trailblazers Awards Winner</span><br><span style="color:rgb(153,153,153)">Most exciting company at Bluetooth Media Event in New York 2014</span><br><span style="color:rgb(153,153,153)">Polish Agency for Enterprise Development Award Winner</span></font><br></p></div></div></div></div></div>
</div></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>