#8116: cython fails to build in Open Solaris x64 as 64 bit if CFLAGS is not set
to
-m64 globally
----------------------------+-----------------------------------------------
Reporter: jsp | Owner: drkirkby
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.2
Component: porting | Keywords:
Author: Jaap Spies | Upstream: N/A
Reviewer: David Kirkby | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by robertwb):
Replying to [comment:7 jsp]:
> Replying to [comment:6 robertwb]:
> > Cython gets the flags it needs from distutils (which, if I understand
correctly, tries to use the flags that Python itself was built with). Just
setting CFLAGS directly can mess this up. Can you post the log of running
cython -f with this option? Also, Cython won't compile, do you have any
luck with all the .pyx files in the Sage library?
>
> So if I understand you correctly we need a properly installed Python. I
have to hack a bit to get a working Python in Open Solaris.
Yes. Worrying about Cython working before Python is set up correctly is
probably going to be an exercise in futility.
> Why not unset CFLAGS in the Cython spkg-install?
For fear of breaking things. I am not an expert on distutils or building
stuff, so for me the safest path is to not change stuff.
> Without CFLAGS set building cython failes on Open Solaris x64!
Do you get a working Cython with CFLAGS set? (If so, it might just be
lucky...) What errors do you get otherwise? (I think Cython's supposed to
fall back to a pure Python setup if the compile fails, but I could be
remembering wrong.)
> *.pyx files? I don't get sage-4.3.1.alpha build :)!
Yet :)
I'm just pointing out that whatever issues we're running into here, we'll
be running into later with the sage library.
> So let's get Python build correctly on Open Solaris x64!
Sounds like the best course of action.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8116#comment:8>
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.