Entering edit mode
8.3 years ago
xiachongjing
▴
10
Dear all: I am trying to install Falcon for PacBio sequencing assembly. I got this error: command 'gcc' failed with exit status 1. I am using Python 2.7.10. It seems the solution is to install python2.7-dev. However, I do not have root privilege, so I cannot type "sudo apt-get update" "sudo apt-get install python2.7-dev"
Anybody can help me to install python2.7-dev? Or what else can I do to solve the error? Thanks in advance.
Pure systems questions are better suited for stackexchange.
How did you conclude that is what is the cause of the error you are getting?
First, my Python is working since I successfully installed pypeFLOW following https://github.com/PacificBiosciences/FALCON/wiki/Setup%3A-Installation-and-Environment.
Second, I checked my gcc --version. I got " gcc (GCC) 4.8.2".
Then I search the error in google. Many people got this error, and fixed this error by installing python-dev.
Any ideas? Thanks
If you managed to install pypeFLOW then the second step should work too. You should post all lines that may have error information in them.
Thanks. Here I post my command and the error information:
Please let me know if you need more information. Thanks so much for any help.
What OS are you using? Looks like it is 64-bit, correct?
[cho.xia@login1 ~]$ uname -a Linux login1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Thanks.
Based on some searching it is possible that you have an old version of binutils program (you seem to have a pretty old kernel so this is a possibility). Search for "binutils version" and see if you can determine the version of binutils you have. This would likely not be something you would be able to update so you would need to talk with your sys admins about options.
Does
ld -v
print version of binutils?I don't why and what happened, I succeed in installing Falcon step. I just re-try my command: [cho.xia@login1 FALCON]$ /home/plant_pathology/cho.xia/software/Python-2.7.10/Python-2.7.10/python setup.py install --prefix=/home/plant_pathology/cho.xia/software/Python-2.7.10/Python-2.7.10
It's so wired. Thanks anyway.
Long as it worked :-)