> I can't reproduce this with FreeBSD 6.2. unicodemap.c is distributed in > the tarball, so I don't know why it would give that error.
it's fully reproducible here. note that i'm not using the tarball. rather, pulling the hg 11b13 tag clone. there, there's apparently *no* unicodemap.c included: find . | grep unicodemap ./dovecot/.hg/store/data/src/lib/unicodemap.pl.i ./dovecot/src/lib/unicodemap.pl on two separate FreeBSD 6.2 boxes (1) host w/ jail (2) standalone host doing, cd /usr/local/build rm -rf dovecot* mkdir -p dovecot cd dovecot hg clone -r1.1.beta13 http://hg.dovecot.org/dovecot hg clone -r1.1.2 http://hg.dovecot.org/dovecot-sieve-1.1 cd /usr/local/build/dovecot/dovecot unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LIBS LD_PREBIND \ EXTRA_LDFLAGS EXTRA_LIBS ACLOCAL AUTOHEADER AUTOMAKE AUTOCONF setenv LDFLAGS "-L/usr/local/lib/db46 -L/usr/local/lib/mysql -L/usr/local/lib -lpthread" setenv CPPFLAGS "-I/usr/local/include/db46 -I/usr/local/include/mysql -I/usr/local/include" setenv SQL_LIBS "-lsqlite3" clear ./configure \ --prefix=/usr/local \ --sysconfdir=/usr/local/etc/dovecot \ --with-moduledir=/usr/local/dovecot-plugins \ --with-libiconv-prefix=/usr/local \ --with-ssl=openssl --with-ssldir=/var/ssh/MAIL_CERTS \ --disable-static --enable-shared \ --config-cache \ --disable-debug --enable-maintainer-mode \ --enable-ipv6 \ --with-db \ --with-mysql \ --with-sqlite \ --with-ioloop=best \ --with-sql-drivers=mysql,sqlite \ --with-deliver \ --with-pop3d \ --with-storages=maildir,mbox,dbox,cydir,raw then make yields on BOTH boxes, make all-recursive Making all in src Making all in lib make: don't know how to make unicodemap.c. Stop *** Error code 1 Stop in /s/usr-local/build/dovecot/dovecot/src. *** Error code 1 Stop in /s/usr-local/build/dovecot/dovecot. *** Error code 1 Stop in /s/usr-local/build/dovecot/dovecot. whereas, again on both boxes, gmake reports, gmake all-recursive gmake[1]: Entering directory `/usr/local/build/dovecot/dovecot' Making all in src gmake[2]: Entering directory `/usr/local/build/dovecot/dovecot/src' Making all in lib gmake[3]: Entering directory `/usr/local/build/dovecot/dovecot/src/lib' test -f UnicodeData.txt || wget http://www.unicode.org/Public/UNIDATA/UnicodeData.txt UnicodeData.txt 100% of 1014 kB 236 kBps perl ./unicodemap.pl < UnicodeData.txt > unicodemap.c gmake all-am gmake[4]: Entering directory `/usr/local/build/dovecot/dovecot/src/lib' ... and completes without error. noting, ls -al `which make` `which gmake` -r-xr-xr-x 1 root wheel 350904 Dec 21 13:50 /usr/bin/make* -r-xr-xr-x 1 root wheel 199808 Dec 21 16:51 /usr/local/bin/gmake*