[csw-maintainers] 64-bit python (was evince-2.24.2 in experimental)

Roger Håkansson hson at opencsw.org
Fri Apr 2 11:30:07 CEST 2010


On 2010-03-11 10:07, Maciej (Matchek) Blizinski wrote:
> On Thu, Mar 11, 2010 at 9:00 AM, Roger Håkansson<hson at opencsw.org>  wrote:
>> On 2010-03-11 09:46, Maciej (Matchek) Blizinski wrote:
>>> but lcms depends on Python, which is not, and
>>> will not, in the nearest future, be available in 64-bit.
>>
>> Why not?
>
> I've looked at it once.  Python headers do checks on certain 64-bit
> related constants, which AFAIK are set by the compiler; the assertions
> in the Python code are failing.
>
> "/opt/csw/include/python2.6/pyport.h", line 680: Error: #error
> "LONG_BIT definition appears wrong for platform (bad gcc/glibc
> config?).".
>

The problem is that you need to "merge" pyconfig.h from both 32-bit and 
64-bit and add some ifdefs to switch between them.
How/if this can be done using GAR I have no idea.


More information about the maintainers mailing list