Hello: I need help to locate Python.h for including in a C program which I will turn into a module.
The problem is I've accumulated 5 files with that name over the years: /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Python.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Python.h /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h /System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Python.h Since the executable Python I use is in /Library/Frameworks/Python.framework/Versions/2.5/bin, I thought I better use the corresponding include file [i.e. the 4th one in the list above] but this gets me fatal errors at link time: /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _main _PyArg_ParseTuple _Py_BuildValue _Py_InitModule4 collect2: ld returned 1 exit status What am I doing wrong? What's the best way to clean up that mess? Can somebody help me? -- Jym Feat ~ Paris FR 75018 _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig