[syslog-ng] Syslog-ng cross compile

Sandor Geller sandor.geller at ericsson.com
Fri Jul 31 16:08:07 CEST 2015


Hi,

On 07/31/2015 03:21 PM, Jacek Drewniak 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?

The prefix should remain in place however you can run make install for 
packaging purposes this way:

make DESTDIR=/alternate/path install

I can't help on the other issue, sorry.

Regards,

Sandor


More information about the syslog-ng mailing list