[collectd] solaris patches

Florian Forster octo at verplant.org
Sat May 9 13:32:26 CEST 2009


Hi Doug,

On Fri, May 08, 2009 at 10:11:04PM -0400, Doug MacEachern wrote:
> Made some time here and there over the past couple of days to get things
> building on solaris.  With the attached patches it builds on solaris 10
> 64-bit sparc and x86_64.  On sparc, I needed: CC='cc -xarch=v9'
> ./configure and x64: CC='gcc -m64' ./configure

as if you could read my mind: Getting Solaris up and running out of the
box was on my todo-list for today :)

> 0001-use-AC_HEADER_STDBOOL.patch - See:
> http://www.gnu.org/software/hello/manual/autoconf/Particular-Headers.html

Oh, cool, didn't know that autoconf macro. That makes stuff easier of
course..

> 0003-check-libgcrypt-minimum-version-1.2.0.patch - libgcrypt-config
> --version: 1.1.12

Didn't know AM_PATH_LIBGCRYPT either. Thanks :)

> 0005-add-hint-for-building-solaris-64-bit-binary.patch - see CC= above,
> should probably disable the swap module if this is reached

I've changed that to use CFLAGS instead. That has always worked for me
and I think it's more correct this way.

I've applied all patches to collectd-4.5 except the gcrypt one which
went into collectd-4.7.

Best regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090509/069b28e3/attachment.pgp 


More information about the collectd mailing list