64bit - Using Python API on Multi-Arch Linux -


i have code uses python api i'm going compile on debian wheezy 64 bit operating system , following error in compile time:

/usr/include/python2.7/pyport.h:873:2: error: #error "long_bit definition appears wrong platform (bad gcc/glibc config?)." 

i've done search couldn't find out how should use 32 bit packages. i've installed ia32-libs , g++-multilib on wheezy still having stupid error.

i've opened pyport.h , found error line:

#if long_bit != 8 * sizeof_long /* 04-oct-2000 long_bit apparently (mis)defined 64 on recent  * 32-bit platforms using gcc.  try catch here @ compile-time  * rather waiting integer multiplication trigger bogus  * overflows.  */ #error "long_bit definition appears wrong platform (bad gcc/glibc config?)." #endif 

from other threads got on multi-arch system there should folder this: /usr/include/

thanks in advance


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -