guanchangge / mosaik-aligner

Automatically exported from code.google.com/p/mosaik-aligner
0 stars 0 forks source link

Problem compiling on Mac OS X #123

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. cd MOSAIK/src/
2. export BLD_PLATFORM=macosx64
3. make

What is the expected output? What do you see instead?

Building MOSAIK for the following platform: macosx64
=========================================================
- Building in fann-2.1.0
make[1]: Nothing to be done for `all'.

- Building in CommonSource
- Building in DataStructures
  * compiling JumpDnaHash.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[2]: *** [../../../obj/JumpDnaHash.o] Error 1

- Building in ExternalReadFormats
  * compiling Fastq.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[2]: *** [../../../obj/Fastq.o] Error 1

- Building in MosaikReadFormat
  * compiling AlignmentWriter.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[2]: *** [../../../obj/AlignmentWriter.o] Error 1

- Building in PairwiseAlignment
make[2]: Nothing to be done for `all'.

- Building in Utilities
  * compiling ArchiveMerge.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[2]: *** [../../../obj/ArchiveMerge.o] Error 1

- Building in MosaikBuild
  * compiling BuildMain.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[1]: *** [../../obj/BuildMain.o] Error 1

- Building in MosaikAligner
  * compiling AlignerMain.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[1]: *** [../../obj/AlignerMain.o] Error 1

- Building in MosaikJump
  * compiling JumpMain.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[1]: *** [../../obj/JumpMain.o] Error 1

- Building in MosaikText
  * compiling TextMain.cpp
g++: x86_64: No such file or directory
cc1plus: error: unrecognized command line option "-arch"
make[1]: *** [../../obj/TextMain.o] Error 1

What version of the product are you using? On what operating system?

MOSAIK 2.0

Please provide any additional information below.

Original issue reported on code.google.com by nickridd...@gmail.com on 9 Nov 2012 at 12:19

GoogleCodeExporter commented 8 years ago
Here is the answer borrowed from the link, 
http://stackoverflow.com/questions/4391192/why-do-i-get-cc1plus-error-unrecogniz
ed-command-line-option-arch.

==========
The -arch option is part of the Apple extensions to gcc. You need to use the 
gcc supplied by Apple's Developer Tools, Xcode.
==========

If it doesn't help, I can make the binary for you to download.

Original comment by WanPing....@gmail.com on 9 Nov 2012 at 5:05

GoogleCodeExporter commented 8 years ago
Hi,

I've tried installing gcc as described in the link you provided - but I can't 
get it working (I'm fairly new to all of this!) 

It would be great If you could make a binary that I could download!

Many thanks,

Nick 

Original comment by nickridd...@gmail.com on 12 Nov 2012 at 11:08

GoogleCodeExporter commented 8 years ago
Hi Nick,

I just upload the MAC binary. Please check out.

Original comment by WanPing....@gmail.com on 12 Nov 2012 at 4:36

GoogleCodeExporter commented 8 years ago
Hi - thanks a lot.

However, when I unzip the file I am left with 4 data files - none of which can 
run as executables.

Any help would be appreciated!

Many thanks

Original comment by nickridd...@gmail.com on 17 Nov 2012 at 11:29