Patch to fix missing "popt.h" make error

Phil Hassey phil at
Thu Apr 26 20:06:38 GMT 2007


Frequently when compiling rsync, I get this error during the make process:

gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W  -c options.c -o options.o
options.c:24:18: popt.h: No such file or directory
make: *** [options.o] Error 1

This is easily fixed by changing line 24 of options.c from:
#include <popt.h>
#include "popt/popt.h"

Phil Hassey
VP, Product Development
Lance Technologies LLC
2810 Sweet Home Road
Amherst, NY 14228
E-mail: phil at
Toll-Free: 1.800.520.2969 ext 704
Fax: 734.268.0015
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list