On Nov 21, 7:27 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> Nils Bruin wrote:
> > On Nov 21, 4:42 pm, ghtdak <gl...@tarbox.org> wrote:
> >> In particular, where I'm getting bitten hard is svn and git.  Neither
> >> will run with sage's libgnutls.
>
> >> I "almost" had it beat by doing everything without the Sage
> >> environment which uses general Ubuntu tools until it came to the
> >> Enthought suite's "ets" command... ets calls svn from its python which
> >> is installed in sage.
>
> > You may be able to work around that particular problem by installing
> > an "svn" wrapper script in $SAGE_ROOT/local/bin that resets the
> > environment and executes the appropriate svn executable, with the
> > command line arguments passed on.
>
> In particular, this wrapper script can do something like:
>
> sage-native-execute $command
>
> which should set things up to use the system libraries by adjusting the
> LD_LIBRARY_PATH, if I remember correctly.

Yup, brilliant...

So, I created a shell script in $SAGE_LOCAL/bin named svn

>>>>>>>>>>>>

#!/bin/sh
sage-native-execute /usr/bin/svn "$@"

<<<<<<<<<<<<<<<

(did it without the fully qualified path first.... doh....)

Worked great.

thanks,

-glenn

>
> Jason
>
> --
> Jason Grout

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to