#8523: Optional package  p_group_cohomology-1.2 fails to install on Solaris 10
SPARC
---------------------------------+------------------------------------------
   Reporter:  drkirkby           |       Owner:  SimonKing   
       Type:  defect             |      Status:  needs_review
   Priority:  major              |   Milestone:  sage-4.4    
  Component:  optional packages  |    Keywords:              
     Author:                     |    Upstream:  N/A         
   Reviewer:                     |      Merged:              
Work_issues:                     |  
---------------------------------+------------------------------------------

Comment(by dimpase):

 Replying to [comment:2 SimonKing]:
 > Hi Dima!
 >
 > I saw at this ticket when it was created, but I understood from the
 ticket description that it was not possible to install database_gap.

 Hi Simon,

 no, it was a Solaris-only problem, on the other patforms it worked just
 fine.
 (and the fix is trivial and available already)

 >
 > Are you saying that you can install database_gap, but the install script
 of the group cohomology package does not recognise it? What did you change
 to make it recognise database_gap?

 well, when did it work last time, with which Sage release?
 Probably since then the semantics of the script newest_version that you
 call in spkg-install has changed.
 It MUST be called from SAGE_ROOT/spkg --- if you call it from somewhere
 else it reports nonsense.

 So here is the diff:
 {{{
 --- a/spkg-install      Sat Mar 27 03:34:21 2010 -0700
 +++ b/spkg-install      Sat Mar 27 04:26:40 2010 -0700
 @@ -25,13 +25,10 @@
     exit 1
  fi

 -SMALL_GROUPS=`cd $SAGE_ROOT/spkg/optional/;
 $SAGE_ROOT/spkg/standard/newest_version database_gap`
 +SMALL_GROUPS=`cd $SAGE_ROOT/spkg; $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"
 +        echo "Failed to find SmallGroups library.  Please install the
 database_gap spkg, and make sure the corresponding spkg file (or any file
 with the same name!) is present in spkg/standard"
          exit 1
 -    fi
  fi

  # test whether we are on an intel mac
 }}}

 >
 > I am currently preparing a major upgrade of the group cohomology
 package. I expect it to be ready in about 2 weeks. Probably it would be
 easiest to incorporate the necessary  changes in the new version.
 >

 well, the fix is trivial, and it's better to have a working version for
 the next release already...

 Dima

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8523#comment:3>
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.

Reply via email to