[Dovecot] 1.1b13 build in FreeBSD fails using 'make'; 'gmake' apparently required

snowcrash schneecrash+dovecot at gmail.com
Mon Dec 31 08:02:42 EET 2007


hi,

i'm doing a 1st build of dovecot in a freebsd 62R jail.

following instructions at

	http://wiki.dovecot.org/CompilingSource

		./configure
		make
		sudo make install

after an OK 'configure', @ 'make', i get

	make
	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.

looking at source, i couldn't figure this out ...

on a whim, i tried 'gmake', instead of 'make'.  it completes without error.

subsequent

	make check
	make install

are both ok, resulting in

	ls -al dovecot
		-rwxr-xr-x  1 root  wheel  459786 Dec 30 21:53 dovecot*
	./dovecot --version
		1.1.beta13

on FreeBSD, apparently, make != gmake

	ls -al `which make` `which gmake`
		-r-xr-xr-x  1 root  wheel  350904 Dec 29 17:25 /usr/bin/make*
		-r-xr-xr-x  1 root  wheel  199808 Dec 27 06:14 /usr/local/bin/gmake*

	make --version
		make: illegal option -- -
		usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
			[-d flags] [-E variable] [-f makefile] [-I directory]
			[-j max_jobs] [-m directory] [-V variable]
			[variable=value] [target ...]
	
	gmake --version
		GNU Make 3.81
		Copyright (C) 2006  Free Software Foundation, Inc.
		This is free software; see the source for copying conditions.
		There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
		PARTICULAR PURPOSE.
		
		This program built for amd64-portbld-freebsd6.2

so, using 'gmake' seems to solve the issue.

neither at the link above, nor at,

  http://wiki.dovecot.org/DovecotServerInstallations/FreeBSD/6.0RELEASE/20Users?highlight=(freebsd)

is the use of 'gmake'mentioned.

i'd ask/suggest that either said mention be added to the wiki (if it's
not already there, and i missed it), or, that the build be made to be
FreeBSD-make friendly.

hth.

cheers!


More information about the dovecot mailing list