And some more problems. I'm getting this building gmond, gmetad, and gmetric. gmond, for example, says:
/bin/sh ../libtool --tag=CC --mode=link /opt/local/bin/gcc-mp-4.3 -I../lib -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -I/Users/graph/local/include -I/opt/local/include -I/opt/local/include/python2.5 -fno-strict-aliasing -Wall -export-dynamic -L/Users/graph/local/lib -L/opt/local/lib -L/opt/local/lib/python2.5 -L/opt/local/lib -o gmond gmond.o cmdline.o g25_config.o core_metrics.o ../libmetrics/libmetrics.la ../lib/libganglia.la ../lib/libgetopthelper.a -ldl -lkvm -lexpat -lconfuse -lapr-1 -lpthread mkdir .libs /opt/local/bin/gcc-mp-4.3 -I../lib -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -I/Users/graph/local/include -I/opt/local/include -I/opt/local/include/python2.5 -fno-strict-aliasing -Wall -o .libs/gmond gmond.o cmdline.o g25_config.o core_metrics.o -L/Users/graph/local/lib -L/opt/local/lib -L/opt/local/lib/python2.5 ../libmetrics/.libs/libmetrics.a -lresolv ../lib/.libs/libganglia.dylib ../lib/libgetopthelper.a -ldl -lkvm /opt/local/lib/libexpat.dylib /Users/graph/local/lib/libconfuse.dylib /opt/local/lib/libapr-1.dylib -lpthread /usr/bin/ld: multiple definitions of symbol _getopt /usr/lib/libdl.dylib(getopt.So) definition of _getopt ../lib/libgetopthelper.a(getopt.o) definition of _getopt in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _opterr /usr/lib/libdl.dylib(getopt.So) definition of _opterr ../lib/libgetopthelper.a(getopt.o) definition of _opterr in section (__DATA,__data) /usr/bin/ld: multiple definitions of symbol _optind /usr/lib/libdl.dylib(getopt.So) definition of _optind ../lib/libgetopthelper.a(getopt.o) definition of _optind in section (__DATA,__data) /usr/bin/ld: multiple definitions of symbol _optopt /usr/lib/libdl.dylib(getopt.So) definition of _optopt ../lib/libgetopthelper.a(getopt.o) definition of _optopt in section (__DATA,__data) collect2: ld returned 1 exit status make[3]: *** [gmond] Error 1 Any ideas? Also, this line in configure fails: $ GANGLIA_NANO_VERSION=`svnversion -c -n . | cut -f2 -d: | tr -d 'MS' | xargs echo -n` cut: stdin: Illegal byte sequence but this works: $ GANGLIA_NANO_VERSION=`svnversion -c -n . | xargs | cut -f2 -d: | tr -d 'MS' | xargs echo -n` Thank you, Gil ----- Original Message ---- > From: Gilad Raphaelli <[EMAIL PROTECTED]> > To: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> > Cc: ganglia-developers@lists.sourceforge.net; Brad Nicholes <[EMAIL > PROTECTED]> > Sent: Thursday, April 3, 2008 11:36:36 AM > Subject: Re: [Ganglia-developers] Time to create the 3.1.x stable branch... > > Carlo, > > Good news > > ----- Original Message ---- > > From: Carlo Marcelo Arenas Belon > > To: Gilad Raphaelli > > Cc: ganglia-developers@lists.sourceforge.net; Brad Nicholes > > > Sent: Thursday, April 3, 2008 11:13:55 AM > > Subject: Re: [Ganglia-developers] Time to create the 3.1.x stable branch... > > > > On Wed, Apr 02, 2008 at 05:40:04PM -0700, Gilad Raphaelli wrote: > > > > > > Would that look something like this? > > > > > > /opt/local/bin/gcc-mp-4.3 -dynamiclib ${wl}-flat_namespace > > > ${wl}-undefined > > ${wl}suppress -o .libs/libganglia-3.1.0..0.0.0.dylib > > .libs/gm_protocol_xdr.o > > .libs/become_a_nobody.o .libs/debug_msg.o .libs/daemon_init.o .libs/file.o > > .libs/dotconf.o .libs/error_msg.o .libs/ganglia.o .libs/hash.o > .libs/inetaddr.o > > .libs/llist.o .libs/my_inet_ntop.o .libs/rdwr.o .libs/readdir.o .libs/tcp.o > > .libs/scoreboard.o .libs/apr_net.o .libs/libgmond.o -L/opt/local/lib > > /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -ldl -lkvm > > /opt/local/lib/libexpat.dylib /opt/local/lib/libconfuse.a > > /opt/local/lib/libapr-1.dylib -lpthread -install_name > > /Users/graph/local/lib/libganglia-3.1.0..0.dylib -compatibility_version 1 > > -current_version 1.0 > > > /usr/bin/ld: common symbols not allowed with MH_DYLIB output format with > > > the > > > -multi_module option > > > /opt/local/lib/libconfuse.a(lexer.o) definition of common > > > _cfg_include_stack > > > (size 128) > > > /opt/local/lib/libconfuse.a(lexer.o) definition of common _cfg_yyleng > > > (size > > 16) > > > /opt/local/lib/libconfuse.a(lexer.o) definition of common _cfg_yytext > > > (size > > 16) > > > collect2: ld returned 1 exit status > > > make[2]: *** [libganglia.la] Error 1 > > > make[1]: *** [all-recursive] Error 1 > > > make: *** [all] Error 2 > > > > not likely, it shouldn't result in a broken gmond binaryi (which will fail > > to > > start because can't find the "core_metrics" symbol or send a heartbeat), but > > not in a broken build. > > > > this one looks like a problem with confuse not being build/installed as a > > shared object while you are trying to link it dynamically. > > > > try to rebuild/reinstall libconfuse with : > > > > ./configure --enable-shared --disable-static --prefix=/opt/local > > > > This worked, thanks. The original libconfuse was installed by DarwinPorts so > I > imagine others will run into this issue too. Now I'll try to actually run > everything. > > > or build ganglia statically with : > > > > ./configure --enable-static-build --with-libconfuse=/opt/local > > I tried this first and it failed with the same error. > > > > > Carlo > > > > PS. what version of MacOS X is this?, which architecture? > > Mac OSX 10.4.11 on an Intel MacBook Pro. > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Ganglia-developers mailing list > > Ganglia-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/ganglia-developers > > Thank you, > > Gilad > > > > > ____________________________________________________________________________________ > You rock. That's why Blockbuster's offering you one month of Blockbuster > Total > Access, No Cost. > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Ganglia-developers mailing list > Ganglia-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-developers ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers