List Info

Thread: Is krb5support really required ?




Is krb5support really required ?
user name
2007-06-05 08:34:54
Greetings,

I'd like to build an svn hook script that automatically tags
in some
specific conditions. I'v tried to use the standard
svn-python bindings
but it's too low level and undocumented, so I wanted to try
with pysvn.

But when I want to compile it for my RHEL4, I get a linking
error that
complains about missing the krb5support library.
Our distrib has kerb5 installed but in version 1.3.x. The
krb5support
lib comes with version 1.4+. But RedHat only provides 1.3+
for RHEL4 and
our IT responsible does not want to force this, of course.

But because SVN really works ok in our current conditions, I
was
wondering if krb5support was really mandatory for pysvn ? If
not, how
could I compile it without it ?

Thank you.

Here is the compilation/linking error I get :
g++ -shared  -o pysvn/_pysvn_2_3.so pysvn.o
pysvn_callbacks.o
pysvn_client.o pysvn_enum_string.o pysvn_transaction.o
pysvn_revision.o
pysvn_docs.o pysvn_path.o pysvn_arg_processing.o
pysvn_converters.o
pysvn_svnenv.o pysvn_profile.o cxxsupport.o
cxx_extensions.o
cxxextensions.o IndirectPythonInterface.o -L/usr/lib
-Wl,--rpath
-Wl,/usr/lib -lsvn_client-1 -lsvn_diff-1 -lsvn_repos-1 
-lgssapi_krb5
-lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lexpat
-lneon
/usr/bin/ld: ne peut trouver -lkrb5support
collect2: ld a retourné 1 code d'état d'exécution
make: *** [pysvn/_pysvn_2_3.so] Erreur 1

-- 
Frédéric DUARTE
Software production process
OneAccess Networks R&D

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: Is krb5support really required ?
user name
2007-06-05 20:44:39
Frederic Duarte wrote:
...
> But because SVN really works ok in our current
conditions, I was
> wondering if krb5support was really mandatory for pysvn
? If not, how
> could I compile it without it ?

On many systems it is not required.
Simply use copy and paste to execute the "g++ -shared
..." command
again without the -l parameters the linker does not like.

Carsten.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: Is krb5support really required ?
user name
2007-06-12 03:27:06
Carsten Koch wrote:
> Simply use copy and paste to execute the "g++
-shared ..." command
> again without the -l parameters the linker does not
like.

Thank you ! This does the work, and the solution was so
simple ...

> On many systems it is not required.

So, could it be detected ?
Setup.py would generate the command with or without the -l
depending on
the lib availability.

-- 
Frédéric DUARTE
Software production process
OneAccess Networks R&D

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )