#9978: Add a test for the maths library in the 'prereq' script.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: enhancement | Status: positive_review
Priority: minor | Milestone: sage-4.7
Component: build | Keywords:
Author: David Kirkby | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Description changed by drkirkby:
Old description:
> The 'prereq' script in {{{$SAGE_ROOT/spkg/base}}} is currently version
> 0.7. This does not check that the maths library {{{libm}}} exists. I
> thought that was pretty much a formality, but it is not on AIX, where the
> shared maths library {{{/usr/lib/libm.a}}} does not get installed by
> default. This may also be the case on other operating systems, including
> perhaps some cut-down Linux distributions, though I'm not aware of any
> system other than AIX where the maths library does not get installed on a
> basic installation of the operating system.
>
> {{{
> -bash-4.1$ ls /usr/lib/libm*
> /usr/lib/libmbx.a
> }}}
>
> The maths library is part of the {{{bos.adt}}} fileset. Hence a test for
> the maths library should be added. After installing {{{bos.adt}}}, so the
> maths library exists:
>
> {{{
> -bash-4.1$ ls /usr/lib/libm*
> /usr/lib/libm.a /usr/lib/libmbx.a /usr/lib/libm_r.a
> /usr/lib/libmsaa.a /usr/lib/libmsaa_r.a
> }}}
>
> == Notes for reviewers ==
> You will need to copy the {{{prereq-0.8.tar}}} from this ticket and the
> {{{prereq-0.8-install}}} script from #11070 to {{{$SAGE_ROOT/spkg/base}}}
> For the purposes of reviewing this ticket, you only need to look at the
> changes to configure.ac.
>
> == Notes for the release manager ==
> This ticket must be merged with #11070. Each depends on the other. Some
> notes about the upgrade process are given on #11070
>
> Dave
New description:
The 'prereq' script in {{{$SAGE_ROOT/spkg/base}}} is currently version
0.7. This does not check that the maths library {{{libm}}} exists. I
thought that was pretty much a formality, but it is not on AIX, where the
shared maths library {{{/usr/lib/libm.a}}} does not get installed by
default. This may also be the case on other operating systems, including
perhaps some cut-down Linux distributions, though I'm not aware of any
system other than AIX where the maths library does not get installed on a
basic installation of the operating system.
{{{
-bash-4.1$ ls /usr/lib/libm*
/usr/lib/libmbx.a
}}}
The maths library is part of the {{{bos.adt}}} fileset. Hence a test for
the maths library should be added. After installing {{{bos.adt}}}, so the
maths library exists:
{{{
-bash-4.1$ ls /usr/lib/libm*
/usr/lib/libm.a /usr/lib/libmbx.a /usr/lib/libm_r.a
/usr/lib/libmsaa.a /usr/lib/libmsaa_r.a
}}}
== Notes for reviewers ==
You will need to copy the {{{prereq-0.8.tar}}} from this ticket and the
{{{prereq-0.8-install}}} script from #11070 to {{{$SAGE_ROOT/spkg/base}}}
For the purposes of reviewing this ticket, you only need to look at the
changes to configure.ac.
== Notes for the release manager ==
This ticket must be merged with #11070, which also has positive review.
Each depends on the other. Some notes about the upgrade process are given
on #11070
Dave
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9978#comment:9>
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.