Lambdacurry

Subversion build errors: gss_delete_sec_context


Gah… have a better Autoconf/configure.

When building Subversion with ”./configure —without-berkeley-db” , it builds fine but the Python bindings croak out.

You have to do a lot of arcane debugging (by setting PYTHONVERBOSE to 2 or greater) and then you see that it fails in ”import svn.core” .  What might be the problem?

 gss_delete_sec_context undefined

To fix this, you need to modify the Makefile in the top level subversion directory from:

 <  SVN_APR_LIBS = /home/ssriniva/s2/subversion-1.4.4/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl

to

 > SVN_APR_LIBS = /home/ssriniva/s2/subversion-1.4.4/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl -L/usr/lib/sasl -lgssapiv2

The location of libgssapiv2 may vary from system to system.

This fixes the problem.


Lambdacurry

Subversion build errors: gss_delete_sec_context

Published

January 03, 2008

Find me on Twitter @sandeepssrin

Did i make any mistake? Please consider sending a pull request.