{"id":539,"date":"2006-10-14T10:56:10","date_gmt":"2006-10-14T15:56:10","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2006\/10\/14\/getting-cvsync-running-on-cygwin\/"},"modified":"2006-10-14T10:56:10","modified_gmt":"2006-10-14T15:56:10","slug":"getting-cvsync-running-on-cygwin","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2006\/10\/14\/getting-cvsync-running-on-cygwin\/","title":{"rendered":"Getting cvsync running on cygwin"},"content":{"rendered":"<p><a name='a664'><\/a><\/p>\n<p>I&#8217;m trying to get <a href=\"http:\/\/cvsync.org\">cvsync<\/a> running on cygwin<\/p>\n<p>and after looking at the homepage.  There didn&#8217;t seem to be that many<\/p>\n<p>straightforward instructions nor is there a package in the default<\/p>\n<p>cygwin repository.  Bummer.<\/p>\n<p>So I took a shot and tried downloading the tarball and compiling it.  <\/p>\n<p><em><\/p>\n<p>$ wget ftp:\/\/ftp.cvsync.org\/pub\/cvsync\/cvsync-0.24.19.tar.gz<\/p>\n<p>$ tar xvzf cvsync-0.24.19.tar.bz<\/p>\n<p>$ cd cvsync-0.24.19<\/p>\n<p>$ make<\/p>\n<p><\/em><\/p>\n<p>It blew up on a variable called HASH_TYPE in the makefile.  Seems that<\/p>\n<p>cygwin doesn&#8217;t have a native hash library to use.  Luckily it spit out<\/p>\n<p>that it could use some hash types if fed one on a the command line.  After<\/p>\n<p>looking at the choices I decided to use the OpenSSL one.  But make sure<\/p>\n<p>to install openssl-devel from cygwin. Or else it won&#8217;t compile.  After that<\/p>\n<p>the compilation will go fine.<\/p>\n<p><pre>\n\r\n# Make sure the man directory exists or else the install barfs\n\r\n$ mkdir -p \/usr\/local\/man\/man1\n\r\n$ HASH_TYPE=openssl make install\n\r\nmake[1]: Entering directory `\/cygdrive\/c\/someuser\/docs\/src\/cvsync-0.24.19\/cvscan'\n\r\n*** Build parameters:\n\r\n  CC_TYPE= default\n\r\n  CFLAGS_OPTS=\n\r\n  LDFLAGS_OPTS=\n\r\n  PREFIX= \/usr\/local\n\r\n  ZLIB_PREFIX=\n\r\n  USE_INET6=\n\r\n  USE_POLL=\n\r\n  HASH_TYPE= openssl\n\r\n  HASH_PREFIX= \/usr\/local\n\r\n  PTHREAD_TYPE= native\n\r\n  PTHREAD_PREFIX= \/usr\/local\n\r\n  SOCKS5_TYPE=\n\r\n  SOCKS5_PREFIX=\n\r\n  ...\n\r\n  *Lots deleted*\n\r\n  ...\n\r\n<\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to get cvsync running on cygwin and after looking at the homepage. There didn&#8217;t seem to be that many straightforward instructions nor is there a package in the default cygwin repository. Bummer. So I took a shot and tried downloading the tarball and compiling it. $ wget ftp:\/\/ftp.cvsync.org\/pub\/cvsync\/cvsync-0.24.19.tar.gz $ tar xvzf cvsync-0.24.19.tar.bz $ [&hellip;]<\/p>\n","protected":false},"author":704,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1212],"tags":[],"class_list":["post-539","post","type-post","status-publish","format-standard","hentry","category-tagme"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/704"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=539"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/539\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}