configure: creating ./config.status
mv: cannot move 'conftest.tail' to 'conftest.defines': Operation not permitted
grep: conftest.defines: No such file or directory
mv: cannot move 'conftest.tail' to 'conftest.undefs': Operation not permitted
grep: conftest.undefs: No such file or directory
config.status: creating Makefile
mv: cannot move './confstatmBil67/out' to 'Makefile': Operation not permitted
config.status: creating src/Makefile
mv: cannot move './confstatmBil67/out' to 'src/Makefile': Operation not permitted
config.status: creating data/Makefile
mv: cannot move './confstatmBil67/out' to 'data/Makefile': Operation not permitted
config.status: creating doc/Makefile
mv: cannot move './confstatmBil67/out' to 'doc/Makefile': Operation not permitted
config.status: creating config.h
mv: cannot move './confstatmBil67/out' to './confstatmBil67/in': Operation not permitted
cat: ./confstatmBil67/in: No such file or directory
mv: cannot move './confstatmBil67/config.h' to 'config.h': Operation not permitted
config.status: executing depfiles commands
docker에서 컴파일 할때 위와 같이 에러가 발생 할 수 있다.
이런 경우는 컨테이너 권한을 줘야 한다.
기존에 컨테이너 만들때
docker run -it --name centos7 centos:7 이렇게 만들었다면
docker run -it --privileged --name centos7 centos:7 권한을 부여 해서 만들어서 구동을 하게 되면
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
정상적으로 완료가 된다.