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

Gerard gerard at seibercom.net
Mon Dec 31 13:49:53 EET 2007


On Sun, 30 Dec 2007 22:02:42 -0800
snowcrash <schneecrash+dovecot at gmail.com> wrote:

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

I use FreeBSD, although I have never attempted to run Dovecot in a jail.

Might I suggest the following:

1) Contact the Dovecot port maintainer and inform him/her of your
problem. They may not be aware of it, or it might be something else.

2) File a 'send-pr' so that the matter can be looked at more closely by
FreeBSD personnel.

3) You might try inquiring on the FreeBSD forum to see what other FBSD
users have to offer.


-- 

Gerard
gerard at seibercom.net

Yesterday I was a dog.  Today I'm a dog.
Tomorrow I'll probably still be a dog.
Sigh!  There's so little hope for advancement.

	Snoopy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20071231/f2243ca2/attachment.bin 


More information about the dovecot mailing list