#12621: use bash for prereq install file
------------------------------+---------------------------------------------
       Reporter:  jhpalmieri  |         Owner:  GeorgSWeber                   
           Type:  defect      |        Status:  closed                        
       Priority:  critical    |     Milestone:  sage-duplicate/invalid/wontfix
      Component:  build       |    Resolution:  duplicate                     
       Keywords:              |   Work issues:                                
Report Upstream:  N/A         |     Reviewers:  Jeroen Demeyer                
        Authors:              |     Merged in:                                
   Dependencies:  #4949       |      Stopgaps:                                
------------------------------+---------------------------------------------
Changes (by jdemeyer):

  * status:  needs_review => closed
  * reviewer:  => Jeroen Demeyer
  * resolution:  => duplicate
  * milestone:  sage-5.0 => sage-duplicate/invalid/wontfix


Old description:

> The script prereq-0.9-install starts with the line
> {{{
> #!/bin/sh
> }}}
> As a result, when installing prereq on a Solaris machine, I see this:
> {{{
> Starting prerequisite check.
> Machine: SunOS mark2 5.10 Generic_127111-01 sun4u sparc SUNW,Sun-
> Blade-2500
> base/prereq-0.9-install: !: not found
> checking for a BSD-compatible install... ./install-sh -c
> }}}
> I think this is because of the line
> {{{
> if ! [ -f "$SAGE_ROOT/spkg/base/$TARGET.tar" ]; then
> }}}
> in prereq-0.9-install. Using bash to run this script instead of sh fixes
> the problem. So I propose using bash for this script
>
> Should the "0.9" be incremented with a change like this?
>
> -------
>
> Apply [attachment:trac_12621-prereq.v2.patch] to the root repo.

New description:

 The script prereq-0.9-install starts with the line
 {{{
 #!/bin/sh
 }}}
 As a result, when installing prereq on a Solaris machine, I see this:
 {{{
 Starting prerequisite check.
 Machine: SunOS mark2 5.10 Generic_127111-01 sun4u sparc SUNW,Sun-
 Blade-2500
 base/prereq-0.9-install: !: not found
 checking for a BSD-compatible install... ./install-sh -c
 }}}
 I think this is because of the line
 {{{
 if ! [ -f "$SAGE_ROOT/spkg/base/$TARGET.tar" ]; then
 }}}
 in prereq-0.9-install. Using bash to run this script instead of sh fixes
 the problem. So I propose using bash for this script.

 This will be fixed in #12112.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12621#comment:3>
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