-->

./configure--with-boost no such file or directory

2019-05-31 06:44发布

问题:

When I used ./configure the terminal returned:

checking for Boost headers version >= 1.41.0... no configure: error: cannot find Boost headers version >= 1.41.0

So i used the command "./configure-with-boost=/usr/include" also but it only returns

No such file or directory

I have the latest version of Boost headers extracted to /usr/include

回答1:

--with-boost=... is a command line options that must be separated with at least one whitespace from the name of the executable and the rest of arguments, i.e.

./configure --with-boost=/usr/include


回答2:

I have solved the problem it was just some developmental libraries were missing and it was giving the boost error instead to cover for this.