#6681: [with spkg, needs review] cliquer doesn't work in 64-bit OS X
------------------------+---------------------------------------------------
Reporter: jhpalmieri | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: packages | Keywords:
Reviewer: | Author: Minh Van Nguyen
Merged: |
------------------------+---------------------------------------------------
Changes (by mvngu):
* owner: rlm => mabshoff
* component: graph theory => packages
Comment:
Replying to [comment:8 was]:
> 1. If the build fails, you've just possibly messed up $SAGE_LOCAL.
It's best if when building nothing is changed in SAGE_LOCAL unless the
build succeeds. So just move these lines down past the make line.
Done.
[[BR]][[BR]]
> 2. After the first time cliquer is installed, any future time it is
installed the line {{{mkdir "$SAGE_LOCAL/include/cliquer/"}}} will give an
error (which is ignored since the error isn't checked):
>
> {{{
> bash-3.2$ mkdir "$SAGE_LOCAL/include/cliquer/"
> mkdir: /Users/wstein/sage/build/64bit/sage/local/include/cliquer/:
File exists
> }}}
The file `spkg-install` now checks for the existence of the directory
`SAGE_LOCAL/include/cliquer/`. If that directory doesn't exist, it would
be created.
[[BR]][[BR]]
> You just luck out if it happens that the make failing doesn't produce
libcliquer.so since that cp line just happens to be the last line of the
file. You need to check the output code of the make like is done in every
other spkg-install.
Done. The output code of `make` is now checked.
[[BR]][[BR]]
> * Regarding the line that Kirkby pointed out that "CC=gcc". That's
trivial to fix -- just delete it in Makefile! Since CC gets sets before
spkg-install is run, it isn't something your spkg has to worry about.
Done.
[[BR]][[BR]]
An updated package is up at
http://sage.math.washington.edu/home/mvngu/release/spkg/standard/cliquer-1.2.p0.spkg
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6681#comment:10>
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
-~----------~----~----~----~------~----~------~--~---