[Csync2] Can't compile on Debian Sarge - missing dependency

Torrey Hoffman torrey at lockdownnetworks.com
Thu Nov 16 19:10:36 CET 2006


Thanks to everyone who suggested fixes for my compile problem.

A misleading error message in the config output was the cause of my
confusion.  Once I started looking closely at the contents of config.log
I was able to sort it out.  In case anyone else runs into this in the
future here are the details with lots of keywords for Google to hit :-)

The end of my config output was:
...
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... yes
checking for SSL_new in -lgnutls-openssl... no
configure: error: gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls
make[1]: *** [build-tree/csync2-1.33/config.log] Error 1
make[1]: Leaving directory `/build/csync2'
ERROR: Building failed!
make: *** [csync2] Error 1

But I did have all those packages installed, aside from gnutls-openssl,
which doesn't exist for Debian stable.  In particular, I did have
libgnutls11 and libgnutls11-dev.  The real problem was, I was missing
the following -dev libraries:

* libtasn1-2-dev
* libgcrypt11-dev
* libgpg-error-dev

Once those were added, the config and compile completed correctly, and
now csync2 is running fine with SSL.

Torrey Hoffman
torrey at lockdownnetworks.com 




More information about the Csync2 mailing list