Hi.

I'm trying to build ganglia under /opt/ganglia. I have all the dependencies
build and stored under /opt/ganglia  but I can't get ganglia to "make", it
exits the build as follows :

/bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H
-I. -I.. -I/opt/ganglia/include/apr-1    -I.. -I. -I../include/
-D_LARGEFILE64_SOURCE -DSFLOW -DSYSCONFDIR='"/opt/ganglia/etc"' -g -O2
-I/opt/ganglia/lib64//include -fno-strict-aliasing -Wall -D_REENTRANT -MT
ganglia.lo -MD -MP -MF .deps/ganglia.Tpo -c -o ganglia.lo ganglia.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/ganglia/includ
lude -fno-strict-aliasing -Wall -D_REENTRANT -MT ganglia.lo -MD -MP -MF
.deps/ga
ganglia.c:8:19: error: expat.h: No such file or directory
ganglia.c: In function âgexec_clusterâ:
ganglia.c:255: error: âXML_Parserâ undeclared (first use in this function)
ganglia.c:255: error: (Each undeclared identifier is reported only once
ganglia.c:255: error: for each function it appears in.)
ganglia.c:255: error: expected â;â before âxml_parserâ
ganglia.c:276: error: âxml_parserâ undeclared (first use in this function)
ganglia.c:276: warning: implicit declaration of function âXML_ParserCreateâ
ganglia.c:288: warning: implicit declaration of function
âXML_SetElementHandlerâ
ganglia.c:289: warning: implicit declaration of function âXML_SetUserDataâ
ganglia.c:294: warning: implicit declaration of function âXML_GetBufferâ
ganglia.c:312: warning: implicit declaration of function âXML_ParseBufferâ
ganglia.c:316: warning: implicit declaration of function
âXML_GetCurrentLineNumb
ganglia.c:317: warning: implicit declaration of function âXML_ErrorStringâ
ganglia.c:317: warning: implicit declaration of function âXML_GetErrorCodeâ
ganglia.c:336: warning: implicit declaration of function âXML_ParserFreeâ
make[2]: *** [ganglia.lo] Error 1
make[2]: Leaving directory `/opt/ganglia/sources/ganglia-3.5.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ganglia/sources/ganglia-3.5.0'
make: *** [all] Error 2

my configure is :
./configure --prefix=/opt/ganglia --exec-prefix=/opt/ganglia
--includedir=/opt/ganglia/include --libdir=/opt/ganglia/lib64

I have also tried :
/configure --prefix=/opt/ganglia --exec-prefix=/opt/ganglia
--includedir=/opt/ganglia/include --libdir=/opt/ganglia/lib64
--with-libexpat=/opt/ganglia/lib64/
/configure --prefix=/opt/ganglia --exec-prefix=/opt/ganglia
--includedir=/opt/ganglia/include --libdir=/opt/ganglia/lib64
--with-libexpat=/opt/ganglia/include


the required header is under /opt/ganglia/include/ but it seems to ignored

]# ls -als /opt/ganglia/include/
total 176
 4 drwxr-xr-x 3 root root  4096 Jun 10 16:18 .
 4 drwxr-xr-x 9 root root  4096 Jun 10 09:38 ..
 4 drwxr-xr-x 2 root root  4096 Jun 10 16:18 apr-1
44 -rw-r--r-- 1 root root 42203 Jun 10 16:18 confuse.h
 4 -rw-r--r-- 1 root root  3364 Jun 10 16:18 expat_external.h
40 -rw-r--r-- 1 root root 40339 Jun 10 16:18 expat.h
 8 -rw-r--r-- 1 root root  6783 Jun 10 16:18 pcrecpparg.h
28 -rw-r--r-- 1 root root 26253 Jun 10 16:18 pcrecpp.h
16 -rw-r--r-- 1 root root 12481 Jun 10 16:18 pcre.h
 8 -rw-r--r-- 1 root root  5029 Jun 10 16:18 pcreposix.h
 8 -rw-r--r-- 1 root root  6600 Jun 10 16:18 pcre_scanner.h
 8 -rw-r--r-- 1 root root  6216 Jun 10 16:18 pcre_stringpiece.h


How do I resolve this ?

Thank you.

G
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to