io.h include file in pyconfig.h
I am trying to rebuild a rpm that was implemented in the python language. I installed the python package 2.3.3 from Suse 9.1 Linux CD. I got the following error when rebuilding the rpm, /usr/Python-2.3.3/Include/pyconfig.h:30:16: io.h: No such file or directory where I should find the correct "io.h" in this linux environment? Thanks. -- http://mail.python.org/mailman/listinfo/python-list
Re: io.h include file in pyconfig.h
Thanks. How do I verify what RPMs I need? I checked with rpm -qa | python, it only showed the python package. After I included the /usr/include/sys/io.h in the source package INCLUDE path, it seemed like the compilation went into a include loop. (/usr/include/sys/unisted.h:1:10 #include nested too deeply) -- http://mail.python.org/mailman/listinfo/python-list
pyconfig.h
I have installed Python-2.3.3 in the SUSE Linux 9.1 system and am trying to rebuild an application rpm that was implemented in Python, the defines in the pyconfig.h seem to be related to Microsoft 32-bit and 64-bit environment, do I need these defines in the linux environment? what is the purpose of this header file? Thanks. -- http://mail.python.org/mailman/listinfo/python-list
pymem.h In function '__declspec'
I have installed Python-2.3.3 in the SUSE Linux 9.1 system and am trying to rebuild an application rpm that was implemented in Python, I am getting the following error, /usr/Python-2.3.3/Include/pymem.h In function '__declspec' /usr/Python-2.3.3/Include/pymem.h:51: error: parse error before '__declspec' /usr/Python-2.3.3/Include/pymem.h:50: error: declaration for parameter 'PyMem_Malloc' but no such parameter : I thought '__declspec' is used in the Windows DDLs, but I am compiling the extension module in the Linux environment. Do I need to run something else first to setup the correct env? -- http://mail.python.org/mailman/listinfo/python-list
pymen.h
I have installed Python-2.3.3 in the SUSE Linux 9.1 system and am trying to rebuild an application rpm that was implemented in Python, I got the following error when compiling the application extension module, /usr/Python-2.3.3/Include/pymem.h: In function '__declspec' /usr/Python-2.3.3/Include/pymem.h:51: error: parse error before '__declspec' /usr/Python-2.3.3/Include/pymem.h:50: error: declaration for parameter 'PyMem_Malloc' but no such parameter : line 50 and 51 of pymem.h are the following, PyAPI_FUNC(void*) PyMem_Malloc(size_t) PYAPI_FUNC(void*) PyMem_Realloc(void *, size_t); I thought '__declspec' was used to specify the Windows DLLs, but I am running in the linux environment, do I need to run something else to setup the correct environment first? Thanks. -- http://mail.python.org/mailman/listinfo/python-list
