Sample Header Ad - 728x90

Building rsync from git source

0 votes
1 answer
257 views
I am trying to build rsync 1.7.0 from git source. ~~~ $ autoreconf $ ./configure : config.status: error: cannot find input file: `config.h.in' ~~~ If I copy config.h.in from rsync-1.7.0.tar.gz, ./configure completes. But make fails: ~~~ $ make gcc -I. -I. -g -O2 -c rsync.c -o rsync.o In file included from rsync.c:20: rsync.h:274:10: fatal error: proto.h: No such file or directory 274 | #include "proto.h" | ^~~~~~~~~ compilation terminated. make: *** [Makefile:29: rsync.o] Error 1 ~~~ If I copy proto.h from rsync-1.7.0.tar.gz, it works. How do I create the missing proto.h and config.h.in that are in the tar file?
Asked by Ole Tange (37348 rep)
Dec 20, 2020, 06:11 AM
Last activity: Dec 20, 2020, 09:54 AM