#8509: Ilegal 'grep -o' causes problems installing optional packages on Solaris
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby  
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.4
  Component:  solaris   |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 == Hardware ==
  * Sun Blade 1000
  * 2 x 900 MHz UltraSPARC III+ CPUs.
  * 2 GB RAM

  == Software ==
  * Solaris 10 03/2005 (the first release)
  * Sage 4.3.4.alpha1 (The first Sage release to build and pass all
 doctests on Solaris)

 == The problem ==

 Despite the fact that Sage builds and pass all doctests (including the
 long ones), installing optional packages is problematic, as it would
 appear something is calling 'grep' with the '-o' option which is not POSIX
 compatible

 http://www.opengroup.org/onlinepubs/9699919799/utilities/grep.html

 This causes the problems below:

 {{{
 sage: for X in optional_packages()[1]:  install_package(X)
 ....:
 Force installing ace-5.0.p0
 Calling sage-spkg on ace-5.0.p0
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 ace-5.0.p0
 Machine:
 SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
 Deleting directories from past builds of previous/current versions of
 ace-5.0.p0
 /export/home/drkirkby/sage-4.3.4.alpha1/local/bin/sage-spkg: file
 ace-5.0.p0 does not exist
 Attempting to download it.
 grep: illegal option -- o
 Usage: grep -hblcnsviw pattern file . . .
 Searching for latest version of ace-5.0.p0
 Could not find a version for ace-5.0.p0.

 Force installing biopython-1.53.p0
 Calling sage-spkg on biopython-1.53.p0
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 biopython-1.53.p0
 Machine:
 SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
 Deleting directories from past builds of previous/current versions of
 biopython-1.53.p0
 /export/home/drkirkby/sage-4.3.4.alpha1/local/bin/sage-spkg: file
 biopython-1.53.p0 does not exist
 Attempting to download it.
 grep: illegal option -- o
 Usage: grep -hblcnsviw pattern file . . .
 Searching for latest version of biopython-1.53.p0
 Could not find a version for biopython-1.53.p0.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8509>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to