2012-11-27 2 views
1

Bowtie은 tophat에 필요한 프로그램입니다. 나는이 프로그램을 참고 게놈에 대해 수 백억 읽음을지도 할 필요가있다. Bowtie는 매핑 부분을 수행하는데 많은 CPU가 필요합니다. bowtie의 매뉴얼에는 다중 스레드를 할 수있는 옵션이 있지만 라이브러리 PThread를 설치해야합니다.리눅스에서 PThread를 설치하기 위해

this website에서 PThread를 다운로드했습니다. 이 파일을 내 프로그램 폴더로 추출하고 셸을 연 다음이 디렉토리에 있습니다. 'make'명령을 입력하면이 오류가 발생하며이를 해결하는 방법을 모르겠습니다.


if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -MT PThreadRun.lo -MD -MP -MF ".deps/PThreadRun.Tpo" -c -o PThreadRun.lo PThreadRun.cpp; \

then mv -f ".deps/PThreadRun.Tpo" ".deps/PThreadRun.Plo"; else rm -f ".deps/PThreadRun.Tpo"; exit 1; fi

g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -MT PThreadRun.lo -MD -MP -MF .deps/PThreadRun.Tpo -c PThreadRun.cpp -fPIC -DPIC -o .libs/PThreadRun.o PThreadRun.cpp: In member function 'pthread_t PThreadRun::start()':

PThreadRun.cpp:28:38: error: 'redirectPthreadRun' was not declared in this scope

make: * [PThreadRun.lo] Error 1

make: Leaving directory `/install_dir'

make: * [all-recursive] Error 1

make: Leaving directory `/install_dir'

make: * [all] Error 2


사람은이 문제를 해결하는 방법을 알고?

+0

봐 및 HTTP에 따르면 .... 소프트웨어의 저자에 –

+2

을 정중하게 이메일을 보내 : //bowtie-bio.sourceforge.net/manual.shtml#building-from-source "pthreads"라이브러리가 필요합니다. 95 %라는 것은 pthreads 라이브러리가 이미 컴퓨터에 설치되어 있다는 것을 의미합니다. "PThread"라이브러리는 pthreads를 감싸는 C++ 래퍼처럼 보입니다. – janneb

답변

1

먼저 configure를 실행해야합니다. 설치 지침에 따라 : http://staff.science.uva.nl/~bterwijn/Contact/에

These are generic installation instructions.

The configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a Makefile' in each directory of the package. It may also create one or more .h' files containing system-dependent definitions. Finally, it creates a shell script config.status' that you can run in the future to recreate the current configuration, and a file config.log' containing compiler output (useful mainly for debugging configure').

It can also use an optional file (typically called config.cache' and enabled with --cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.)

If you need to do unusual things to compile the package, please try to figure out how configure' could check whether to do them, and mail diffs or instructions to the address given in the README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it.

The file configure.ac' (or configure.in') is used to create configure' by a program called autoconf'. You only need configure.ac' if you want to change it or regenerate configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

  1. cd' to the directory containing the package's source code and type ./configure' to configure the package for your system. If you're using csh' on an old version of System V, you might need to type sh ./configure' instead to prevent csh' from trying to execute configure' itself.

    Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with the package.

  4. Type `make install' to install the programs and any data files and documentation.

  5. You can remove the program binaries and object files from the source code directory by typing make clean'. To also remove the files that configure' created (so you can compile the package for a different kind of computer), type make distclean'. There is also a make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.

+0

나는 ./configure를 실행했다. (전에도 했었지만, 잊어 버렸다. ...이 로그 파일에는 conftest.cc:25:28과 같은 몇 가지 오류가있다 : 치명적인 오류 : ac_nonexistent.h : 그런 파일이 없다. 또는 디렉토리 – Jetse

+1

configure를 실행할 때 오류가 발생하면 배포판에 문제가 있습니다. 공급 업체에 문의해야합니다. 작동하도록 구성 할 수없는 경우 가장 확실하게하지 마십시오. – ScoPi

관련 문제