You are viewing a read-only archive of the Blogs.Harvard network. Learn more.
Skip to content

Getting cvsync running on cygwin

I’m trying to get cvsync running on cygwin

and after looking at the homepage. There didn’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

$ cd cvsync-0.24.19

$ make

It blew up on a variable called HASH_TYPE in the makefile. Seems that

cygwin doesn’t have a native hash library to use. Luckily it spit out

that it could use some hash types if fed one on a the command line. After

looking at the choices I decided to use the OpenSSL one. But make sure

to install openssl-devel from cygwin. Or else it won’t compile. After that

the compilation will go fine.


# Make sure the man directory exists or else the install barfs

$ mkdir -p /usr/local/man/man1

$ HASH_TYPE=openssl make install

make[1]: Entering directory `/cygdrive/c/someuser/docs/src/cvsync-0.24.19/cvscan'

*** Build parameters:

  CC_TYPE= default

  CFLAGS_OPTS=

  LDFLAGS_OPTS=

  PREFIX= /usr/local

  ZLIB_PREFIX=

  USE_INET6=

  USE_POLL=

  HASH_TYPE= openssl

  HASH_PREFIX= /usr/local

  PTHREAD_TYPE= native

  PTHREAD_PREFIX= /usr/local

  SOCKS5_TYPE=

  SOCKS5_PREFIX=

  ...

  *Lots deleted*

  ...

Be Sociable, Share!