Hi

I was wondering how I could compile rsyncrypto on mac systems. I tried forcing a compile by deleting the # if define(__UNIX__) or altering it to __APPLE__ but I result with this output:

Lena:rsyncrypto-1.10 fluppel$ make
make  all-am
g++ -DHAVE_CONFIG_H -I.   -I../openssl-0.9.8h//include -I../argtable2-9/src  -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
autommap.h: In constructor 'autommap::autommap(void*, size_t, int, int, int, off_t)':
autommap.h:37: error: 'mmap' was not declared in this scope
autommap.h: In constructor 'autommap::autommap(file_t, int)':
autommap.h:53: error: 'MAP_SHARED' was not declared in this scope
autommap.h: In member function 'void autommap::clear()':
autommap.h:87: error: 'munmap' was not declared in this scope
main.cpp: At global scope:
main.cpp:200: fatal error: opening dependency file .deps/main.Tpo: Permission denied
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [all] Error 2

I was wondering what I need to change since those guys appear to have tested it on mac osx..http://www.tropheesdulibre.org/rsyncrypto,213.html?lang=en

Has there been any progress on this post? http://sourceforge.net/mailarchive/message.php?msg_id=98BA8CEE-A718-44E2-B10B-83874A64369C%40gmail.com

Thanks for your help, Philippe