From 7636bda069395e41ec29c9011437b6a54faf0bd7 Mon Sep 17 00:00:00 2001 From: Kenneth Lareau Date: Tue, 27 Feb 2018 13:54:37 -0800 Subject: [PATCH] Config changes needed to build on CentOS 6 with newer GCC Due to a newer-than-standard GCC being installed on our system (6.3.1), some additional changes (mostly pulled from the Ubuntu 16.04 config) were needed to get a full build. The 'url' additions to device-mapper and libvirt were needed to allow the tarballs to be extracted. The '--with-user'/'--with-group' additions to device-mapper were needed to build as non-root (otherwise installation of certain files failed as it tried to chown them). --- buildout-build-redhat-64bit-with-libvirt.cfg | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/buildout-build-redhat-64bit-with-libvirt.cfg b/buildout-build-redhat-64bit-with-libvirt.cfg index b301e73..bf98f05 100644 --- a/buildout-build-redhat-64bit-with-libvirt.cfg +++ b/buildout-build-redhat-64bit-with-libvirt.cfg @@ -7,7 +7,15 @@ parts = zlib ncurses readline openssl openssh libgpg-error libgcrypt gettext lib gnu recipe = hexagonit.recipe.cmmi version = 1.02.28 -configure-options = --prefix=${options:prefix} --disable-rpath --libdir=${options:prefix}/lib64 --disable-selinux +configure-options = --prefix=${options:prefix} --disable-rpath --libdir=${options:prefix}/lib64 --disable-selinux --with-user=$USER --with-group=$GROUP +url = ${urls:source}/${:name}-${:version}.tgz + +[libgpg-error] +version = 1.22 + +[libgcrypt] +patches = ${:patches-dir}/${:name}-${:version}-mpi-mpi-internal.h.patch + ${:patches-dir}/${:name}-${:version}-mpi-mpi-inline.h.patch [libvirt] <= options @@ -15,3 +23,7 @@ configure-options = --prefix=${options:prefix} --disable-rpath --libdir=${option recipe = hexagonit.recipe.cmmi version = 3.9.0 configure-options = ${options:configure-options} --without-macvtap --without-yajl +url = ${urls:source}/${:name}-${:version}.tgz + +[ncurses] +patches = ${:patches-dir}/${:name}-${:version}-ncurses-base-MKlib_gen.sh.patch