Actually, scratch that, when I built this on RHEL6 it created an RPM.
Unfortunately I'm still stuck trying to get this to build on RHEL7.
Unfortunately I'm still stuck trying to get this to build on RHEL7.
bash-4.1# make all
mkdir -p /root/scom/scxom-2012R2/opsmgr/intermediate/Linux_REDHAT_6.5_x64_64_Release/include
mkdir -p /root/scom/scxom-2012R2/opsmgr/intermediate/Linux_REDHAT_6.5_x64_64_Release/source/code/shared/tools/regex_test
g++ -MM -Os -fno-enforce-eh-specs -fno-omit-frame-pointer -DPF_DISTRO_REDHAT -DPF_MAJOR=6 -DOS_MINOR=5 -Dx64 -DPF_WIDTH=64 -DNDEBUG -fstack-protector-all -Wall -fno-nonansi-builtins -Woverloaded-virtual -Wformat -Wformat-security -Wfloat-equal -Wcast-align -Wconversion -Wswitch-enum -Wundef -Wshadow -Wwrite-strings -Wredundant-decls -Werror -pedantic -Wextra -Wcast-qual -Wstrict-null-sentinel -Wmissing-include-dirs -Winit-self -fPIC -I/root/scom/scxom-2012R2/pal/source/code/include -I/root/scom/scxom-2012R2/opsmgr/source/code/include -I/root/scom/scxom-2012R2/opsmgr/intermediate/Linux_REDHAT_6.5_x64_64_Release/include -I/root/scom/scxom-2012R2/pal/intermediate/Linux_REDHAT_6.5_x64_64_Release/include -I/root/scom/scxom-2012R2/opsmgr -I/root/scom/scxom-2012R2/pal -isystem. -I/root/scom/scxom-2012R2/omi/distro/output/include -I/root/scom/scxom-2012R2/opsmgr/source/code/shared/tools/regex_test /root/scom/scxom-2012R2/opsmgr/source/code/shared/tools/regex_test/regex_test.cpp > /root/scom/scxom-2012R2/opsmgr/intermediate/Linux_REDHAT_6.5_x64_64_Release/source/code/shared/tools/regex_test/regex_test.d.$$; \
<SNIP>
warning: %defattr doesn't define directory mode so file mode defined in %defattr is used for directory: /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/staging/var/opt/microsoft/scx/omiauth
Finding Provides: /usr/lib/rpm/redhat/find-provides
Provides: cim-server libSCXCoreProviderModule.so()(64bit) libmicxx.so()(64bit) libomiclient.so()(64bit) libomiidentify.so()(64bit)
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Conflicts: scx < 1.5.0-999.el6
Obsoletes: scx < 1.5.0-999.el6
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/staging
Wrote: /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/RPM-packages/RPMS/x86_64/scx-1.5.0-999.el6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.peW8Pb
+ umask 022
+ cd /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/RPM-packages/BUILD
+ /bin/rm -rf /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/staging
+ exit 0
/root/scom/scxom-2012R2/opsmgr/installer/InstallerBuilder/linuxrpm.py:252: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.
fin, fout = os.popen4('rpm -q --specfile --qf "%{arch}\n" ' + self.specFileName)
Moved to: /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/scx-1.5.0-999.rhel.6.x64.rpm
bash-4.1# rpm -qpl /root/scom/scxom-2012R2/opsmgr/target/Linux_REDHAT_6.5_x64_64_Release/scx-1.5.0-999.rhel.6.x64.rpm
/etc/init.d/scx-cimd
/etc/opt/microsoft
/etc/opt/microsoft/scx
/etc/opt/microsoft/scx/conf
/etc/opt/microsoft/scx/conf/.baseconf
/etc/opt/microsoft/scx/conf/.baseconf/omiserver.backup
/etc/opt/microsoft/scx/conf/installinfo.txt
/etc/opt/microsoft/scx/conf/omicli.conf
/etc/opt/microsoft/scx/conf/omiregister
/etc/opt/microsoft/scx/conf/omiregister/root-omi
/etc/opt/microsoft/scx/conf/omiregister/root-omi/omiidentify.reg
/etc/opt/microsoft/scx/conf/omiregister/root-scx
/etc/opt/microsoft/scx/conf/omiregister/root-scx/SCXProvider-req.reg
/etc/opt/microsoft/scx/conf/omiregister/root-scx/SCXProvider-root.reg
/etc/opt/microsoft/scx/conf/scxlog.conf
/etc/opt/microsoft/scx/conf/scxrunas.conf
/etc/opt/microsoft/scx/ssl
/opt/microsoft
/opt/microsoft/scx
/opt/microsoft/scx/bin
/opt/microsoft/scx/bin/omiagent
/opt/microsoft/scx/bin/omiserver
/opt/microsoft/scx/bin/scxlogfilereader
/opt/microsoft/scx/bin/setup.sh
/opt/microsoft/scx/bin/tools
/opt/microsoft/scx/bin/tools/.scxadmin
/opt/microsoft/scx/bin/tools/.scxsslconfig
/opt/microsoft/scx/bin/tools/omicli
/opt/microsoft/scx/bin/tools/scxadmin
/opt/microsoft/scx/bin/tools/scxsslconfig
/opt/microsoft/scx/bin/tools/setup.sh
/opt/microsoft/scx/lib
/opt/microsoft/scx/lib/libSCXCoreProviderModule.so
/opt/microsoft/scx/lib/libmicxx.so
/opt/microsoft/scx/lib/libomiclient.so
/opt/microsoft/scx/lib/libomiidentify.so
/usr/sbin/scxadmin
/var/opt/microsoft
/var/opt/microsoft/scx
/var/opt/microsoft/scx/lib
/var/opt/microsoft/scx/lib/state
/var/opt/microsoft/scx/log
/var/opt/microsoft/scx/omiauth
/var/opt/microsoft/scx/run
/var/opt/microsoft/scx/tmp
bash-4.1#
Unfortunately I'm still stuck trying to get this to build on RHEL7.