Hi,

/usr/local/include/getopt.h didn't exist on my system so I tried to be
smart and installed the devel/libgnugetopt-1.2 port.

Now gmake stops here:

creating dbmail-smtp
gcc -DHAVE_CONFIG_H -I. -I. -I.    -fomit-frame-pointer -g -O2 -W -Wall
-Wpointer-arith -Wstrict-prototypes -c pop3.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -fomit-frame-pointer -g -O2 -W -Wall
-Wpointer-arith -Wstrict-prototypes -c pop3d.c
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/progs/dbmail-2.0.4'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/progs/dbmail-2.0.4'
gmake: *** [all-recursive-am] Error 2




> 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
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>


Reply via email to