#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: drkirkby | Author: Minh Van Nguyen
Merged: |
------------------------+---------------------------------------------------
Comment(by ddrake):
One tiny problem I see on Ubuntu Jaunty amd64: the installation says it's
building a 32-bit version, but I'm reasonably certain a 64-bit version
gets built. Here's a couple of the gcc lines from installation:
{{{
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-DENABLE_LONG_OPTIONS -o cl.o -c cl.c
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-I/var/tmp/sage-4.1.2.alpha1/local/include -c -o cliquer.o cliquer.c
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-I/var/tmp/sage-4.1.2.alpha1/local/include -c -o graph.o graph.c
}}}
Those all look pretty simple. And...
{{{
$ ldd local/lib/libcliquer.so
linux-vdso.so.1 => (0x00007fff1d7ff000)
libc.so.6 => /lib/libc.so.6 (0x00007fa915236000)
/lib64/ld-linux-x86-64.so.2 (0x0000003582800000)
}}}
I see that spkg-install is just looking for SAGE64, which I don't set on
Ubuntu; the 64-bit build "just happens" AFAIK.
Also, it builds with debugging information present by default -- is that
what we want?
Also, how do I run the tests? I set SAGE_CHECK=yes, but "sage -f (url)"
didn't do any tests. When I went into the src/ directory and ran "make
test", it couldn't find the "testcases" program -- I think it needs
"./testcases". When I ran that myself, it passed all the tests.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6681#comment:16>
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
-~----------~----~----~----~------~----~------~--~---