Having trouble building RNAz 2.1 on MacOS. Following instructions at https://www.tbi.univie.ac.at/software/RNAz/
tar -xzf RNAz-2.1-tar.gz cd RNAz-2.1 ./configure make
make fails with
/usr/bin/clang++ -o RNAz RNAz.o rnaz_utils.o svm_helper.o zscore.o cmdline.o strand.o svm.o -L../librna -lRNA -lm Undefined symbols for architecture x86_64: "_HairpinE", referenced from: _alifold in libRNA.a(alifold.o) _fill_arrays in libRNA.a(fold.o) _backtrack in libRNA.a(fold.o) _stack_energy in libRNA.a(fold.o) "_LoopEnergy", referenced from: _alifold in libRNA.a(alifold.o) _fill_arrays in libRNA.a(fold.o) _backtrack in libRNA.a(fold.o) _stack_energy in libRNA.a(fold.o) ld: symbol(s) not found for architecture x86_64
Thinking that compiling for 32-bit might work I tried setting
CXXFLAGS = -m32 LDFLAGS = -m32
without success (same result). Same result with
Configure checks for
... checking for gcc... gcc checking whether the C compiler works... yes ...
Makefile specifies the following:
CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 CPP = gcc -E CPPFLAGS = CXX = g++ CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Thread model: posix
Has anyone built this successfully on MacOS? Or perhaps suggestions as to how I might build this successfully? I'm at a loss.