[Pkg-monitoring-maintainers] Ganglia dpkg-buildpackage failed

Daniel Pocock daniel at pocock.com.au
Wed Jan 23 11:48:03 UTC 2013



Nicholas Satterly <nfsatterly at gmail.com> wrote:

>Hi Daniel,
>
>I'm trying to build ganglia 3.5.0 using the steps you emailed me but
>I'm
>getting the following error when I run "dpkg-buildpackage -rfakeroot"
>...
>
>checking Perl support... no
>./configure: line 12551: syntax error near unexpected token
>`$PHP_FULL_VERSION,'
>./configure: line 12551: `  AX_COMPARE_VERSION($PHP_FULL_VERSION, ge,
>5.3,'
>make: *** [config.status] Error 2
>dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
>Have you seen this before?

New versions of Ganglia tend to attract new dependencies, I think the php or perl support are very recent and were not part of 3.3.x

If all the deps are declared in debian/control Build Deps then dpkg-buildpackage would refuse to run and tell you which pkgs to apt-get

You could also tweak debian/rules to run configure with opts for compiling without the php or perl support






More information about the Pkg-monitoring-maintainers mailing list