#12621: use bash for prereq install file
--------------------------+-------------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.0
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #4949
--------------------------+-------------------------------------------------
Description changed by jhpalmieri:
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, and also for the
> bzip2 install script.
>
> Should the "0.9" be incremented with a change like this?
>
> -------
>
> Apply [attachment:trac_12621-prereq.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
Should the "0.9" be incremented with a change like this?
-------
Apply [attachment:trac_12621-prereq.v2.patch] to the root repo.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12621#comment:2>
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.