[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Post for 32-bit SWIG help for Subversion

From: Prystash,John <prystasj_at_oclc.org>
Date: 2007-06-21 22:08:44 CEST

> Is "gssapi/gssapi.h" available on your system? If so, are the
corresponding libraries in a place where Perl's
> DynaLoader.pm will pick them up?

I was able to find gssapi headers on the host but no corresponding
libraries

    /usr/kerberos/include/gssapi/gssapi_generic.h
    /usr/kerberos/include/gssapi/gssapi.h
    /usr/kerberos/include/gssapi/gssapi_krb5.h
    
On the 64-bit host (actually several hosts around here) where this
works, I found these libraries (no .h's though)

    /usr/lib64/libgssapi.so.1
    /usr/lib64/libgssapi.la
    /usr/lib64/libgssapi_krb5.so.2.2
    /usr/lib64/libgssapi_krb5.so.2
    /usr/lib64/libgssapi.so.1.0.0
    
So it looks like I'm missing the gssapi libraries then? Or can I
undefine HAVE_GSSAPI?

Thanks for the quick reply.
    
-----Original Message-----
From: Daniel Rall [mailto:dlr@collab.net]
Sent: Thursday, June 21, 2007 1:30 PM
To: Prystash,John
Cc: dev@subversion.tigris.org
Subject: Re: Post for 32-bit SWIG help for Subversion

On Thu, 21 Jun 2007, Prystash,John wrote:

>
> Hello, I'm having trouble installing the Perl SWIG bindings for
> Subversion 1.4.3 to a 32-bit host on Linux, RHEL4
>
> I use the same steps for building Subversion 1.4.3 and the Perl SWIG
> bindings on a 64-bit host without issue, but I am not having the same
> luck on a 32-bit host.
> I tried building them with SWIG 1.3.31, 1.3.29, and 1.3.24 on the
> 32-bit host, works fine with 1.3.31 on the 64-bit machine.
>
> tar xzf subversion-1.4.3.tar.gz
> tar xzf subversion-deps-1.4.3.tar.gz
> cd subversion-1.4.3
>
> ./configure --prefix=/sq/svn/i386 --with-swig=/sq/svn/i386/swig
> PERL=/sq/svn/i386/perl/bin/perl make clean && make && make install
>
> make swig-pl-lib
> make install-swig-pl-lib
> cd subversion/bindings/swig/perl/native
> perl Makefile.PL PREFIX=/sq/svn/i386 LIB=/sq/svn/i386 make make test
>
> make test returned these errors
>
> Can't load
> '/sq/quality/tmp/packages/subversion-1.4.3/subversion/bindings/swig/pe
> rl /native/blib/arch/auto/SVN/_Core/_Core.so' for module SVN::_Core:
> /sq/quality/tmp/packages/subversion-1.4.3/subversion/libsvn_ra_dav/.li
> bs
> /libsvn_ra_dav-1.so.0: undefined symbol: gss_delete_sec_context at
> /sq/svn/i386/perl/lib/DynaLoader.pm line 230.
>
> I have read similar posts indicating that gss* errors are related to
> Neon, but it doesn't seem possible to install the bindings without
neon.

The gss_delete_sec_context symbol is used be Neon, when it's compiled
with HAVE_GSSAPI defined.

> If I try I get a list of errors along the lines of:
>
> Note (probably harmless): No library found for -lsvn_subr-1
> Note (probably harmless): No library found for -lsvn_swig_perl-1
> ...
>
> I could be missing something completely obvious :). I've tried
> different combinations of things for a while, but any error I've ever
> encountered is related to _Core.so.
>
> Any help would greatly appreciated, thanks in advance.

Is "gssapi/gssapi.h" available on your system? If so, are the
corresponding libraries in a place where Perl's DynaLoader.pm will pick
them up?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 21 22:16:18 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.