Installation problem on macOS - osra configure
Brought to you by:
igor_filippov
Hi,
I'm trying to install osra on macOS (11.6) without success :(
I've installed all dependencies, but when I'm trying to ./configure
osra, it fails with this error message:
configure: error: OpenBabel API check failed; make sure you have installed libopenbabel-dev package or check config.log
openbabel seems to be functioning - I've installed the 3.0.0 patched version and obabel
is recognized and working.
Other than that, in case it matters, I've installed some of the dependencies (e.g., graphicsmagick and libiconv) using brew install
.
The config.log file is attached.
Help please :)
Guy,
I see the following errors in the config.log where it's checking for openbabel:
clang: error: no such file or directory: '/libxml2.a'
clang: error: no such file or directory: '/libiconv.a'
clang: error: no such file or directory: '/libz.a'
Try installing libxml2, libiconv, and libz first? Statically linked.
I also believe there is a brew version of OSRA floating around, though I neither created nor maintain it.
Regards,
Igor
Thank you Igor!
I've just used MacPorts to install libxml2 (which installed the other 2 libraries as dependencies) and it all works! :)
Great, glad to hear it resolves the problem!