In Sage versions 5.6, 5.7, and now in 5.8 too, installing the optional 
package cbc-2.7.5 doesn't work.

Some details: I always install sage from source on an intel 64 bit machine 
under Ubuntu. sage -i cbc-2.7.5 works fine. Doing sage -b afterwards yields:

Building sage/numerical/backends/coin_backend.pyx because it depends on 
../../local/include/coin/CbcStrategy.hpp.
Executing 1 command (using 1 thread)
cython --gdb --cplus --old-style-globals --embed-positions --directive 
cdivision=True,autotestdict=False,fast_getattr=True 
-I/home/mueller/local/sage-5.8/devel/sage-main -o 
sage/numerical/backends/coin_backend.cpp 
sage/numerical/backends/coin_backend.pyx

Error compiling Cython file:
------------------------------------------------------------
...

cdef extern from "../../local/include/coin/CbcStrategy.hpp":
    cdef cppclass CbcStrategy:
        pass
    cdef cppclass CbcStrategyDefault(CbcStrategy):
        CbcStrategyDefault(int cutsOnlyAtRoot=?, int numberStrong = ?, int 
numberBeforeTrust = ?, int printLevel = ?)
                                             ^
------------------------------------------------------------

sage/numerical/backends/coin_backend.pxd:29:46: Expected an identifier or 
literal

Error running command, failed with status 256.
Error installing modified sage library code.

Am I doing something wrong?

-- Peter Mueller

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to