[IRCServices] 5.04 wont compile on bsd

Andrew Church achurch at achurch.org
Tue Nov 19 06:42:00 PST 2002


>The 'check_socklen_t' check in the configure script is broken. It only
>includes <unistd.h>. On FreeBSD, you must also include <sys/socket.h> to
>get socklen_t:
>
>$ grep socklen_t /usr/include/sys/socket.h
>typedef __socklen_t     socklen_t;
>
>If you add '#include <sys/socket.h>' to the 'check_socklen_t' check in
>configure, all works well.

     Fixed, thanks for the report.  For the time being, add
"HAVE_SOCKLEN_T=1" (without the quotes) to the end of config.cache and
rerun the configure script:

$ echo 'HAVE_SOCKLEN_T=1' >>config.cache
$ ./configure -defaults

(This assumes you've already run configure once.)

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/