#9009: Mercurial is not building 64-bit with OpenSolaris with SAGE64=yes.
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
The title says it all. This should be a pretty easy one to solve:
{{{
creating build/lib.solaris-2.11-i86pc-2.6/hgext/zeroconf
copying hgext/zeroconf/__init__.py ->
build/lib.solaris-2.11-i86pc-2.6/hgext/zeroconf
copying hgext/zeroconf/Zeroconf.py ->
build/lib.solaris-2.11-i86pc-2.6/hgext/zeroconf
running build_ext
building 'mercurial.base85' extension
creating build/temp.solaris-2.11-i86pc-2.6
creating build/temp.solaris-2.11-i86pc-2.6/mercurial
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/export/home/drkirkby/sage-4.4.2/local/include/python2.6 -c
mercurial/base85.c -o build/temp.solaris-2.11-i86pc-2.6/mercurial/base85.o
In file included from
/export/home/drkirkby/sage-4.4.2/local/include/python2.6/Python.h:58,
from mercurial/base85.c:12:
/export/home/drkirkby/sage-4.4.2/local/include/python2.6/pyport.h:685:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
error: command 'gcc' failed with exit status 1
Error building mercurial
real 0m0.142s
user 0m0.083s
sys 0m0.055s
sage: An error occurred while installing mercurial-1.3.1.p1
}}}
The option -m64 is only being added if SAGE64 is set to yes '''and''' the
platform is OS X, so it does not work on !OpenSolaris. I've seen this
problem many times, and the fix is pretty simple.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9009>
Sage <http://www.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.