Closed Jelinek-J closed 2 years ago
Hi, I think documenting what's needed is not a bad idea! Especially until we figure out how to handle this in with autoconf. I simplified things a little in #69, what do you think?
It seems I get by by using libc++-dev
and libc++abi-dev
btw. (without "11")
Hi,
ok... actually, maybe also git
should be added (I forgot that it is not only for optional git clone
, but also for git submodule init
and git submodule update
).
Yes, I guess that would be necessary for completeness, I updated the PR. I guess something similar for Mac OS X and Yum-based linux distros would be appropriate too. But that can be a separate issue.
I have merged the changes to master. Thanks for your suggestions!
Hi again, as you mentioned in the last comment of #60, I create a separate issue for the problem of dependencies. The problem persists (actually, I see no update of the
configure.ac
since that). Now I tested it also in a new Ubuntu 20.04 virtual machine, i.e. no mess from other previously installed programs (Ubuntu 16 is quite old, it is even out of standard support). Unfortunately, I am not experienced with autoconf, so I am not able to suggest a fix ofconfigure.ac
. Maybe the easiest way to trade with it would be to add a section to chapter Compatibility and dependencies in README or create a new chapter containing pairs of error - solution.Solution: install
libc++-11-dev
, i.e. callapt-get install libc++-11-dev
; if the package is not available, callapt-get update
update first.Solution: install
libc++abi-11-dev
, i.e. callapt-get install libc++abi-11-dev
; if the package is not available, callapt-get update
update first.Solution: the recommended
--disable-dependency-tracking
does not solve it (resp. it would pass./configure
step, but then it would fail duringmake
step), the problem is missingmake
, i.e. callapt-get install make
(or you can installbuild-essential
instead, it contains also a compiler - see a later problem).Solution: the problem is not missing
libxml2
package, but missinglibxml2-dev
package, i.e. callapt-get install libxml2-dev
.The rest of prerequisites is quite obvious:
Solution: missing C compiler, e.g. call
apt-get install build-essential
(see an upper problem).Solution: do what it recommends (or
apt-get install autoconf
, if you preferapt-get
).