[Puppet Users] Re: getting augeas 0.5.3 to compile on Solaris

2009-10-26 Thread David Lutterkort
On Wed, 2009-10-21 at 15:49 +0200, Dan Bode wrote: > 4. Add the following code to src/lens.c > >char *stpncpy(char *dest, const char *src, size_t n) { > char *d = dest; > while (d-dest < n && *src) >*d++ = *src++; > return d; >} This is nee

[Puppet Users] Re: getting augeas 0.5.3 to compile on Solaris

2009-10-21 Thread Martin Englund
Dan, On Oct 21, 3:49 pm, Dan Bode wrote: > Just to recap, with Davids help, here are the steps that I had to take to > get augeas 0.5.3 to compile on solaris 10. > > 1. link to readline header file and libs in /usr/sfw > > #>ln -s /opt/csw/lib/libreadline.so /usr/sfw/lib/ > #>ln -s /opt/csw/incl