Illegal instruction error on Mac OS X 10.6.8

580 views
Skip to first unread message

valer...@gmail.com

unread,
Mar 20, 2015, 5:26:17 PM3/20/15
to vsearc...@googlegroups.com
Hi all

Has anyone tried installing vsearch on a Mac OS X 10.6.8? I am getting an "Illegal instruction" error when I try to open any version of the osx binaries in Terminal. When I search this error on the web, I am finding that this error happens when newer versions of git are installed on 10.6.8. Does vsearch use git? Thanks.

-Valerie

Tomas Flouri

unread,
Mar 20, 2015, 7:09:52 PM3/20/15
to vsearc...@googlegroups.com
Hello Valerie,

you could be getting this error in case you are trying to run a 64-bit 
version of vsearch on a 32-bit system.

Also, have you compiled vsearch from source or you used the precompiled 
binaries? Note that only 64-bit precompiled binaries are available 
currently.

Tomas

Torbjørn Rognes

unread,
Mar 23, 2015, 9:41:30 AM3/23/15
to vsearc...@googlegroups.com
Hi!

What kind of Mac are you using? Do you know which processor it has? (Look at About this Mac in the Apple menu.)

vsearch itself does not use git, but the developers use git to track changes in the source code, but it should not affect the binaries.

- Torbjørn

valer...@gmail.com

unread,
Mar 23, 2015, 12:32:05 PM3/23/15
to vsearc...@googlegroups.com
Hi Tomas and Torbjørn

Thanks for your replies. I tried running the precompiled 64-bit binaries when I got the "Illegal instruction" error. I don't think that it is a 64- versus 32-bit issue as other 64-bit programs have worked on my computer. It looks like my Mac is running in 64-bit mode: its processor is a 2.5 GHz Intel Core i5 and the system software overview indicates that it is running the 64-bit kernel and extensions. 

-Valerie

valer...@gmail.com

unread,
Apr 3, 2015, 6:53:13 PM4/3/15
to vsearc...@googlegroups.com
Hi all

I am still having problems getting vsearch to run on my computer. When I try compiling the program from the source, I get the following error when running make -f Makefile:

g++ -O3 -msse2 -mtune=core2 -Icityhash -Wall -Wsign-compare -g -c -o cityhash/city.o cityhash/city.cc
cityhash/city.cc: In function ‘uint32 Hash32Len0to4(const char*, size_t)’:
cityhash/city.cc:155: warning: comparison between signed and unsigned integer expressions
g++ -O3 -msse2 -mtune=core2 -Icityhash -Wall -Wsign-compare -g -c -o align.o align.cc
In file included from align.cc:22:
vsearch.h:30:23: error: x86intrin.h: No such file or directory
make: *** [align.o] Error 1

Any ideas on why I am getting this error?

Thanks.

-Valerie

Torbjørn Rognes

unread,
Apr 10, 2015, 4:23:39 AM4/10/15
to vsearc...@googlegroups.com
Hi Valerie

Which version of OSX do you run on your Mac?

You might need a more recent version of OSX or perhaps install Xcode to be able to compile from source. The most recent binaries that you can download from the "Releases" page on Github should do. I do still not understand why you get the "Illegal instruction" error.

- Torbjørn

valer...@gmail.com

unread,
Apr 10, 2015, 9:24:52 PM4/10/15
to vsearc...@googlegroups.com
Hi all

FYI: I updated my operating system to Mac OS X 10.10 and now the precompiled binary is working fine as well as compiling the program with the make command with Makefile. Yay! Thanks!

-Valerie
Reply all
Reply to author
Forward
0 new messages