<div dir="ltr">FWIW, we've moved to CentOS 6 for the binaries we package and distribute for ParaView.  It's about the oldest widely deployed Linux distro that's still actively supported (EL5 is EOL'd and most deployments have long since moved to 6 or 7).  it's binaries are compatible with virtually all current Linux distros.  It also has newer compilers available (gcc 5.3 through the devtoolset-4 package) that can build C++11 binaries compatible with the older systems. <br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>- Chuck<br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 3, 2017 at 3:46 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net" target="_blank">a.neundorf-work@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017 M02 2, Thu 20:07:29 CET you wrote:<br>
> Hi Gonzalo,<br>
><br>
> Using the dockcross/manylinux-x64 docker image should allow to build you<br>
> project out-of-the-box.<br>
> It is based on Centos5, include recent gcc, CMake, Git, etc ...<br>
><br>
> See <a href="https://github.com/dockcross/dockcross" rel="noreferrer" target="_blank">https://github.com/dockcross/<wbr>dockcross</a><br>
><br>
> In a nutshell,<br>
><br>
> # Pull image<br>
> docker pull dockcross/manylinux-x64<br>
><br>
> # Generate helper script<br>
> docker run --rm dockcross/manylinux-x64 > dockcross-manylinux-x64<br>
> chmod +x ./dockcross-manylinux-x64<br>
> mv ./dockcross-manylinux-x64 ~/bin/<br>
><br>
> # Build your project<br>
> cd /path/to/src<br>
> dockcross cmake -Bbuild -H. -GNinja<br>
><br>
><br>
> The directory build will then contain the build tree of your project<br>
> compiled using gcc provided by the Centos5 image and link against an old<br>
> glibc.<br>
<br>
</span>when docker starts, you are usually root in the container, and if then<br>
something is built, the files belong to root, and not the user as which you are<br>
logged in.<br>
How do you handle that ?<br>
I just found a hackish way (a shell script which sets up a user with the same<br>
numerical ID) to have the same user ID in the container as on the host system.<br>
Is there a better way ?<br>
<div class="HOEnZb"><div class="h5"><br>
Alex<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div></div>