Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install fails #13

Open
quantitative-technologies opened this issue Apr 16, 2018 · 5 comments
Open

make install fails #13

quantitative-technologies opened this issue Apr 16, 2018 · 5 comments

Comments

@quantitative-technologies

After

cmake .
make

make install give an error that it cannot find boost/libs/beast/include.

@pfultz2
Copy link
Member

pfultz2 commented Apr 16, 2018

You want to make a separate build directory, try:

mkdir build
cd build
cmake ..
make

@quantitative-technologies
Copy link
Author

That made no difference.

After cmake .. there is the message: Build files have been written to: /home/james/src/boost that the build files are in the parent directory. Then

cd ..
make 
make install

fails as before on make install.

@pfultz2
Copy link
Member

pfultz2 commented Apr 16, 2018

After cmake .. there is the message: Build files have been written to: /home/james/src/boost that the build files are in the parent directory. Then

I am not sure why that didn't work, but the problem is that it is writing the build files into the source directory.

@quantitative-technologies
Copy link
Author

I had to delete CMakeCache first, so it would build in a separate directory. However, this still did not fix the problem: Exactly the same error is occurring on make install.

@quantitative-technologies
Copy link
Author

I was able to install by making the following change to CMakeLists.txt:

set(EXCLUDE_LIBS beast callable_traits mp11 poly_collection stacktrace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants