#18126: Coin-OR CBC: new-style SPKG
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:  sd66               |    Reviewers:
        Authors:  Nathann Cohen      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/18126       |  4e3830fbf8c6c7d72ba6f0cdf44ee761bc203a2a
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dcoudert):

 You did a push while I was testing the stuff, so I don't know if it will
 change something.

 After setting SAGE_ROOT in .bash_profile :
 {{{
 confetti:cbc dcoudert$ ./spkg-src
 --2015-04-06 15:07:53--  http://www.coin-
 or.org/download/source/Cbc/Cbc-2.9.4.tgz
 Résolution de www.coin-or.org (www.coin-or.org)… 130.127.215.8
 Connexion à www.coin-or.org (www.coin-or.org)|130.127.215.8|:80… connecté.
 requête HTTP transmise, en attente de la réponse… 200 OK
 Taille : 13761766 (13M) [application/x-gzip]
 Sauvegarde en : « Cbc-2.9.4.tgz »

 Cbc-2.9.4.tgz
 
100%[===================================================================================================================>]
 13,12M  93,9KB/s   ds 2m 9s

 2015-04-06 15:10:05 (104 KB/s) — « Cbc-2.9.4.tgz » sauvegardé
 [13761766/13761766]

 ./spkg-src: line 17: sage: command not found
 confetti:cbc dcoudert$ echo $SAGE_ROOT
 /Users/dcoudert/sage/
 confetti:cbc dcoudert$ sage
 ┌────────────────────────────────────────────────────────────────────┐
 │ SageMath Version 6.6.rc2, Release Date: 2015-04-02                 │
 │ Type "notebook()" for the browser-based notebook interface.        │
 │ Type "help()" for help.                                            │
 └────────────────────────────────────────────────────────────────────┘
 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 sage:
 Exiting Sage (CPU time 0m0.02s, Wall time 0m5.00s).
 confetti:cbc dcoudert$ cd $SAGE_ROOT
 confetti:sage dcoudert$ sage -i cbc
 Found local metadata for cbc-2.9.4
 Found local sources at /Users/dcoudert/sage/upstream/cbc-2.9.4.tar.bz2
 Checksum: 6afb943dcc3f60bff525456ad175cf19f6a2e28e vs
 6afb943dcc3f60bff525456ad175cf19f6a2e28e
 cbc-2.9.4
 ====================================================
 Setting up build directory for cbc-2.9.4
 ...
 ...
 Successfully installed cbc-2.9.4
 Deleting temporary build directory
 /Users/dcoudert/sage/local/var/tmp/sage/build/cbc-2.9.4
 Finished installing cbc-2.9.4.spkg

 Warning: it might be needed to update the Sage library before
 installed packages work: you should run 'make' from $SAGE_ROOT
 before running Sage.

 }}}

 So it is working this way, but it was not working when trying first `sage
 -i cbc`. Don't know why.

 What should I do next?

--
Ticket URL: <http://trac.sagemath.org/ticket/18126#comment:18>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to