Compile rsync on Westhost 3

A little trick for compiling rsync. I didn’t think it would be just this easy, but all that is required is a simple change to the options.c file from
#include <popt.h>
to
#include "popt/popt.h"
I imagine this has something to do with the new version of gcc. This fixed the error I was getting on line 24 of options.c because popt.h was not found.

If you want rsync to work with a remote connection to your server, link or copy rsync to /usr/bin/rsync.
ln -s <your rsync path> /usr/bin/rsync

Leave a Reply