#6681: [with spkg, needs review] cliquer doesn't work in 64-bit OS X
--------------------------+-------------------------------------------------
Reporter: jhpalmieri | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: graph theory | Keywords:
Reviewer: | Author: Minh Van Nguyen
Merged: |
--------------------------+-------------------------------------------------
Comment(by jhpalmieri):
Replying to [comment:3 mvngu]:
> An updated package is up at
>
>
http://sage.math.washington.edu/home/mvngu/release/spkg/standard/cliquer-1.2.p0.spkg
>
> Unlike the previous package cliquer-1.2.spkg, the updated package
cliquer-1.2.p0.spkg doesn't use SCons. Based upon the Makefile of cliquer
1.2, I added some custom compilation and linking flags to that Makefile.
The custom Makefile is located in the patch/ directory. When installing
cliquer-1.2.p0.spkg, the Makefile of cliquer found in src/ is replaced
with this custom Makefile. I have tested cliquer-1.2.p0.spkg under the
following platforms:
>
> * bsd.math --- Mac OS X 10.5.8 in 32-bit mode, compiling Sage
4.1.2.alpha1 from scratch with cliquer-1.2.p0.spkg. Compilation went OK;
all tests passed even with the option "-long".
Works for me, too (although so far I've only had the patience to doctest
the "graphs" directory).
> * bsd.math --- Mac OS X 10.5.8 in 64-bit mode, compiling Sage
4.1.2.alpha1 from scratch with cliquer-1.2.p0.spkg. ECL didn't build at
all in 64-bit mode. When ECL failed to build, I manually installed cliquer
using
> {{{
> ./sage -f spkg/standard/cliquer-1.2.p0.spkg
> }}}
> Compilation went OK. I didn't run the test suite since ECL failing to
build meant that I would get heaps of doctest failures.
See my message [http://groups.google.com/group/sage-
devel/browse_thread/thread/e4bf19abd63b598b?tvc=2 on sage-devel] for how I
got Sage 4.1.2.alpha1 to build and run (except for 1 doctest failure) on
64-bit Mac OS X. Basically, I used
[http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ecl-9.8.4.p0
-5th-attempt/ecl-9.8.4.p0.spkg]; although this doesn't actually build in
64-bit mode, it's not clear how bad that is. Sage runs this way, so it's
better than nothing. You could also test your cliquer spkg on
4.1.2.alpha0 or 4.1.1.
With this build, the new cliquer spkg doesn't work, unfortunately: it
compiles, but when I start Sage, I get the same {{{ImportError}}} as
reported in the ticket description:
{{{
ImportError Traceback (most recent call
last)
[snip]
ImportError:
dlopen(/Applications/sage_builds/sage-4.1.2.alpha1-64bit/local/lib/python2.6
/site-packages/sage/graphs/cliquer.so, 2): Symbol not found: _graph_new
Referenced from:
/Applications/sage_builds/sage-4.1.2.alpha1-64bit/local/lib/python2.6
/site-packages/sage/graphs/cliquer.so
Expected in: dynamic lookup
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
}}}
I wish I knew something about Makefiles, but I don't, so I don't know what
to suggest.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6681#comment:5>
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
-~----------~----~----~----~------~----~------~--~---