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 && sudo make install fails on a clean checkout #452

Open
rosenhouse opened this issue Oct 5, 2022 · 1 comment
Open

make && sudo make install fails on a clean checkout #452

rosenhouse opened this issue Oct 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@rosenhouse
Copy link
Member

rosenhouse commented Oct 5, 2022

Describe the bug

We used to be able to do

make && sudo make install

and end up with the libraries and headers in /usr/local/...

That doesn't work today.

Reproduction steps

git clone git@github.com:vmware/splinterdb.git
cd splinterdb
export CC=clang
export LD=clang
make
sudo make install

The last line fails with

Checking for mismatched config...Mismatched config file "build/release/build-config.38e61cc510d530870a8c417ec6741a7f" detected.  You need to "make clean".
make: *** [Makefile:259: mismatched_config_file_check] Error 123

Additional context

I can work around it by running

sudo --preserve-env=CC,LD make install

But I'd rather not have to remember to do that extra stuff.

@rosenhouse rosenhouse added the bug Something isn't working label Oct 5, 2022
@rosenhouse
Copy link
Member Author

@rtjohnso I think you did a lot of this build config work earlier, in case this is an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant