Using the fix in:

http://trac.sagemath.org/ticket/14414

... runsnake works fine on my system (Fedora 19, Sage 5.12).  The trac fix
uses sage-native-execute.


On Tue, Oct 22, 2013 at 5:36 AM, Jason Grout <[email protected]>wrote:

> On 10/22/13 12:39 AM, rickhg12hs wrote:
>
>> Since Sage depends on the host system's runsnake command, how about
>> letting it have its LD_LIBRARY_PATH to run?  Changing one line in
>> .../sage/misc/dev_tools.py allows it to work on my system.
>>
>> Last line of current runsnake definition:
>>
>>      os.system("/usr/bin/python -E `which runsnake` %s &"%tmpfile)
>>
>> Proposed change to use host system's LD_LIBRARY_PATH:
>>
>>      os.system("LD_LIBRARY_PATH=${**SAGE_ORIG_LD_LIBRARY_PATH}
>> /usr/bin/python -E `which runsnake` %s &"%tmpfile)
>>
>>
> We've had this problem for a long time in running system commands. That's
> why we have the sage-native-execute script (which does what you suggest and
> at least one more thing).  The idea behind the sage-native-execute script
> is to set the environment back to the system environment:
>
> https://github.com/sagemath/**sage/blob/master/src/bin/sage-**
> native-execute<https://github.com/sagemath/sage/blob/master/src/bin/sage-native-execute>(see
> http://trac.sagemath.org/**ticket/975<http://trac.sagemath.org/ticket/975>
> )
>
> It certainly can be improved 
> (http://trac.sagemath.org/**ticket/9386<http://trac.sagemath.org/ticket/9386>;
> http://trac.sagemath.org/**ticket/10286<http://trac.sagemath.org/ticket/10286>
> ).
>
> Can you try running runsnake with sage-native-execute?
>
> Thanks,
>
> Jason
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/**
> topic/sage-support/F-**yRz60ZgHc/unsubscribe<https://groups.google.com/d/topic/sage-support/F-yRz60ZgHc/unsubscribe>
> .
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscribe@**googlegroups.com<sage-support%[email protected]>
> .
> To post to this group, send email to [email protected].
> Visit this group at 
> http://groups.google.com/**group/sage-support<http://groups.google.com/group/sage-support>
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to