mailRe: Installing relax-1.3.10 in ubuntu10.10


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Shantanu S. Bhattacharyya Mr on May 05, 2011 - 18:01:
Hi,

I tried the relax-nmr versions 1.3.9/8/7. All three give the same error
when I try to compile the code

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...

###########################
# Compiling the C modules #
###########################


Building the relaxation curve fitting module 'maths_fns/relax_fit.so'

gcc -o maths_fns/c_chi2.os -c -I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/c_chi2.c
gcc -o maths_fns/exponential.os -c -I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/exponential.c
maths_fns/exponential.c:23: fatal error: Python.h: No such file or directory
compilation terminated.
scons: *** [maths_fns/exponential.os] Error 1
scons: building terminated because of errors.



On Thu, May 5, 2011 4:56 am, tpais wrote:
Hi,
i get the same problem and i have several versions of relax installed and
running properly. For me, the problem was solved by getting the repository
version. Hope it works for you.
TiagoP


On Wed, 4 May 2011 18:36:12 -0400, Shantanu S. Bhattacharyya Mr wrote:

Hello,


I am trying to run relax-1.3.10 on ubuntu 10.10. I am using the KDE
and root enabled.

I unpacked and decompressed the package in /usr/local,
created a symbolic link in /usr/local/bin by typing ln -s
../relax-1.3.10/relax .
and then ran relax by typing relax -test

I got Segmentation fault


I also tried going to the base directory relax-1.3.10 and typing
scons -install.


I get


scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
install(["install"], [])

####################
# Installing relax #
####################



Installing the program relax into the directory '/usr/local/relax'




Copying all files in '/usr/local/relax-1.3.10' to '/usr/local/relax'.


Creating the symbolic link from '/usr/local/relax/relax' to
'/usr/local/bin/relax'.


Running relax to create the byte-compiled *.pyc files.
Segmentation fault


scons: done building targets.


I tried compiling from the source code as well. I extracted the
relax-1.3.10.src.tar.bz2 package and from the base relax directory typed
scons

I get


scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...





###########################
# Compiling the C modules #
###########################



Building the relaxation curve fitting module 'maths_fns/relax_fit.so'


gcc -o maths_fns/c_chi2.os -c -I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/c_chi2.c gcc -o maths_fns/exponential.os -c
-I/usr/include/python2.6
-I/usr/lib/python2.6/dist-packages/numpy/core/include -fPIC
maths_fns/exponential.c maths_fns/exponential.c:23: fatal error:
Python.h: No such file or
directory compilation terminated. scons: *** [maths_fns/exponential.os]
Error 1
scons: building terminated because of errors.



How should I proceed from here ??


Thanks a lot,
Shantanu S. Bhattacharyya
--
Shantanu S. Bhattacharyya
Grad Student, Biological Sciences
Carnegie Mellon University
url : http://esesbee.com


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

This is the relax-users mailing list
relax-users@xxxxxxx

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
relax-users@xxxxxxx

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





-- 
Shantanu S. Bhattacharyya
Grad Student, Biological Sciences
Carnegie Mellon University
url : http://esesbee.com




Related Messages


Powered by MHonArc, Updated Thu May 05 19:00:08 2011