#3537: [with patch] sage-env should set RM="rm -f"
----------------------+-----------------------------------------------------
Reporter: gfurnish | Owner: gfurnish
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: build | Resolution:
Keywords: | Author: gfurnish
Upstream: N/A | Reviewer:
Merged: | Work_issues:
----------------------+-----------------------------------------------------
Description changed by jhpalmieri:
Old description:
> The env variable RM is set to `rm` instead of `rm -f`. This breaks newer
> libtools, for example anything in Fedora 12 or later (libtool 2.2.6,
> autoconf 2.63, automake 1.11.1). They assume that `$RM` is either unset
> or `RM="rm -f"`, that is, deleting non-existing files must not cause an
> error.
>
> One of the symptoms of this breakage is that configure ends with
> {{{
> rm: cannot remove `libtoolT': No such file or directory
> }}}
> Compile will break later on...
New description:
The env variable RM is set to `rm` instead of `rm -f`. This breaks newer
libtools, for example anything in Fedora 12 or later (libtool 2.2.6,
autoconf 2.63, automake 1.11.1). They assume that `$RM` is either unset or
`RM="rm -f"`, that is, deleting non-existing files must not cause an
error.
One of the symptoms of this breakage is that configure ends with
{{{
rm: cannot remove `libtoolT': No such file or directory
}}}
Compile will break later on...
-------
There are two approaches presented here:
- change $RM from "rm" to "rm -f" (this is
[attachment:trac_3537_scripts.patch])
- keep $RM as it is, but document it (this is
[attachment:trac_3537-doc.patch])
Only one should be applied, not both.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3537#comment:17>
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.