1

I am trying to install .C functions of PHYLIP in Linux/ubuntu. I read documentation and it mentioned it is very easy compilation and of .C functions:

To make executables, use your C compiler. It is probably as simple as going into the src directory, copying Makefile.unix and calling the copy Makefile, and then typing the command make install

I just have Makefile.unx in the folder. Not any Configure.* files.

What exactly means this phrase? copying Makefile.unix and calling the copy Makefile Maybe it is very clear but I am new in Linux, sorry.

Thanks

2

I would interpret that as meaning you should perform the commands

cp Makefile.unix Makefile
make

Alternatively, you could use the Makefile.unix directly, without the extra step of copying it, by using the -f option

make -f Makefile.unix
  • I tried both but no good result: – Al007 May 2 '14 at 18:04
  • alireza@unix-laptop:~/Downloads/phylip-3.695/src$make -f Makefile.unix make: Makefile.unix: No such file or directory make: *** No rule to make target `Makefile.unix'. Stop. – Al007 May 2 '14 at 18:08
  • alireza@unix-laptop:~/Downloads/phylip-3.695/src$ make make: *** No targets specified and no makefile found. Stop. – Al007 May 2 '14 at 18:08
  • Well, is the file called Makefile.unix or Makefile.unx? Your original post is unclear. If the file is Makefile.unx (without the i) then adjust the command accordingly. – steeldriver May 2 '14 at 18:20
  • no it is with i, because of that I run: make -f Makefile.unix – Al007 May 2 '14 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.