Hi,
Many thanks for your response!
Here is the configure command line:
GANGLIA_ACK_SYSCONFDIR=1 ./configure --with-gmetad LDFLAGS="-L/opt/local/lib
-L/usr/X11R6/lib" CPPFLAGS="-I/opt/local/include -I/usr/X11R6/include"
Greetings,
Afef
2010/11/7 Bernard Li <[email protected]>
> Hi Afef:
>
> On Sun, Nov 7, 2010 at 12:50 PM, Afef MDHAFFAR <[email protected]>
> wrote:
>
> > I found a solution for this problem.
> > I ve just commented #include <kvm.h> in metrics.c
>
> The KVM issue is a known bug:
>
> http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=258
>
> > Unfortunately, I got another error:
> >
> -------------------------------------------------------------------------------------------------
> > gmond.c:43:18: error: pcre.h: No such file or directory
> > gmond.c: In function ‘setup_collection_groups’:
> > gmond.c:2178: error: ‘pcre’ undeclared (first use in this function)
> > gmond.c:2178: error: (Each undeclared identifier is reported only once
> > gmond.c:2178: error: for each function it appears in.)
> > gmond.c:2178: error: ‘pcre_re’ undeclared (first use in this function)
> > gmond.c:2190: warning: implicit declaration of function ‘pcre_compile’
> > gmond.c:2210: warning: implicit declaration of function ‘pcre_exec’
> > gmond.c:2214: error: ‘PCRE_ERROR_NOMATCH’ undeclared (first use in this
> > function)
> > gmond.c: In function ‘main’:
> > gmond.c:2792: warning: format not a string literal and no format
> arguments
> > make[3]: *** [gmond.o] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
>
> Could you please post the configure command line you invoked? It
> looks like the system thinks that you have pcre support but couldn't
> actually find the header for it.
>
> Cheers,
>
> Bernard
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
--
Afef MDHAFFAR
http://www.redcad.org/members/mdhaffar/
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general