I built csync on essentially a brand new system. This is the brew doctor output:
Warning: Your file-system on / appears to be CaSe SeNsItIvE.
Homebrew is less tested with that - don't worry but please report issues.
The binary appears to work for local syncing (between two files on the same fs)
When trying to run csync on a remote FTP location, however, it fails immediately with:
csync_init: No such file or directory
This happens immediately, far too quickly for it to have actually attempted to connect to the remote system.
I Google'd around a bit, and it appears to be a packaging issue, so I'm reporting it here rather than upstream.
Let me know if you need any more details!
csync doesn't build for me on 10.6:
[ 96%] Building C object client/CMakeFiles/csync_client.dir/csync_client.c.o
/tmp/csync-pnRU/csync-0.49.9/modules/csync_smb.c: In function ‘_utimes’:
/tmp/csync-pnRU/csync-0.49.9/modules/csync_smb.c:399: error: passing argument 2 of ‘smbc_utimes’ from incompatible pointer type
Oh, that reminds me, I should specify: I'm on OS X 10.8.2 with Xcode 4.6.
Flagging as an upstream issue; the version of samba we package is probably not compatible with this. It looks like head makes samba optional; do you need samba features?
We can't upgrade samba since 4.x is still broke on OS X, so we'll need to disable samba.
0.50.0 was released recently; csync should be updated
Going to 0.50.0 on Snow Leopard gives me:
brew: superenv removed: -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute
/tmp/csync-h9Un/csync-0.50.0/src/std/c_string.c:55: error: thread-local storage not supported for this target
make: *** [src/std/CMakeFiles/cstdlib.dir/c_string.c.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/std/CMakeFiles/cstdlib.dir/all] Error 2
make: *** [src/CMakeFiles/csync.dir/rule] Error 2
Need to add at least depends_on :macos => :lion here; but should we redact this? Move to boneyard?
depends_on :macos => :lion
Marking this for removal
Updated to a newer samba, and posted a PR for a newer csync in #24337.
I don't use this software personally, so if someone wanted test it that would be appreciated.
Updated samba and csync; please brew update, then brew doctor and fix any issue and try the new versions of this software.
If problems persist, add new troubleshooting information to this ticket, or open a new one.
http://www.csync.org/archive/csync-devel/2011-05/0000003.html - there is no FTP support built-in
Edit: a workaround is to mount the FTP server w/ Finder and csync the local directory