error installing xfitter 2.0.0 on mac os 10.12.6
Hello,
I would like to ask for some advice installing xfitter on mac - I have tried using 'install-xfitter' from: https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=view&target=install-xfitter with clang: Apple LLVM version 9.0.0 (clang-900.0.39.2) and got a list of errors in applgrid installation, like:
In file included from appl_grid.cxx:23: ../appl_grid/appl_pdf.h:54:69: error: invalid operands to binary expression ('basic_ostream<char, std::__1::char_traits >' and 'std::ostream' (aka 'basic_ostream')) exception(std::ostream& s) { std::cerr << what() << " " << s << std::endl; };
I also tried to install without 'applgrid', 'apfel', 'mela' and 'apfelgrid', and there is an error with compiling xfitter itself:
Undefined symbols for architecture x86_64: "_fmemopen", referenced from: _load_lhapdf6_member in libpdf2yaml.a(pdf2yaml.o) "_open_memstream", referenced from: _load_lhapdf6_member in libpdf2yaml.a(pdf2yaml.o) _load_lhapdf6_set in libpdf2yaml.a(pdf2yaml.o) _save_lhapdf6_set in libpdf2yaml.a(pdf2yaml.o) ld: symbol(s) not found for architecture x86_64
while 'lhapdf6' was installed without any issues.
Are there any instructions / solutions to avoid these problems ?