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/include/readline /usr/sfw/include/ #>ln -s /opt/csw/lib/libreadline.so.5 /usr/sfw/lib/ 2. ensure that the dev tools are in the PATH export PATH=$PATH:/usr/ccs/bin/ 3. ./configure 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; } 5. make 5. make install Augtool now appears to work. I will report any additional issues that I may run into. thanks for all of the help! -Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Martin Englund
2009-Oct-21 16:49 UTC
[Puppet Users] Re: getting augeas 0.5.3 to compile on Solaris
Dan, On Oct 21, 3:49 pm, Dan Bode <bod...@gmail.com> 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/include/readline /usr/sfw/include/ > > #>ln -s /opt/csw/lib/libreadline.so.5 /usr/sfw/lib/ >instead of doing the above, you can install the SFWrline package from the Solaris 10 OS Companion Software CD. And if you are running OpenSolaris you just need to run: pkg install SUNWgnu-readline cheers, /Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
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 needed for 0.5.3 - the next release won''t need that step anymore, since the gnulib folks agreed to relicense their stpncpy so that it can be used by augeas. David