Now that srclib/ has been yanked, I tried building a clean copy of
trunk on my OpenBSD box, and hit a few snags.

First, running ./bootstrap fails:

<--snip-->

[EMAIL PROTECTED] ~/Ganglia/versions/newtrunk/monitor-core $ ./bootstrap
Bootstrapping libmetrics
Running aclocal
/usr/local/share/aclocal/speex.m4:10: warning: underquoted definition
of XIPH_PATH_SPEEX
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of AM_PATH_LIBGCRYPT
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted
definition of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/ao.m4:9: warning: underquoted definition of
XIPH_PATH_AO
Running autoheader
Running automake
configure.in: installing `build/install-sh'
configure.in: installing `build/missing'
aix/Makefile.am: installing `build/depcomp'
configure.in:12: installing `build/config.guess'
configure.in:12: installing `build/config.sub'
Makefile.am: installing `./INSTALL'
configure.in:16: required file `build/ltmain.sh' not found
Create distribution timestamp
Running aclocal
/usr/local/share/aclocal/speex.m4:10: warning: underquoted definition
of XIPH_PATH_SPEEX
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of AM_PATH_LIBGCRYPT
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted
definition of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/ao.m4:9: warning: underquoted definition of
XIPH_PATH_AO
Running autoheader
Running automake
configure.in: installing `config/install-sh'
configure.in: installing `config/missing'
gmetad/Makefile.am: installing `config/depcomp'
configure.in:109: installing `config/config.guess'
configure.in:109: installing `config/config.sub'
Makefile.am: installing `./INSTALL'
configure.in:130: required file `config/ltmain.sh' not found


To begin installation, run "./configure" now

<--snip-->

This fails to create the actual "configure" script, so it's hard to
get much farther.


Second, and probably related to #1, there are some libtool issues.  So
far as I can tell, Ganglia uses it's own copy libtool, instead of a
system version.  This libtool isn't created, so things fail to build.
OThis begs the question:  why don't we use the system libtool?


Third, on a different copy of trunk I tried rebuilding from the
./configure stage, and found that it fails on the check for
libconfuse.  The error is a little misleading:

<--snip-->

Checking for confuse
Added -I/usr/local/include to CFLAGS
Added -L/usr/local/lib to LDLAGS
checking for cfg_parse in -lconfuse... no
libconfuse not found

<--snip-->

Libconfuse was, in fact, found, but the compile failed due to two
linking issues.  It appears that on OpenBSD, libconfuse requires
libintl, which in turn requires libiconv.  Adding the options "-lintl
-liconv" appears to fix this problem.



-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to