You must have a GNU-like variant of getopt, something that 
was not native on 4.9.

Try this...

mv dm_getopt.h dm_getopt.h.ORIG
ln -s /usr/local/include/getopt.h ./dm_getopt.h


mike



I have exactly the same errors on FreeBSD 4.9

Anne

> I download dbmail-2.0.4 from site and try to build:
> PATH=/opt/mysql/bin:$PATH
>
> ../configure              \
>         --prefix=/opt/dbmail \
>         --with-mysql=/opt/mysql
>
> configuring was successfull, but gmake:
>
> In file included from misc.h:32,
>                  from pop3d.c:41:
> /usr/include/unistd.h:112: conflicting types for 
> `dm_getopt'
> dm_getopt.h:66: previous declaration of `dm_getopt'
> gmake[2]: *** [pop3d.o] error 1
> gmake[2]: Leaving directory 
> `/usr/home/goodwin/src/dbmail-2.0.4'
> gmake[1]: *** [all-recursive] error 1
> gmake[1]: Leaving directory 
> `/usr/home/goodwin/src/dbmail-2.0.4'
> gmake: *** [all-recursive-am] error 2
>
> How fix it?
> OS: 4.11-STABLE FreeBSD
> older releases build without any troubles
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to