[python-nl] Compile python on Solaris 64bit

Wichert Akkerman wichert at wiggy.net
Thu Oct 12 16:54:37 CEST 2006


We praten hier gewoon nederlands :)

Previously Martijn de Munnik wrote:
> Hi,
> 
> I want to compile python on my solaris 10 system (amd 64 bit).
> 
> I did the following:
> 
> ./configure --prefix=/opt/64/python
> make
> 
> which resulted in this error:
> "Include/pyport.h", line 730: #error: "LONG_BIT definition appears wrong
> for platform (bad gcc/glibc config?)."

Dat is geen fout in python maar in je development omgeving. Schijnbaar
probeer je hier 64bit en 32bit dingen te mixen wat inderdaad niet werkt.

> so I edited the file and removed the error line and did a configure and
> make again after a make distclean.

Als je een #error regel moet weghalen dan ben je vrijwel zeker verkeerd
bezig: dan werk je aan een symptoom en niet aan het probleem.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Python-nl mailing list