在Multi-Arch Linux上使用Python API

在Multi-Arch Linux上使用Python API,python,64-bit,debian,x86-64,Python,64 Bit,Debian,X86 64,我有一个使用Python API的代码,我将在Debian Wheezy 64位操作系统上编译该代码,在编译时出现以下错误: /usr/include/python2.7/pyport.h:873:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 我已经做了搜索,但找不到应该如何使用32位软件包。我还安装了ia32 libs和g++-multilib在我的哮喘病患

我有一个使用Python API的代码,我将在Debian Wheezy 64位操作系统上编译该代码,在编译时出现以下错误:

/usr/include/python2.7/pyport.h:873:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
我已经做了搜索,但找不到应该如何使用32位软件包。我还安装了
ia32 libs
g++-multilib
在我的哮喘病患者身上,但仍然有这个愚蠢的错误

我还打开了
pyport.h
,找到了错误行:

#if LONG_BIT != 8 * SIZEOF_LONG
/* 04-Oct-2000 LONG_BIT is apparently (mis)defined as 64 on some recent
 * 32-bit platforms using gcc.  We try to catch that here at compile-time
 * rather than waiting for integer multiplication to trigger bogus
 * overflows.
 */
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
#endif
从其他线程中,我发现在多拱系统上应该有这样一个文件夹: /usr/包括/ 提前谢谢