On Thu, Oct 2, 2008 at 6:11 PM, Tyler Reddy <TREDDY@xxxxxx> wrote:
I'm looking at the possibility that it is a problem with the python header file as suggested in the first solution message. I haven't found a distribution of the 'Python Development Files' that are mentioned that I can open on a mac. I did find one with an .rpm extension, and I tried using the RPM management package on the mac, but that seems like it could be another project..
I wouldn't use the RPM! There should be another way to install this, but I'm not too familiar with the Mac OS X Python packages. It may be called libpython2.4_devel*, lib64python2.5_devel*, or something like that.
Seems a bit odd that my Python.h file is in a Sparkky directory, but not also in a Python base install type directory, no?
Sparky ships with its own copy of python. But this is unlikely to match the Python version you get when typing 'python'. The compiled modules may be broken if you use the Sparky python.h file.
I've tried installing a few different versions of Python, include the most recent (2.6), but none of them seem to change the output of 'locate Python.h'
This file will only exist on your system if you install the development libraries, which are usually separate. Does anyone else on this list use Mac OS X and know what the name of the development package is that needs to be installed?
Also, updating to 2.6 causes a number of errors, starting the output claiming that various dependencies are not installed, and then after re-installing them, there seems to be other problems. Anyways, that's not the issue I'm having so here's the relevant output: locate Python.h /Applications/Sparky.app/Contents/Resources/python2.4/include/python2.4/Python.h
This machine is missing the development libraries. This file is the Sparky distributed python version.
for the machine I'm trying to do the curve fitting on. For another mac I've tested, Output: locate Python.h /Applications/Sparky.app/Contents/Resources/python2.4/include/python2.4/Python.h /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Python.framework/Vers ions/2.3/include/python2.3/Python.h /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versi ons/2.3/include/python2.3/Python.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/wx-2.5/wx/wxPython/wxPython.h /System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Pytho n.h /sw/include/python2.4/Python.h
The last line is the correct location for the library files. This machine has the development libraries installed and should compile relax. Sorry, but I don't think I can help in locating what needs to be installed. However I do know that others have managed to compile the sources on Mac OS X. For example Jack Howarth "howarth att bromo dot msbb dot uc dot edu" when creating the Fink packages (https://mail.gna.org/public/relax-users/2008-08/msg00004.html). I think Douglas Kojetin "douglas dot kojetin att gmail dot com" has also used relax on a Mac. If you do find out what the package is, could you send a description to this mailing list for future reference (https://mail.gna.org/public/relax-users/). Cheers, Edward