Installing on Mac OSX 10.6.8
bash install.sh
...
>3000 lines
...
ar -csru libseqfile.a seq_file.o seq_common.o seq_fasta.o seq_fastq.o seq_plain.o seq_sam.o
cc -o seq_convert -O3 -Wall -Wextra -I../samtools-0.1.18 -I../string_buffer -L. -L../samtools-0.1.18 -L../string_buffer seq_convert.c -lseqfile -lbam -lstrbuf -lz -lm
if test -e needleman_wunsch; then rm needleman_wunsch; fi
for file in ; do rm -r $file; done
for file in ; do rm $file; done
gcc -o needleman_wunsch -O3 -fnested-functions -DCOMPILE_TIME='"Mon Nov 26 14:03:15 EST 2012"' -DSCORE_TYPE='int' -Wall \
-I . -I ./libs/utility_lib -I ./libs/string_buffer \
-I ./libs/bioinf -I ./libs/alignment_scoring \
nw_cmdline.c needleman_wunsch.c \
./libs/alignment_scoring/*.c ./libs/utility_lib/utility_lib.c \
./libs/bioinf/bioinf.c ./libs/string_buffer/string_buffer.c -lz
Undefined symbols:
"_gzbuffer", referenced from:
__set_seq_filetype in libseqfile.a(seq_file.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [all] Error 1
Thanks for this bug John. I must admit my primary concern was for Linux operation, and I did not test on Mac. I'll look into it.