I've tried building RPMs from the tarball for SLES10SP2, but I keep running 
into problems.  I'm thinking it's probably something obvious to everyone else, 
so I thought I'd post the steps I took:

### Install dependencies using rug: ###
rug in freetype2-devel python-devel libart_lgpl-devel libpng-devel libapr1-devel

### Since libconfuse and libconfuse-devel aren't available with rug, download 
and install from opensuse.org: ###
wget 
http://download.opensuse.org/distribution/10.3/repo/oss/suse/x86_64/libconfuse-devel-2.5-4.x86_64.rpm
wget 
http://download.opensuse.org/distribution/10.3/repo/oss/suse/x86_64/libconfuse0-2.5-4.x86_64.rpm
rug in libconfuse0-2.5-4.x86_64.rpm libconfuse-devel-2.5-4.x86_64.rpm

### Now that all that's out of the way, download and build ganglia 3.1.x: ###
wget http://www.ganglia.info/snapshots/3.1.x/ganglia-3.1.0.1399.tar.gz
rpmbuild -tb --target x86_64 ganglia-3.1.0.1399.tar.gz 

Things go fine for a while, but I eventually end up with the following error 
message:

---------------- BEGIN_OUTPUT ------------------
Checking for confuse
checking for cfg_parse in -lconfuse... no
Trying harder including gettext
checking for cfg_parse in -lconfuse... no
Trying harder including iconv
checking for cfg_parse in -lconfuse... no
libconfuse not found
+ make
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.69546 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.69546 (%build)
----------------- END_OUTPUT -------------------

Does anybody know why I'm getting the error message saying "libconfuse not 
found"?  Does ganglia require a different version from what I downloaded on 
opensuse.org?

Thanks for your help,
James
 
>>> Jarod Wilson <[EMAIL PROTECTED]> 06/11/08 1:47 PM >>> 
On Tuesday 10 June 2008 02:01:48 pm Bernard Li wrote:
> Hi all:
>
> The latest 3.1.x snapshot release is now available:
>
> http://www.ganglia.info/snapshots/3.1.x
>
> Changes from the last snapshot:
>
> - web: report correctly uptime in shownode when host is down
> - build: better support for solaris >=8 and 10
> - build: aix and darwin static build fixes
> - gmond: use fabs[f] values for floating metrics absolute calculation
> - gmond/web: SOURCE for metrics eliminated since core metrics are the
> same as user-defined metrics
> - devel: move all gexec specific structs from lib/ganglia_priv.h to
> include/ganglia_gexec.h
>
> We are nearing release of 3.1, please help us reach this goal sooner
> by testing on your systems and reporting any issues you may encounter.
>  We are most interested in resolving all build related issues on
> different systems/architectures.

To aid in the fun, I've committed r1399 to Fedora's development tree, and have 
a build going right now, across i386, x86_64, ppc and ppc64...


-- 
Jarod Wilson
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to