I've created a binary distribution of 4.2 on my old SPARC with Solaris 03/2005.

I then moved that to a newer/faster SPARC running Solaris 10 update 7 
(05/2009), 
opened the notebook up, and tried to access it from another computer.

ie.

* Build binary on Solaris 10 03/2005 (SPARC)
* Run the binary on Solaris 10 05/2009 (SPARC)
* Use Firefox on OpenSolaris (x86) to view the notebook.

It is creating an error message:

/opt/kirkby/sage-4.2-Solaris-10-SPARC-sun4u-SunOS/local/bin/sage-native-execute:
 
xdg-open: not found

Is 'xdg-open' supposed to be included in Sage anywhere, or is the user expected 
to have it on their machine?

The file certainly does not exist anywhere on Solaris 10 03/2005 and I do not 
think on the later version either. I note Wolfram Research ship that file with 
Mathematica, so I assume they do not expect to find it on Solaris.

'xdg-open' *does* however exist as /usr/bin/xdg-open on OpenSolaris on x86. 
Looking at the script I see:

#!/usr/bin/bash
#---------------------------------------------
#   xdg-open
#
#   Utility script to open a URL in the registered default application.
#
#   Refer to the usage() function below for usage.
#
#   Copyright 2006, Kevin Krammer <kevin.kram...@gmx.at>
#   Copyright 2006, Jeremy White <jwh...@codeweavers.com>
#
#   LICENSE:
#
#   Permission is hereby granted, free of charge, to any person obtaining a
#   copy of this software and associated documentation files (the "Software"),
#   to deal in the Software without restriction, including without limitation
#   the rights to use, copy, modify, merge, publish, distribute, sublicense,

If this file is hidden in one of the .spkg files, it does not get copied to 
$SAGE_ROOT/local/bin.

So unless I am mistaken, the 'xdg-open' script  needs to be added to the Sage 
distribution. It is only 10 KB in size.

Dave




Dave

--~--~---------~--~----~------------~-------~--~----~
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