For the mac installation I'd suggest just doing it from the source file for
relax and installing the various dependencies outlined for general use 
of relax
in the manual.

The only part that's challenging is the compilation for the curve fitting
feature. You can get a C-compiler from Apple as part of their developer tools
package (just make sure you get the package that matches your version of Mac
OS). You have to register on the apple developer site, but it's
short/free/simple. Then you have the standard 'gcc' compiler.

The tricky part is getting the correct Python.h header file for compilation.
I've compiled 4 or 5 versions of relax (on OS 10.4) using the Python.h header
file that came with Sparky, but as Edward suggested in his responses to 
the 2nd
thread cited in his message, it would be better to have the 'correct' header
file from an actual python development package. Believe it or not, when I put
one of those 'development' header files in the path, the compilation doesn't
work, only with the Sparky header... So I've been kind of blindly accepting
that for now.

Still, relax seems to run just fine on the mac.

Quoting Edward d'Auvergne <[EMAIL PROTECTED]>:

> Hi,
>
> Welcome to the relax-users mailing list.  The problem you have
> encountered is because relax only runs on Python versions 2.4 and
> above.  Python 2.3 may work, although I just ran relax with version
> and the test suite failed - 23 failures out of 63 system tests, and
> the unit test won't even run.  So I would strongly recommend using 2.4
> and above.  As for using relax on Mac OS X, that should be no problem
> at all.  If you would like to use relaxation curve fitting to
> determine the R1 and R2 relaxation rates, then you'll need to install
> a number of development packages and compile the sources.  This is
> described here:
> https://mail.gna.org/public/relax-users/2008-08/msg00003.html.  It
> would be very useful to read the whole thread starting at
> https://mail.gna.org/public/relax-users/2008-10/msg00000.html as well.
> Tyler, or anyone else, did you have any success with relax on your
> Mac?
>
> Regards,
>
> Edward
>
>
> On Wed, Oct 15, 2008 at 3:50 PM, Guang-Yao Li <[EMAIL PROTECTED]> wrote:
>> Hi Ed,
>>
>> My linux computer is running Fedora core 6. The available python is
>> python2.2 together with ccpnmr.
>>
>> After I uncompressed the precompiled relax-1.3.2.GUN-Linux.i686.tar.bz2, I
>> simply tried relax and got the following message.
>>
>> Is it a python issue or anything else?
>>
>>
>>
>> Traceback (most recent call last):
>>
>>   File "relax", line 38, in ?
>>
>>     import dep_check
>>
>>   File "/users/ikuradata/gyli/linux/progs/relax-1.3.2/dep_check.py", line
>> 30, in ?
>>
>>     import platform
>>
>> ImportError: No module named platform
>>
>>
>>
>> By the way, are there any successful stories about installing relax on Mac?
>> I am more interested in run it on my macbook than try it under the control
>> of my IT people.
>>
>>
>>
>> Thank you
>>
>>
>>
>> ---------------------
>>
>> Guang-Yao Li, Ph.D.
>>
>> Toronto Medical Discovery Tower
>>
>> 4th Floor, Room 4-902
>>
>> 101 College Street
>>
>> Toronto, Canada, M5G 1L7
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to