#8523: Optional package p_group_cohomology-1.2 fails to install on Solaris 10
SPARC, as well as Debian Linux x86/x86_64 and MacOSX 10.5 (PPC)
---------------------------------+------------------------------------------
Reporter: drkirkby | Owner: SimonKing
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.4
Component: optional packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Comment(by SimonKing):
Replying to [comment:20 jhpalmieri]:
> I think the problem is this: if you install "database_gap-4.4.12" by
downloading the spkg file and typing
> {{{
> sage -i PATH_TO/database_gap-4.4.12.spkg
> }}}
> then it is installed, but the spkg file is not copied to
SAGE_ROOT/spkg/optional or to SAGE_ROOT/spkg/standard. There is a
placeholder file in SAGE_ROOT/spkg/installed, and this is probably what
you should look for to test whether it's installed -- this is what the
file SAGE_ROOT/local/bin/sage-spkg does.
... and this is what I did in my spkg-install (for exactly the reason you
explain):
{{{
SMALL_GROUPS=`cd $SAGE_ROOT/spkg/optional/;
$SAGE_ROOT/spkg/standard/newest_version database_gap`
if [ "$SMALL_GROUPS" = "" ]; then
SMALL_GROUPS=`cd $SAGE_ROOT/spkg/installed/;
$SAGE_ROOT/spkg/standard/newest_version database_gap`
if [ "$SMALL_GROUPS" = "" ]; then
echo "Failed to find SmallGroups library. Please install the
database_gap spkg"
exit 1
fi
fi
}}}
Cheers,
Simon
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8523#comment:22>
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.