[Dovecot] Dovecote Make failure with MySQL support.

Nathan stercus at stercus.com
Thu Mar 30 06:32:22 EEST 2006


Hello all.  I am trying to compile Dovecot from source on an AMD Opteron
based Sun server running Solaris 10.  I ran the configue script with the
mysql flag on because I need mysql auth support.

I am running MySQL version: 5.0.18 

Here is where the make fails.  Any suggestions?

*** Error code 1
make: Fatal error: Command failed for target `driver-mysql.o'
Current working
directory /export/home/nathan/dovecot-1.0.beta3/src/lib-sql
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='lib  lib-dict  lib-sql  lib-ntlm  lib-settings  lib-charset
lib-mail  lib
-imap  lib-index  lib-storage  lib-auth  auth  dict  master
login-common  imap-
login  imap  pop3-login pop3    util  plugins'; for subdir in $list; do
\
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/nathan/dovecot-1.0.beta3/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src  doc'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/nathan/dovecot-1.0.beta3
*** Error code 1
make: Fatal error: Command failed for target `all'

Thanks for your time.



More information about the dovecot mailing list