This is a test version of Biostars. For the public version, visit https://www.biostars.org.
compiliing fasta 3.5 in centos 5.10

Hello I'm tying to compile fasta 3.5 on cent os 5.10 32 bit

I have compiled it on ubuntu 14.04 x64 and it works but on this case when I run this command:

make -f ../make/Makefile.linux32 fasta35

I get this error:

make: *** No rule to make target `comp_lib2.c', needed by `comp_mlib2.o'.  Stop.

What's the problem

fasta

The error message basically says it cannot find the file 'comp_lib2.c'. Make sure that the file exists in the directory of the Makefile.

1 answer

I am guessing that you are using the build instructions from the distribution or from the website. Please note that the current version of FASTA is 36.3.6f and is part of the FASTA 36 series, which is recommended over the older FASTA 35 releases (see here).

On Linux x86 systems the accelerated versions should be used rather than the traditional code:

  • Makefile.linux32_sse2: use gcc with SSE2 accelerations for 32-bit x86
  • Makefile.linux64_sse2: use gcc with SSE2 accelerations for 64-bit x86 (x86_64)
  • Makefile.linux_icc_sse2: use icc with SSE2 accelerations for 64-bit x86 (x86_64)

You can check that your CPU(s) support the SSE2 instructions by checking the CPU flags:

grep 'sse2' /proc/cpuinfo

If you are reusing a unpacked source distribution, remember to run make -f <makefile> clean-up before trying to start a new compile.

If you have problems you can contact the author using the details provided in the documentation included in the package and on the FASTA web site.

Log in to answer this question.