From: marcos m. <mel...@gm...> - 2007-08-03 22:14:58
|
Hi doug; I=B4m installing the agent hyperic in Itanium server(ia64) And need install sigar :=20 linux 2.6.9-11.EL #1 SMP Fri May 20 18:25:13 EDT 2005 ia64 ia64 ia64 GNU/= Linux=20 REDHAT Enterprise Linux AS release 4 (Nahant Update 1) hyperic-sigar-1.4.0.0=20 apache-ant-1.6.5 =20 j2sdk1.4.1 perl, v5.8.5 built for ia64-linux-thread-multi gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1) variables: export ANT_HOME=3D/hyperic/apache-ant-1.6.5/ export JAVA_HOME=3D/hyperic/j2sdk1.4.1/ PATH=3D$PATH:/hyperic/apache-ant-1.6.5/bin/ When compiling it gives the next error:=20 # cd hyperic-sigar-1.4.0.0-src/bindings/java/ # ant Buildfile: build.xml jni-init: [echo] java.home=3D/hyperic/j2sdk1.4.1/ [echo] jni.src=3Dlinux, jni.jdk.os=3Dlinux, 64-bit [libarch] ia64-linux sigar-version: version-file: [copydep] /hyperic/hyperic-sigar-1.4.0.0-src/bindings/java/build/src/org/= hyperic/sigar/SigarVersion.java up to date with version.properties version-file: [copydep] /hyperic/hyperic-sigar-1.4.0.0-src/bindings/java/build/src/siga= r_version.c up to date with version.properties version-file: [copydep] /hyperic/hyperic-sigar-1.4.0.0-src/bindings/java/build/src/siga= r.def up to date with version.properties prepare-src: [exec] javasigar_generated.c unchanged jni-compile: jni-cc: [echo] jni libname=3Dsigar-ia64-linux [cc] 12 total files to be compiled. [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' [cc] cc1: error: invalid option `64' BUILD FAILED /hyperic/hyperic-sigar-1.4.0.0-src/bindings/java/hyperic_jni/jni-build.xml:= 200: The following error occurred while executing this line: /hyperic/hyperic-sigar-1.4.0.0-src/bindings/java/hyperic_jni/jni-build.xml:= 246: gcc failed with return code 1 Total time: 8 seconds # Can you help me ?=20 Please Thanks=20 Marcos |
From: Doug M. <do...@hy...> - 2007-08-07 17:23:38
|
Hi Marcos, There is a binary included already with the HQ agent: pdk/lib/libsigar-ia64-linux.so Did you have problems using that? In any case, to build from source, you might need to remove the -m64 flag from hyperic_jni/jni-build.xml: <!-- Linux --> <compiler name="gcc" debug="${jni.debug}" if="linux"> ... - <compilerarg value="-m64" if="jni.arch64"/> |
From: raghu <sig...@hy...> - 2009-12-30 18:57:22
|
Hi, Can anyone help me in compiling the hyperic sigar to arm, i saw libsigar-x86-linux.so etc etc this is compiled for x86 in the same way can i compile to arm arch. please provide some inputs in this issue. Thanking you. Regards, Raghu kiran |
From: Doug M. <do...@hy...> - 2010-01-05 00:36:47
|
Hi Raghu, I don't have any experience with arm, but the linux ports to ia64 and s390 architectures use the same build tools as x86 (jdk, ant, perl and gcc): http://support.hyperic.com/display/SIGAR/Home#Home-building Have you tried that? |
From: Raghu K. <ark...@gm...> - 2010-01-06 04:55:46
|
Hi thanks for the reply, i didn't tried what you said. I am going ahead to try out . BR, Raghu Kiran A On Tue, Jan 5, 2010 at 6:02 AM, Doug MacEachern <do...@hy...> wrote: > Hi Raghu, > > I don't have any experience with arm, but the linux ports to ia64 and s390 > architectures use the same build tools as x86 (jdk, ant, perl and gcc): > http://support.hyperic.com/display/SIGAR/Home#Home-building > > Have you tried that? > |