Hi,
Ganglia fails to compile. Any ideas?
Details below (including output from emerge --info). I have
also
attached the build log.
Many thanks in advance.
regards
Garry
gms obufki ~ $ sudo emerge -s ganglia
Password:
Searching...
[ Results for search key : ganglia ]
[ Applications found : 1 ]
* sys-cluster/ganglia
Latest version available: 2.5.7
Latest version installed: [ Not Installed ]
Size of files: 485 kB
Homepage: http://ganglia.source
forge.net/
Description: Ganglia is a scalable distributed
monitoring system
for high-performance computing systems such as clusters and
Grids
License: BSD
gms obufki ~ $ sudo emerge -av sys-cluster/ganglia
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-cluster/ganglia-2.5.7 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) sys-cluster/ganglia-2.5.7 to
/
.
.
.
.
.
listen.c:511: warning: pointer targets in passing argument 2
of
'xdr_u_int' differ in signedness
source='machine.c' object='machine.o' libtool=no
depfile='.deps/machine.Po'
tmpdepfile='.deps/machine.TPo'
depmode=gcc3 /bin/sh ../config/depcomp
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../lib
-I../lib/dnet -O2 -march=i686 -pipe -Wall -D_REENTRANT -c
`test -f
'machine.c' || echo './'`machine.c
machine.c: In function 'pkts_in_func':
machine.c:120: error: invalid lvalue in assignment
machine.c: In function 'pkts_out_func':
machine.c:180: error: invalid lvalue in assignment
machine.c: In function 'bytes_out_func':
machine.c:241: error: invalid lvalue in assignment
machine.c: In function 'bytes_in_func':
machine.c:305: error: invalid lvalue in assignment
machine.c: In function 'cpu_num_func':
machine.c:335: warning: implicit declaration of function
'get_nprocs'
make[3]: *** [machine.o] Error 1
make[3]: *** Waiting for unfinished jobs....
server.c: In function 'server_thread':
server.c:199: warning: passing argument 3 of 'llist_search'
from
incompatible pointer type
make[3]: Leaving directory
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7/gmond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7/gmond'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7'
make: *** [all] Error 2
!!! ERROR: sys-cluster/ganglia-2.5.7 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ganglia-2.5.7.ebuild, line 30: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and
the call
stack if relevant.
!!! A complete build log is located at
'/var/tmp/portage/sys-cluster/ganglia-2.5.7/temp/build.log'.
----------------------------------------------------
emerge -- info shows:
gms obufki ~ $ sudo emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.1,
glibc-2.4-r4,
2.6.17.13 i686)
============================================================
=====
System uname: 2.6.17.13 i686 Genuine Intel(R) CPU
T2500 2.00GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sat, 23 Jun 2007 09:50:01 +0000
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env
/usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/
/etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyond
er.co.uk
http://www.mirrorservice.org/sites/www.ibiblio.org/gen
too/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mir
ror/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links
--perms --times
--compress --force --whole-file --delete --delete-after
--stats
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage&qu
ot;
USE="X acpi alsa apache2 apm berkdb bitmap-fonts
bluetooth cddb cdr cli
cracklib crypt cups dbus doc dri dv dvd dvdr examples exif
firefox
fortran gdbm geoip gif gphoto2 gpm gps iconv ipod ipv6
isdnlog jabber
java jpeg junit kde libg++ lirc lm_sensors midi mp3 mpeg mpi
mplayer
mudflap mysql ncurses nls nptl nptlonly nsplugin opengl
openmp pam
pcmcia pcre perl plotutils png ppds pppd python qt3 qt4
quicktime
rdesktop readline reflection scanner session snmp spl ssl
svg tcpd
truetype-fonts type1-fonts unicode usb v4l vim-syntax wifi
x86 xine xml
xmlrpc xorg xosd zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938
es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter
mulaw multi null plug rate route share shm softvol"
ELIBC="glibc"
INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb
ncurses text" USERLAND="GNU"
VIDEO_CARDS="radeon fglrx vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|