summary: problem with compiling courier-imap on solaris 10

From: Sebastian Logar <Sebastian.Logar_at_tusmobil.si>
Date: Wed Oct 14 2009 - 02:14:17 EDT
We used gmake instead of make and courier compiled without errors.



Thank you Luc, Alan and Donald for hints.



Regards,

Sebastian



From: Sebastian Logar
Sent: Monday, October 12, 2009 10:08 AM
To: 'sunmanagers@sunmanagers.org'
Subject: problem with compiling courier-imap on solaris 10



Hi,



We have problem with compiling courier-imap 4.6 on solaris 10 (Solaris
10 10/08 s10x_u6wos_07b X86). We are getting this error:



Making all in imap

make  all-am

cp  imapd.cnf

cp: Insufficient arguments (1)

Usage: cp [-f] [-i] [-p] [-@] f1 f2

       cp [-f] [-i] [-p] [-@] f1 ... fn d1

       cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn

*** Error code 2

make: Fatal error: Command failed for target `imapd.cnf'

Current working directory /miha/courier-imap-4.6.0/imap

*** Error code 1

make: Fatal error: Command failed for target `all'

Current working directory /miha/courier-imap-4.6.0/imap

*** 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='numlib md5 sha1 bdbobj gdbmobj soxwrap unicode rfc822 random128
rfc1035 rfc2045 liblock maildir makedat libhmac  waitlib tcpd rootcerts
imap'; 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; \

  (CDPATH="${ZSH_VERSION+.}:" && 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 /miha/courier-imap-4.6.0

*** Error code 1

make: Fatal error: Command failed for target `all'

-bash-3.00$





If I run make in the problematic folder I receive the following output:



-bash-3.00$ make

make  all-am

cp  imapd.cnf

cp: Insufficient arguments (1)

Usage: cp [-f] [-i] [-p] [-@] f1 f2

       cp [-f] [-i] [-p] [-@] f1 ... fn d1

       cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn

*** Error code 2

make: Fatal error: Command failed for target `imapd.cnf'

Current working directory /miha/courier-imap-4.6.0/imap

*** Error code 1

make: Fatal error: Command failed for target `all'

-bash-3.00$



Config.log is on http://users.volja.net/erikp/config.log

and Makefile on http://users.volja.net/erikp/Makefile



Thank you for any hints or suggestions.



Sebastian
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Oct 14 02:15:31 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:15 EST