Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1569

sasl2 dependency does not build on Solaris 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1
    • Labels:
      None
    • Platform:
      Solaris
    • Found in version (details):
      building from core/master

      Description

      This can be patched in saslutil.c like this:

      #ifndef HAVE_UNISTD_H
      /* gotta define gethostname ourselves on suns */
      extern int gethostname(char *, int);
      #endif
      #endif

      or by changing automake so it does not define HAVE_UNISTD_H for Solaris 11.

      Solaris 11 has its own unistd.h - it might be nicer to use this rather than for dependencies to define their own versions of functions which were not previously available on Solaris < 11.

      Alternatively we could submit a patch request to properly detect Solaris for this library.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel