#8664: Upgrade Sage's MPIR spkg to version 2.1.3 or later
-------------------------------------------+--------------------------------
Reporter: was | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: packages | Keywords: GMP ECM execstack
Fedora 14 extension module library dependencies
Author: Mike Hansen, Leif Leonhardy | Upstream: N/A
Reviewer: Leif Leonhardy | Merged:
Work_issues: |
-------------------------------------------+--------------------------------
Comment(by leif):
Replying to [comment:41 mpatel]:
> Does the problem in [comment:22 comment 22] occur during `$MAKE
install`?
{{{
#!sh
(cd /home/mpatel/build/cleo/sage-4.6.alpha2/local/include && rm -f gmp.h
&& cp mpir.h gmp.h)
/usr/bin/install -c -m 644 'mpir.h'
'/home/mpatel/build/cleo/sage-4.6.alpha2/local/include/mpir.h'
}}}
Smells like it does, doesn't it? ;-)
Or did I misunderstand you? (As mentioned in a comment above, the hint to
rerun `make` is given in the wrong situation.)
{{{
#!diff
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -123,18 +123,6 @@
$MAKE
if [ $? -ne 0 ]; then
echo "Error building MPIR."
- echo ""
- echo "If you see a message like:"
- cat <<EOF
- cp: cannot stat 'mpir.h': No such file or directory
- make[6]: *** [install-data-hook] Error 1
- make[6]: Leaving directory ...
- make[5]: *** [install-data-am] Error 2
- make[5]: *** Waiting for unfinished jobs....
-EOF
- echo "above, this is just due to a rare race condition."
- echo "Please simply rerun 'make' (or 'sage -i ...')."
- echo ""
exit 1
fi
@@ -146,6 +134,18 @@
if [ $? -ne 0 ]; then
if [ "$UNAME" != "CYGWIN" ]; then # On Cygwin an error is not
fatal.
echo "Error installing MPIR."
+ echo ""
+ echo "If you see a message like:"
+ cat <<EOF
+ cp: cannot stat 'mpir.h': No such file or directory
+ make[6]: *** [install-data-hook] Error 1
+ make[6]: Leaving directory ...
+ make[5]: *** [install-data-am] Error 2
+ make[5]: *** Waiting for unfinished jobs....
+EOF
+ echo "above, this is just due to a rare race condition."
+ echo "Please simply rerun 'make' (or 'sage -i ...')."
+ echo ""
exit 1
fi
fi
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8664#comment:43>
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.