Hi, This might be problematic as this header file is for a different version of Python, the one that comes with Sparky. I'll get into more detail responding to your other post.
Regards, Edward On Thu, Oct 2, 2008 at 7:18 PM, Tyler Reddy <[EMAIL PROTECTED]> wrote: > I finally got the compilation to work. The compiler (gcc) apparently did not > have the header file in its search path. I'm not sure it's the most elegant > solution, but I just put the Python.h header file associated with > Sparky in the > path in my .cshrc file. > > set path=($path > /Applications/Sparky.app/Contents/Resources/python2.4/include/python2.4/) > > Quoting Edward d'Auvergne <[EMAIL PROTECTED]>: > >> Hi, >> >> I forgot to ask but if you could report if this was successful, or the >> steps you took to fix this, that would be much appreciated as the >> acheived message will help other users in the future. >> >> Regards, >> >> Edward >> >> >> On Thu, Oct 2, 2008 at 10:19 AM, Edward d'Auvergne >> <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> Welcome to the relax users mailing list. I've seen this problem >>> before but can't remember exactly what is causing it. We should be >>> able to fix this though. I'm pretty sure that the suggestions on the >>> internet of using distutils for this are out of place. I use >>> distutils for the minfx package which is a dependency for relax 1.3.1 >>> (it used to be part of relax 1.2.x but was spun out as its own project >>> for other people to use). But relax doesn't use distutils, so I think >>> these suggestions for distutils on the internet are rubbish - just >>> trolls trying to convince innocent users that the developers of the >>> software should use distutils rather than the currently used >>> compilation and installation methods. >>> >>> This problem has been encountered before by Douglas Kojetin "douglas >>> dot kojetin att gmail dot com" >>> (https://mail.gna.org/public/relax-devel/2006-01/msg00011.html). I >>> think you'll find a solution here: >>> https://mail.gna.org/public/relax-devel/2006-01/msg00014.html. The >>> thread continues into the next month here: >>> https://mail.gna.org/public/relax-devel/2006-02/msg00000.html. Don't >>> worry about the descriptions about using 'make', we've switched >>> everything in relax to using 'scons'. Anyway, I hope this helps. >>> Otherwise we'll have to find another solution. >>> >>> Regards, >>> >>> Edward >>> >>> >>> >>> On Wed, Oct 1, 2008 at 9:43 PM, Tyler Reddy <[EMAIL PROTECTED]> wrote: >>>> I've install all the dependencies that are documented, and I'd like >>>> to get the >>>> curve fitting portion of relax working on Mac OS 10.4. When I type >>>> 'scons' in >>>> the relax directory, I get an error with some undefined symbols, as >>>> below. A >>>> brief internet search seems to suggest that I need to use something call >>>> 'distutils,' but I'm not sure how this works! Any help would be >>>> appreciated. >>>> >>>> Tyler >>>> >>>> Output: >>>> >>>> scons: Reading SConscript files ... >>>> scons: done reading SConscript files. >>>> scons: Building targets ... >>>> gcc -o maths_fns/relax_fit.so -bundle -bundle_loader >>>> /Library/Frameworks/Python.framework/Versions/2.5/bin/python -dynamic math >>>> s_fns/c_chi2.os maths_fns/exponential.os maths_fns/relax_fit.os >>>> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: >>>> _PyCObject_AsVoidPtr >>>> _PyCObject_Type >>>> _PyErr_Format >>>> _PyExc_RuntimeError >>>> _PyImport_ImportModule >>>> _PyObject_GetAttrString >>>> _PyArg_ParseTuple >>>> _PyArg_ParseTupleAndKeywords >>>> _PyErr_Print >>>> _PyErr_SetString >>>> _PyExc_ImportError >>>> _PyList_New >>>> _PyList_SetItem >>>> _PyList_Type >>>> _PyType_IsSubtype >>>> _Py_BuildValue >>>> _Py_InitModule4 >>>> __Py_NoneStruct >>>> collect2: ld returned 1 exit status >>>> scons: *** [maths_fns/relax_fit.so] Error 1 >>>> scons: building terminated because of errors. >>>> >>>> >>>> _______________________________________________ >>>> relax (http://nmr-relax.com) >>>> >>>> This is the relax-users mailing list >>>> [email protected] >>>> >>>> To unsubscribe from this list, get a password >>>> reminder, or change your subscription options, >>>> visit the list information page at >>>> https://mail.gna.org/listinfo/relax-users >>>> >>> >> >> _______________________________________________ >> relax (http://nmr-relax.com) >> >> This is the relax-users mailing list >> [email protected] >> >> To unsubscribe from this list, get a password >> reminder, or change your subscription options, >> visit the list information page at >> https://mail.gna.org/listinfo/relax-users >> > > > > > _______________________________________________ > relax (http://nmr-relax.com) > > This is the relax-users mailing list > [email protected] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-users > _______________________________________________ relax (http://nmr-relax.com) This is the relax-users mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-users

