[Dovecot] Installation error on "make"

Lisandro Grullon lgrullon at CityTech.Cuny.Edu
Sun Aug 21 11:34:05 EEST 2005


I am not sure what the problem is. I try ./configure as the intallation point out;however, when I try make I am getting the bellow error.

PS. I am running Solaris 10 X86, GNU gcc.

   1.
      [04:05:24][root at www:~/dovecot-1.0.alpha1]$ make
   2.
      make  all-recursive
   3.
      Making all in src
   4.
      Making all in lib
   5.
      Making all in lib-sql
   6.
      Making all in lib-ntlm
   7.
      Making all in lib-settings
   8.
      Making all in lib-charset
   9.
      Making all in lib-mail
  10.
      Making all in lib-imap
  11.
      Making all in lib-index
  12.
      Making all in lib-storage
  13.
      Making all in index
  14.
      Making all in maildir
  15.
      Making all in mbox
  16.
      Making all in subscription-file
  17.
      Making all in register
  18.
      make  all-am
  19.
      Making all in lib-auth
  20.
      Making all in auth
  21.
      if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib  -I../../src/lib-sql  -I../../src/lib-settings  -I../../src/lib-ntlm  -DAUTH_MODULE_DIR=\""/usr/local/lib/dovecot/auth"\"  -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\"      -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -MT mycrypt.o -MD -MP -MF ".deps/mycrypt.Tpo" -c -o mycrypt.o mycrypt.c; \
  22.
      then mv -f ".deps/mycrypt.Tpo" ".deps/mycrypt.Po"; else rm -f ".deps/mycrypt.Tpo"; exit 1; fi
  23.
      In file included from /usr/include/unistd.h:18,
  24.
                       from mycrypt.c:5:
  25.
      /usr/include/sys/feature_tests.h:332:2: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications         and pre-2001 POSIX applications"
  26.
      *** Error code 1
  27.
      make: Fatal error: Command failed for target `mycrypt.o'
  28.
      Current working directory /root/dovecot-1.0.alpha1/src/auth
  29.
      *** Error code 1
  30.
      The following command caused the error:
  31.
      failcom='exit 1'; \
  32.
      for f in x $MAKEFLAGS; do \
  33.
        case $f in \
  34.
          *=* | --[!k]*);; \
  35.
          *k*) failcom='fail=yes';; \
  36.
        esac; \
  37.
      done; \
  38.
      dot_seen=no; \
  39.
      target=`echo all-recursive | sed s/-recursive//`; \
  40.
      list='lib  lib-sql  lib-ntlm  lib-settings  lib-charset  lib-mail  lib-imap  lib-index  lib-storage  lib-auth  auth  master  login-common  imap-login  imap  pop3-login pop3  deliver  util'; for subdir in $list; do \
  41.
        echo "Making $target in $subdir"; \
  42.
        if test "$subdir" = "."; then \
  43.
          dot_seen=yes; \
  44.
          local_target="$target-am"; \
  45.
        else \
  46.
          local_target="$target"; \
  47.
        fi; \
  48.
        (cd $subdir && make  $local_target) \
  49.
        || eval $failcom; \
  50.
      done; \
  51.
      if test "$dot_seen" = "no"; then \
  52.
        make  "$target-am" || exit 1; \
  53.
      fi; test -z "$fail"
  54.
      make: Fatal error: Command failed for target `all-recursive'
  55.
      Current working directory /root/dovecot-1.0.alpha1/src
  56.
      *** Error code 1
  57.
      The following command caused the error:
  58.
      failcom='exit 1'; \
  59.
      for f in x $MAKEFLAGS; do \
  60.
        case $f in \
  61.
          *=* | --[!k]*);; \
  62.
          *k*) failcom='fail=yes';; \
  63.
        esac; \
  64.
      done; \
  65.
      dot_seen=no; \
  66.
      target=`echo all-recursive | sed s/-recursive//`; \
  67.
      list='src doc'; for subdir in $list; do \
  68.
        echo "Making $target in $subdir"; \
  69.
        if test "$subdir" = "."; then \
  70.
          dot_seen=yes; \
  71.
          local_target="$target-am"; \
  72.
        else \
  73.
          local_target="$target"; \
  74.
        fi; \
  75.
        (cd $subdir && make  $local_target) \
  76.
        || eval $failcom; \
  77.
      done; \
  78.
      if test "$dot_seen" = "no"; then \
  79.
        make  "$target-am" || exit 1; \
  80.
      fi; test -z "$fail"
  81.
      make: Fatal error: Command failed for target `all-recursive'
  82.
      Current working directory /root/dovecot-1.0.alpha1
  83.
      *** Error code 1
  84.
      make: Fatal error: Command failed for target `all'
  85.
      [04:05:28][root at www:~/dovecot-1.0.alpha1]$ 

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   lgrullon at citytech.cuny.edu
"The only reason for time is so that everything doesn't happen at once.". <Albert Einstein>


More information about the dovecot mailing list