Chris Blackstone wrote:
> 
> I'm trying to install cyrus-imapd-1.6.24 on a FreeBSD 4.1 machine using
> TcL 8.3
> 
> I can configure cyrus just fine, but when I make it, I get an error
> making the sieve part of it saying
> 
> "In file included from comparator.h:34,
>                         from ./sieve.y:33:
> /usr/include/regex.h:46: syntax error before 'regoff_t'
> /usr/include/regex.h:46: warning: data definition has no type of storage class
> /usr/include/regex.h:56: syntax error before 'regoff_t'
> **Error code 1
> "
> 
> I have no clue what the problem is.
> this is a clean install of freebsd 4.1
> 
> any help is greatly appreciated.

Try applying the following patch to sieve/comparator.h.  This has been
fixed in CVS.

***************
*** 31,36 ****
--- 31,37 ----
  #ifdef HAVE_RX
  #include <rxposix.h>
  #else
+ #include <sys/types.h>
  #include <regex.h>
  #endif
  #endif



-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to