ganglia / monitor-core

Ganglia Monitoring core
BSD 3-Clause "New" or "Revised" License
490 stars 246 forks source link

Ganglia Build Issue - Solaris #38

Open ianlivingstone opened 12 years ago

ianlivingstone commented 12 years ago

The following DEFINE at the top of the lib/update_pidfile.c causes ganglia 3.3.7 not to build: #define _XOPEN_SOURCE 500 /* for getpgid */. Removing the define fixes the build problem.

dpocock commented 12 years ago

I remember seeing an issue like this somewhere, and I think it had something to do with CPPFLAGS, but I'm not quite sure

Which is the last release that you could build successfully?

On 09/05/12 17:52, Ian Livingstone wrote:

The following DEFINE at the top of the lib/update_pidfile.c causes ganglia 3.3.7 not to build: #define _XOPEN_SOURCE 500 /* for getpgid */. Removing the define fixes the build problem.


Reply to this email directly or view it on GitHub: https://github.com/ganglia/monitor-core/issues/38

ianlivingstone commented 12 years ago

I successfully built 3.1.x, but could not build any of 3.3.x without that change.