#6750: [with spkg, needs review] New version of optional Group Cohomology spkg
-------------------------------+--------------------------------------------
Reporter: SimonKing | Owner: SimonKing
Type: enhancement | Status: assigned
Priority: major | Milestone:
Component: optional packages | Keywords: cohomology ring p-group
Reviewer: | Author: Simon King
Merged: |
-------------------------------+--------------------------------------------
Comment(by SimonKing):
Replying to [comment:15 SimonKing]:
> Replying to [comment:14 jhpalmieri]:
> > A few installation issues: it requires database_gap, but if I download
that spkg and install it from the downloaded version (that is, using "sage
-i path_to/database_gap-4.4.10.spkg" rather than "sage -i
database_gap-4.4.10", which downloads the file), then its installation is
recorded in SAGE_ROOT/spkg/installed, but not in SAGE_ROOT/spkg/optional,
which is where your spkg-install looks.
>
> I didn't know that. IIRC, the part of spkg-install that checks for the
presence of the database is more or less copied from the Developer's
Guide. So, do you think I should look in both locations?
Definitely it does not suffice to look in SAGE_ROOT/spkg/installed
''only'', which I just checked.
Do you think the following snipped would be fine for spkg-install?
{{{
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
}}}
Regards,
Simon
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6750#comment:16>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---