[Ganglia-general] Ganglia install cannot find libconfuse cfg_parse

2014-08-04 Thread Jonathan Davis
libconfuse was installed via rpm and is present on my system.

rpm -qa | grep libconfuse

libconfuse-2.7-4.el6.x86_64

rpm -ql libconfuse gives me

/usr/lib64/libconfuse.so.0
/usr/lib64/libconfuse.so.0.0.0
/usr/share/doc/libconfuse-2.7
/usr/share/doc/libconfuse-2.7/AUTHORS
/usr/share/doc/libconfuse-2.7/NEWS
/usr/share/doc/libconfuse-2.7/README
/usr/share/doc/libconfuse-2.7/html
/usr/share/doc/libconfuse-2.7/html/annotated.html
/usr/share/doc/libconfuse-2.7/html/classes.html
/usr/share/doc/libconfuse-2.7/html/confuse_8h-source.html
/usr/share/doc/libconfuse-2.7/html/confuse_8h.html
/usr/share/doc/libconfuse-2.7/html/doxygen.png
/usr/share/doc/libconfuse-2.7/html/examples.html
/usr/share/doc/libconfuse-2.7/html/files.html
/usr/share/doc/libconfuse-2.7/html/ftpconf_8c-example.html
/usr/share/doc/libconfuse-2.7/html/functions.html
/usr/share/doc/libconfuse-2.7/html/functions_vars.html
/usr/share/doc/libconfuse-2.7/html/globals.html
/usr/share/doc/libconfuse-2.7/html/globals_defs.html
/usr/share/doc/libconfuse-2.7/html/globals_enum.html
/usr/share/doc/libconfuse-2.7/html/globals_eval.html
/usr/share/doc/libconfuse-2.7/html/globals_func.html
/usr/share/doc/libconfuse-2.7/html/globals_type.html
/usr/share/doc/libconfuse-2.7/html/index.html
/usr/share/doc/libconfuse-2.7/html/reread_8c-example.html
/usr/share/doc/libconfuse-2.7/html/simple_8c-example.html
/usr/share/doc/libconfuse-2.7/html/structcfg__defvalue__t.html
/usr/share/doc/libconfuse-2.7/html/structcfg__opt__t.html
/usr/share/doc/libconfuse-2.7/html/structcfg__t.html
/usr/share/doc/libconfuse-2.7/html/tab_b.gif
/usr/share/doc/libconfuse-2.7/html/tab_l.gif
/usr/share/doc/libconfuse-2.7/html/tab_r.gif
/usr/share/doc/libconfuse-2.7/html/tabs.css
/usr/share/doc/libconfuse-2.7/html/tutorial.css
/usr/share/doc/libconfuse-2.7/html/unioncfg__value__t.html
/usr/share/locale/fr/LC_MESSAGES/confuse.mo
/usr/share/locale/sv/LC_MESSAGES/confuse.mo
/usr/share/man/man3/cfg_defvalue_t.3.gz
/usr/share/man/man3/cfg_opt_t.3.gz
/usr/share/man/man3/cfg_t.3.gz
/usr/share/man/man3/cfg_value_t.3.gz
/usr/share/man/man3/confuse.h.3.gz

I've tried setting the --with-libconfuse flag as indicated in the
documentation to both /usr/share/man/man3 and
/usr/share/doc/libconfuse-2.7, with no luck . It still can't find what it
is looking for  : cfg_parse?

I don't cfg_parse does not appear in my list above. Wondering if I got a
malformed libconfuse install or if I just need to point ganglia configure
somewhere else.

The output of

./configure --with-libconfuse=/usr/share/doc/libconfuse-2.7

is

Checking for confuse
Added -I/usr/share/doc/libconfuse-2.7/include to CFLAGS
Added -L/usr/share/doc/libconfuse-2.7/lib64 to LDFLAGS
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
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Ganglia install cannot find libconfuse cfg_parse

2014-08-04 Thread Filipe Bonjour
Hi Jonathan,

I've seen this on Fedora and I think Red Hat. You need to create the 
link manually:

# ln -s libconfuse.so.0 /usr/lib64/libconfuse.so

I'd expect the RPM install script to do this.

Filipe

-- 
Filipe Bonjour

   In theory there is no difference between theory and practice.
   In practice there is. -- Yogi Berra


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Ganglia install cannot find libconfuse cfg_parse

2014-08-04 Thread Filipe Bonjour
Hi Jonathan,

 Thank you, Filipe. That allowed the configure script to complete 
 without needing to specify any special parameters. I am not sure why 
 the RPM script didn't handle it correctly.
Neither am I, but I've seen this once or twice from Red Hat packages.

 I now run into an issue when running 'make' also with libconfuse:

 libgmond.c:15:21: error: confuse.h: No such file or directory

The header file is in the devel package, so you need to yum install 
libconfuse-devel. I would expect the configure script to pick that up, 
actually...

Good luck,

Filipe

-- 
Filipe Bonjour

   In theory there is no difference between theory and practice.
   In practice there is. -- Yogi Berra


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general