Carlo Marcelo Arenas Belon wrote:
On Thu, Nov 29, 2007 at 09:56:14AM -0500, Jesse Becker wrote:
I've been trying to build the trunk version of Ganglia on an OpenBSD 4.1 box recently, and it isn't for the faint of heart.

sadly true, building trunk isn't that easy if you are not using Fedora,
indeed I didn't even though that doing a bootstrap in OpenBSD was possible.

Surprises never cease. ;-)

what about expat? 2.0.0?

No problems with expat, but it's version expat-2.0.0.

if not using the python plugins then It would be probably easier to use the
included libraries (specially considering that after OpenBSD 4.2 expat will be
part of base)

./configure --enable-static-build

I've tried that, but with mixed success.

--- configure.in.orig   Wed Nov 28 16:34:39 2007
+++ configure.in        Wed Nov 28 16:53:16 2007
@@ -339,7 +339,7 @@
   echo Checking for confuse
   if test x"$libconfusepath" != x && test x"$libconfusepath" != xyes ; then
     CFLAGS="$CFLAGS -I$libconfusepath/include"
-    LDFLAGS="$LDFLAGS -L$libconfusepath/lib"
+    LDFLAGS="$LDFLAGS -L$libconfusepath/lib -lintl -liconv"
     echo "Added -I$libconfusepath/include to CFLAGS"
     echo "Added -L$libconfusepath/lib to LDLAGS"
   fi

we are going to have to probably put that conditionally for OpenBSD to avoid
pulling extra dependencies for other platforms that might not need it.

Sure. A quick check on a Centos4 system shows that it does *not* directly need libintl or libiconv.

One clarification on this, the dependency tree is:
 libconfuse --> libintl --> libiconv

Not:
 libconfuse --> libintl
            --> libiconv

e.g. libconuse only requires libintl, not both.

the problem being of course (and I didn't check that, so I might be wrong)
that there might be some specific flavor for the libconfuse port which might
not need that as well, and will fail to build.to

did you try autoconf-2.51p1?

I didn't.  I can try to test that if there's a need.

will take a look at this here and see if I can get autoconf to behave.

Thanks.

--
Jesse Becker
NHGRI Linux support (Digicon Contractor)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to