That seems to. Did you fix his problem?
>
> By the way, as you suggested, I relocated the install-wide cohomology
> database from SAGE_LOCAL to SAGE_DATA. Probably I am the only Sage user
> who has cohomology data in SAGE_LOCAL, so, I guess that a warning
> message "please move your old data from
> SAGE_ROOT/local/pGroupCohomology/db to SAGE_DATA/pGroupCohomology/" is
> not needed.
Yes, that sounds fine to me.
William
On Thu, Aug 27, 2009 at 8:58 AM, Simon King<simon...@nuigalway.ie> wrote:
<SNIP>
> I don't know. The point is that I have no access to any Mac, and I
> have never seen this error message on any other machine. But John's
> report pointed me to some oddity in my building the C-MeatAxe library,
> and now it seems smoother.
>
> So, if someone could test it for me, I'd appreciate.
This harks back to the build problem with cliquer. I can test spkg's
under any Linux boxes that I have access to. But not Mac boxes, which
is a shame as many people are using OS X.
--
Regards
Minh Van Nguyen
Yes, this is done in many spkg's actually.
William
On Fri, Aug 28, 2009 at 8:48 PM, Simon King<simon...@nuigalway.ie> wrote:
<SNIP>
> For the record: John Palmieri reported that the spkg now builds fine
> on Intel Mac, both 32 and 64 bit, and whether "MAKE" is set to "make -
> j2" or not.
Cool! Good to know.
> Failing doc tests are apparently due to using unsorted
> dictionaries or sets, but this should be easy to fix.
I suspect those failed doctests should be easy to fix. Don't take my
words for it, since I don't have access to a Mac.
> Thank you very much for all your hints!
>
> But back to my original question to William:
> Does it suffice if the Intel Mac problem reported by John is fixed and
> the spkg still builds on sage.math, or do you think the package should
> (after fixing the set/dictionary doc tests) be tested on your whole
> build park? Or would you leave this decision to the reviewers?
The top-level README.txt claims that Sage is regularly tested on the
following platforms:
PROCESSOR OPERATING SYSTEM
x86 32-bit Linux -- Debian, Ubuntu, CentOS (=Redhat),
Fedora Core, OpenSuse, Mandriva
x86_64 64-bit Linux -- Debian, Ubuntu, CentOS (=Redhat),
Fedora Core, OpenSuse, Mandriva
ia64 itanium2 64-bit Linux -- Redhat, Suse
x86 Apple Mac OS X 10.5.x
ppc Apple Mac OS X 10.5.x
So it really depends on one's access to any of these platforms. All a
reviewer can say is that something works on those platforms that they
have access to. If a patch is specific to Mac OS X, then the person
can review the code. But to actually test the code in practice,
someone needs to take it on a test drive on a Mac box. Testing on all
supported platforms should happen before announcing the stable
release, as doing so catches any platform-specific problems. In the
end, it boils down to people and the release manager(s) having access
to a build farm or different platforms for testing. I don't have
access to a Mac box, so I rely on other people to test Mac specific
code.
Hi William,
PS: Although database_gap...spkg was possible to install, the
installation of our cohomology package failed -- because Sage (for
whatever reason) believes that cliquer needs to be available. See below.
Should I follow the advice and inform sage-devel, or is this a known
problem?
Sheers,
Simon
Traceback (most recent call last):
File "setup.py", line 21, in <module>
from sage.all import SAGE_ROOT
File
"/scratch/king/SAGE64/sage-4.1.1/local/lib/python2.6/site-packages/sage/all.py", line 85, in <module>
from sage.graphs.all import *
File
"/scratch/king/SAGE64/sage-4.1.1/local/lib/python2.6/site-packages/sage/graphs/all.py", line 9, in <module>
from sage.graphs.cliquer import *
ImportError:real 0m18.212s
dlopen(/scratch/king/SAGE64/sage-4.1.1/local/lib/python2.6/site-packages/sage/graphs/cliquer.so, 2): Symbol not found: _graph_new
Referenced
from: /scratch/king/SAGE64/sage-4.1.1/local/lib/python2.6/site-packages/sage/graphs/cliquer.so
Expected in: dynamic lookup
user 0m8.624s
sys 0m3.819s
sage: An error occurred while installing p_group_cohomology-1.1
Please email sage-devel http://groups.google.com/group/sage-devel
<SNIP>
> This is a known problem. You can get around it by commenting out the line
> that imports cliquer in
>
> devel/sage/sage/graphs/all.py
>
> That's what I did for the OS X 64-bit binary that is posted.
After some experimentation and reading, I got Sage 4.1.1 to build in
64-bit mode under OS X 10.5.8. I used Michael Abshoff's custom-built
Fortran spkg as documented at
http://wiki.sagemath.org/osx64
I have written up the steps. You can see them at
http://mvngu.wordpress.com/2009/09/02/compile-sage-4-1-in-64-bit-mode-on-os-x-10-5-8/