Hi,

The installer.sh fails on the ppc64 platform. Making a patch was easy.
See attachment.


Greets,

    --Walter

-- 
                  *** If you build it, they will come ***

HPC Systems Programmer at SARA Computing and Network Services
People should be able to e-mail me, spambots should not.
diff --git a/installer.sh b/installer.sh
index b0f4c7a..b46abb3 100755
--- a/installer.sh
+++ b/installer.sh
@@ -216,7 +216,7 @@ selectTemplate() { # Take input from the "--installdir parameter"
 
 		case "$1" in
 		custom_*)
-			if [ "${UNAMEM}" = "x86_64" ]; then
+			if [ "${UNAMEM}" = "x86_64" -o "${UNAMEM}" = "ppc64" ]; then
 				LIBDIR="${PREFIX}/lib64"
 			else
 				LIBDIR="${PREFIX}/lib"
@@ -227,7 +227,7 @@ selectTemplate() { # Take input from the "--installdir parameter"
 			SHAREDIR="${PREFIX}/share"
 			;;
 		RPM)
-			if [ "${UNAMEM}" = "x86_64" ]; then
+			if [ "${UNAMEM}" = "x86_64" -o "${UNAMEM}" = "ppc64" ]; then
 				LIBDIR="${PREFIX}/lib64"
 			else
 				LIBDIR="${PREFIX}/lib"
@@ -244,7 +244,7 @@ selectTemplate() { # Take input from the "--installdir parameter"
 			SHAREDIR="${PREFIX}/share"
 			;;
 		TGZ)
-			if [ "${UNAMEM}" = "x86_64" ]; then
+			if [ "${UNAMEM}" = "x86_64" -o "${UNAMEM}" = "ppc64" ]; then
 				LIBDIR="${PREFIX}/lib64"
 			else
 				LIBDIR="${PREFIX}/lib"
@@ -255,7 +255,7 @@ selectTemplate() { # Take input from the "--installdir parameter"
 			SHAREDIR="${PREFIX}/share"
 			;;
 		*)
-			if [ -d "${PREFIX}/lib64" ]; then
+			if [ -d "${PREFIX}/lib64" -o "${UNAMEM}" = "ppc64" ]; then
 				LIBDIR="${PREFIX}/lib64"
 			else
 				LIBDIR="${PREFIX}/lib"
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to