Hello Everyone,
I have a very basic question. Having little experience in Command Line, I am stumped on practically the first step. I am downloading the following file from the Clustal Omega website: Source code .tar.gz (1.2.1)
However, to run this in terminal, I have to install argtable2. So I went and downloaded the following from the website: argtable2-13.tar.gz
I placed both these into a single folder, and in terminal setup the directory to the argtable2 folder via
cd /filepath
and typed:
./configure
A ton of checks are done which ends like this:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating example/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/argtable2.3
config.status: creating doc/argtable2.html
config.status: creating tests/Makefile
config.status: creating argtable2.pc
config.status: creating argtable2-uninstalled.pc
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
nat-oitwireless-inside-vapornet100-c-20170:argtable2-13 Plosslab$ make
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make all-am
Making all in tests
make[1]: Nothing to be done for `all'.
Making all in doc
cp argtable2.3 argtable.3
make[1]: Nothing to be done for `all-am'.
I then set the directory to the clustalO folder and configure and it ends like this:
Could not find argtable2.h. Try $ ./configure CFLAGS='-Iyour-argtable2-include-path
The INSTALL text file says I should type this line:
./configure CFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib'
I then get the following error:
configure: error: Could not find argtable2.h. Try $ ./configure CFLAGS='-Iyour-argtable2-include-path
I try to follow the recommendation as such:
./configure CFLAGS='-/lab/argtable2-13'
And finally I get the following error, and I am stumped:
checking whether the C compiler works... no
configure: error: in `/Users/lab/argtable2-13':
configure: error: C compiler cannot create executables
Anyone have any ideas as to why this isn't working? Did I download the wrong version of argtable? Am I typing in the wrong commands? Any advice would be thoroughly appreciated.
Looks like you either don't have permissions in the argtable dir or the argtable dir has its include elsewhere. Could you paste the output of
ls -lR ~/lab/argtable2-13
please?Is what I get, strange that the file "lab" shows up twice, even though its one folder.
So I typed this command in
I am getting a ton of lines (about 100), is there anything I should be looking for in this?
Try Andreas' solution from below. We can debug further if that doesn't work. I am trying to verify the directory structure and look into your permissions on the argtable directory - especially if you have write and execute permissions on appropriate files. You can either copy paste the output of the command I gave you here or look for permissions by yourself.
Just check if you have a readable 'include' dir within the argtable dir and the argtable dir itself is w+x
Do you have Xcode and its command-line utilities installed? You may need a C compiler (which is part of Xcode and its command-line utilities). See: https://developer.apple.com/library/ios/technotes/tn2339/_index.html
Ok I have tried this approach. I followed this answer to actually get Xcode because I use 10.9.3, basically up until
http://stackoverflow.com/questions/19579401/php-xdebug-on-os-x-10-9-mavericks/19664507#19664507
It looks ok, I get the following output:
I try to configure the clustalo file again and I get the exact same error.
I'm not really sure what to suggest other than to look at the config.log file and see what's going on there.
Maybe OP has an older version of XCode and needs to install CLT for the latest version? Maybe check
gcc --version
?Please clarify whether you want to compile Clustal Omega or just use it. The download link you provided is for the binary.
PS: OP changed link to source code