Hi,

Actually, the package could be simply python-dev, in which case as root:

# apt-get install python-dev
# scons

should work.

Regards,

Edward



On 13 July 2011 15:59, Edward d'Auvergne <[email protected]> wrote:
> Dear Luca,
>
> It is strange that this machine is failing.  I compiled these modules
> on a virtual machine using an i686 version of Mandriva using similar
> specifications.  Maybe I'll need to install a minimal version of
> 32-bit Lucid into a VM for testing the next relax release.  As for
> needing the curve-fitting, that is dependent on how relax is going to
> be used.  In general if relaxation data is being collected, than it
> will be required.  The process is quite simple for Lucid though:
>
> $ sudo apt-get install python2.6-dev
> $ scons
>
> This should hopefully be sufficient.
>
> Cheers,
>
> Edward
>
>
>
> On 13 July 2011 15:10, Leone, Luca <[email protected]> wrote:
>> Edward
>> Thank you for your response.  I did the scons clean_all and that worked.  I 
>> was able to do the relax --info and I am going to paste it in this email.   
>> Do the curve fitting module need to be recompiled?
>>
>> Thank you
>> Luca
>>
>> relax 1.3.10
>>
>>                              Molecular dynamics by NMR data analysis
>>
>>                             Copyright (C) 2001-2006 Edward d'Auvergne
>>                         Copyright (C) 2006-2011 the relax development team
>>
>> This is free software which you are welcome to modify and redistribute under 
>> the conditions of the
>> GNU General Public License (GPL).  This program, including all modules, is 
>> licensed under the GPL
>> and comes with absolutely no warranty.  For details type 'GPL' within the 
>> relax prompt.
>>
>> Assistance in using the relax prompt and scripting interface can be accessed 
>> by typing 'help' within
>> the prompt.
>>
>> ImportError: relaxation curve fitting is unavailable, the corresponding C 
>> modules have not been compiled.
>>
>> Hardware information:
>>    Machine:                 i686
>>    Processor:
>>
>> System information:
>>    System:                  Linux
>>    Release:                 2.6.32-33-generic
>>    Version:                 #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011
>>    GNU/Linux version:       Ubuntu 10.04 lucid
>>    Distribution:            Ubuntu 10.04 lucid
>>    Full platform string:    
>> Linux-2.6.32-33-generic-i686-with-Ubuntu-10.04-lucid
>>
>> Software information:
>>    Architecture:            32bit ELF
>>    Python version:          2.6.5
>>    Python branch:           tags/r265
>>    Python build:            r265:79063, Apr 16 2010 13:09:56
>>    Python compiler:         GCC 4.4.3
>>    Python implementation:   CPython
>>    Python revision:         79063
>>    Numpy version:           1.3.0
>>    Libc version:            glibc 2.4
>>
>> Python packages (most are optional):
>>
>> Package              Installed       Version         Path
>> minfx                True            Unknown         /usr/local/relax/minfx
>> bmrblib              False
>> numpy                True            1.3.0           
>> /usr/lib/python2.6/dist-packages/numpy
>> ScientificPython     False
>> wxPython             True
>> mpi4py               False
>> epydoc               False
>> optparse             True            1.5.3           
>> /usr/lib/python2.6/optparse.pyc
>> Numeric              False
>> readline             True                            
>> /usr/lib/python2.6/lib-dynload/readline.so
>> profile              True                            
>> /usr/lib/python2.6/profile.pyc
>> bz2                  True                            
>> /usr/lib/python2.6/lib-dynload/bz2.so
>> gzip                 True                            
>> /usr/lib/python2.6/gzip.pyc
>> os.devnull           True                            
>> /usr/lib/python2.6/os.pyc
>>
>> Compiled relax C modules:
>>    Relaxation curve fitting: False
>>
>> Luca Leone
>> BMP Network Administrator
>> Department of Biochemistry & Molecular Pharmacology
>> University of Massachusetts Medical School
>> (508) 856-8301 phone
>> (508) 335-5335 cell
>> [email protected]
>> ________________________________________
>> From: Edward d'Auvergne [[email protected]]
>> Sent: Tuesday, July 12, 2011 5:05 PM
>> To: Luca Leone
>> Cc: Leone, Luca; [email protected]
>> Subject: Re: [sr #2770] relax setup issue
>>
>> Dear Luca Leone,
>>
>> Welcome to the relax mailing lists.  Would you be able to add the output of:
>>
>> $ relax --info
>>
>> to your support request (http://gna.org/support/?2770)?  Cheers.  This
>> additional information will help to work out what the issue could be.
>> It is most likely to be the compiled C modules.  If that command does
>> not work, try typing:
>>
>> $ scons clean_all
>> $ relax
>>
>> and see if that works.  This command is dangerous as it will delete
>> the relaxation curve-fitting compiled C module located at
>> maths_fns/relax_fit.so (if scons is not installed, just manually
>> delete that file).  If you need this curve-fitting, then you'll need
>> to compile this module.  For this there are instructions at
>> http://www.nmr-relax.com/download.html#Source_code_release (you'll
>> need the python development files installed, a C compiler, and scons).
>>  Alternatively the problem could be with one of the python packages
>> installed on your computer, but it's better to assume the relax C
>> modules are at fault first.  I hope this helps.
>>
>> Regards,
>>
>> Edward
>>
>>
>> On 12 July 2011 21:30, Luca Leone <[email protected]> wrote:
>>>
>>> URL:
>>>  <http://gna.org/support/?2770>
>>>
>>>                 Summary: relax setup issue
>>>                 Project: relax
>>>            Submitted by: leone76
>>>            Submitted on: Tue 12 Jul 2011 07:30:46 PM GMT
>>>                Category: None
>>>                Priority: 5 - Normal
>>>                Severity: 4 - Important
>>>                  Status: None
>>>                 Privacy: Public
>>>             Assigned to: None
>>>        Originator Email:
>>>             Open/Closed: Open
>>>         Discussion Lock: Any
>>>        Operating System: GNU/Linux
>>>
>>>    _______________________________________________________
>>>
>>> Details:
>>>
>>> To whom it may concern
>>> I am trying to install relax on ubuntu 11 and when I try to run the test I
>>> get an error "Segmentation Fault"  I would appreciate any help.
>>> Thank you
>>>
>>>
>>>
>>>
>>>
>>>    _______________________________________________________
>>>
>>> Reply to this item at:
>>>
>>>  <http://gna.org/support/?2770>
>>>
>>> _______________________________________________
>>>  Message sent via/by Gna!
>>>  http://gna.org/
>>>
>>>
>>> _______________________________________________
>>> relax (http://nmr-relax.com)
>>>
>>> This is the relax-devel 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-devel
>>>
>>
>>
>>
>

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel 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-devel

Reply via email to