<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I'm trying to install build2 on RHEL 7, and its g++ version is a bit old -- 4.8.5. I have a newer version installed in a non-standard location:<br><br></div><div>    /apps/gcc/7.3.0</div><div><br></div><div>I'm bootstrapping with this (the newer g++ is in PATH):<br><br>    make -f bootstrap.gmake -j CXX=g++ \<br>        LDFLAGS="-Wl,-rpath,/apps/gcc/7.3.0/lib64"<br>    build2/b-boot config.cxx=g++ \<br>        config.bin.rpath=/apps/gcc/7.3.0/lib64 \<br>        config.bin.lib=static build2/exe{b}<br>    mv build2/b build2/b-boot<br>    build2/b-boot --version<br><br></div><div>No errors so far. When doing the stage:<br><br>    build2/build2/b-boot configure config.cxx=g++\<br>        config.bin.suffix=-stage \<br>        config.bin.rpath=/apps/build2/0.8.0/gcc-7.3.0/lib:/apps/gcc/7.3.0/lib64 \<br>        config.install.root=/apps/build2/0.8.0/gcc-7.3.0 \<br>        config.install.data_root=root/stage \<br>        config.install.sudo=false<br>    build2/build2/b-boot install build2/ bpkg/<br></div><div><br></div><div>It fails; here are the last 5 lines of output:<br><br>install /apps/build2/0.8.0/gcc-7.3.0/stage/share/doc/build2-toolchain/<br>install /apps/build2/0.8.0/gcc-7.3.0/stage/share/doc/build2-toolchain/<br>install /apps/build2/0.8.0/gcc-7.3.0/stage/share/doc/build2-toolchain/<br>install /apps/build2/0.8.0/gcc-7.3.0/stage/share/doc/build2-toolchain/<br>info: failed to install dir{./}<br><br></div><div>Any idea what is wrong?<br></div></div></div></div></div></div></div></div></div>