On Sun, Sep 07, 2008 at 12:02:59PM +0800, Lee Amy wrote:
>    Hi,
> 
>    I'm a newbie in Ganglia, I've installed apr correctly, the location is
>    /usr/local/apr by default. But when I run make to compile the Ganglia, it
>    shows following error messages and terminated.
> 
>    In file included from scoreboard.c:7:
>    gm_scoreboard.h:4:23: apr_pools.h: No such file or directory
>    scoreboard.c:8:22: apr_hash.h: No such file or directory
>    scoreboard.c:9:25: apr_strings.h: No such file or directory
>    make[2]: *** [scoreboard.lo] Error 1
>    make[2]: Leaving directory `/root/tmp/ganglia-3.1.0/lib'
>    make[1]: *** [all-recursive] Error 1
>    make[1]: Leaving directory `/root/tmp/ganglia-3.1.0'
>    make: *** [all] Error 2
> 
>    But I check the /usr/local/apr/include directory, the directory contains
>    the necessary header files.
> 
>    Could you tell me how to fix this problem?

before running `make` you have to configure your source so it will be able to
find all the dependencies that are needed and when you do that you have to
tell it where is that you installed APR by using something like :

  $ ./configure --with-libapr=/usr/local/apr/bin/apr-1-config

you might also need the location for other libraries like libconfuse or expat
if they were not already installed.

Carlo
> 
>    Thank you very much~
> 
>    Best Regards,
> 
>    Amy Lee

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to