Hi All,
I've applied the required changes for AIX 5.3 however I get the following
error during configure (CC=cc CXX=cc CFLAGS=-lperfstat ./configure
--disable-shared --enable-static) the same error appears when using GCC
3.3.2:
checking size of void*... configure: error: cannot compute sizeof (void*),
77
See `config.log' for more details.
And I get the following compile error with Xlc:
../ganglia-3.0.1> make
make all-recursive
make[1]: Entering directory `/home/root/ganglia-3.0.1'
Making all in srclib
make[2]: Entering directory `/home/root/ganglia-3.0.1/srclib'
Making all in libmetrics
make[3]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make all-recursive
make[4]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
Making all in aix
make[5]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics/aix'
source='metrics.c' object='metrics.lo' libtool=yes \
depfile='.deps/metrics.Plo' tmpdepfile='.deps/metrics.TPlo' \
depmode=aix /bin/sh ../build/depcomp \
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../lib -lperfstat -D_ALL_SOURCE -DAIX -c -o metrics.lo `test -f
'metrics.c' || echo './'`metrics.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -lperfstat -D_ALL_SOURCE -DAIX
-c -M metrics.c -DPIC -o .libs/metrics.o
"/usr/include/sys/localedef.h", line 43.10: 1506-296 (S) #include file
<sys/lc_core.h> not found.
"/usr/include/sys/localedef.h", line 68.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 112.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 178.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 213.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 249.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 348.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 423.3: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 482.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 530.9: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef.h", line 552.5: 1506-046 (S) Syntax error.
make[5]: *** [metrics.lo] Error 1
make[5]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics/aix'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/ganglia-3.0.1/srclib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/ganglia-3.0.1'
make: *** [all] Error 2
And this with GCC 3.3.2:
../ganglia-3.0.1> make
make all-recursive
make[1]: Entering directory `/home/root/ganglia-3.0.1'
Making all in srclib
make[2]: Entering directory `/home/root/ganglia-3.0.1/srclib'
Making all in libmetrics
make[3]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make all-recursive
make[4]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
Making all in aix
make[5]: Entering directory `/home/root/ganglia-3.0.1/srclib/libmetrics/aix'
source='metrics.c' object='metrics.lo' libtool=yes \
depfile='.deps/metrics.Plo' tmpdepfile='.deps/metrics.TPlo' \
depmode=gcc3 /bin/sh ../build/depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../lib -lperfstat -D_ALL_SOURCE -DAIX -c -o metrics.lo `test -f
'metrics.c' || echo './'`metrics.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -lperfstat -D_ALL_SOURCE
-DAIX -c metrics.c -MT metrics.lo -MD -MP -MF .deps/metrics.TPlo -DPIC
In file included from
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/stdlib.h:572,
from metrics.c:27:
/usr/include/sys/localedef.h:43:25: sys/lc_core.h: No such file or directory
In file included from
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/stdlib.h:572,
from metrics.c:27:
/usr/include/sys/localedef.h:68: error: parse error before
"_LC_core_charmap_t"
/usr/include/sys/localedef.h:88: error: parse error before '}' token
/usr/include/sys/localedef.h:93: error: parse error before "_LC_charmap_t"
/usr/include/sys/localedef.h:102: error: parse error before '}' token
/usr/include/sys/localedef.h:112: error: parse error before
"_LC_core_monetary_t"
/usr/include/sys/localedef.h:156: error: parse error before '}' token
/usr/include/sys/localedef.h:160: error: parse error before "_LC_monetary_t"
/usr/include/sys/localedef.h:169: error: parse error before '}' token
/usr/include/sys/localedef.h:178: error: parse error before
"_LC_core_numeric_t"
/usr/include/sys/localedef.h:190: error: parse error before '}' token
/usr/include/sys/localedef.h:194: error: parse error before "_LC_numeric_t"
/usr/include/sys/localedef.h:203: error: parse error before '}' token
/usr/include/sys/localedef.h:213: error: parse error before
"_LC_core_resp_t"
/usr/include/sys/localedef.h:226: error: parse error before '}' token
/usr/include/sys/localedef.h:230: error: parse error before "_LC_resp_t"
/usr/include/sys/localedef.h:239: error: parse error before '}' token
/usr/include/sys/localedef.h:249: error: parse error before
"_LC_core_time_t"
/usr/include/sys/localedef.h:273: error: parse error before '}' token
/usr/include/sys/localedef.h:277: error: parse error before "_LC_time_t"
/usr/include/sys/localedef.h:286: error: parse error before '}' token
/usr/include/sys/localedef.h:348: error: parse error before
"_LC_core_collate_t"
/usr/include/sys/localedef.h:380: error: parse error before '}' token
/usr/include/sys/localedef.h:384: error: parse error before "_LC_collate_t"
/usr/include/sys/localedef.h:393: error: parse error before '}' token
/usr/include/sys/localedef.h:423: error: parse error before
"_LC_core_ctype_t"
/usr/include/sys/localedef.h:452: error: parse error before '}' token
/usr/include/sys/localedef.h:456: error: parse error before "_LC_ctype_t"
/usr/include/sys/localedef.h:465: error: parse error before '}' token
/usr/include/sys/localedef.h:482: error: parse error before
"_LC_core_locale_t"
/usr/include/sys/localedef.h:505: error: parse error before '}' token
/usr/include/sys/localedef.h:509: error: parse error before "_LC_locale_t"
/usr/include/sys/localedef.h:518: error: parse error before '}' token
/usr/include/sys/localedef.h:530: error: parse error before "_LC_object_t"
/usr/include/sys/localedef.h:539: error: parse error before '}' token
/usr/include/sys/localedef.h:548: error: parse error before '}' token
/usr/include/sys/localedef.h:552: error: parse error before "_LC_object_t"
/usr/include/sys/localedef.h:554: error: parse error before '}' token
/usr/include/sys/localedef.h:532: error: storage size of `lc_charmap' isn't
known
/usr/include/sys/localedef.h:533: error: storage size of `lc_collate' isn't
known
/usr/include/sys/localedef.h:534: error: storage size of `lc_ctype' isn't
known
/usr/include/sys/localedef.h:535: error: storage size of `lc_monetary' isn't
known
/usr/include/sys/localedef.h:536: error: storage size of `lc_numeric' isn't
known
/usr/include/sys/localedef.h:537: error: storage size of `lc_resp' isn't
known
/usr/include/sys/localedef.h:538: error: storage size of `lc_time' isn't
known
/usr/include/sys/localedef.h:531: error: storage size of `lc_locale' isn't
known
/usr/include/sys/localedef.h:553: error: storage size of `handle' isn't
known
make[5]: *** [metrics.lo] Error 1
make[5]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics/aix'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/root/ganglia-3.0.1/srclib/libmetrics'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/ganglia-3.0.1/srclib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/ganglia-3.0.1'
make: *** [all] Error 2
Any ideas?
Thanks in advo,
Alex