Discussion:
Anyone compile imap-uw on Solaris 11?
Daniel Clark
2013-05-02 00:34:53 UTC
Permalink
Has anyone compiled imap-uw on Solaris 11? If so, could you please post
any tips?
Gary R. Schmidt
2013-05-02 01:51:22 UTC
Permalink
Post by Daniel Clark
Has anyone compiled imap-uw on Solaris 11? If so, could you please post
any tips?
Just use the standard Solaris build, either real cc or the other one.

If you are going to use ZFS for your storage, you may need to ensure
that the replacement "scandir()" function is modified to *not* use
"stat()" to get its initial size. Either use the Solaris-supplied
"scandir()", or change the line in scandir.c to be:
nlmax = max (stb.st_size / 24,32);

I am not sure if this fix made it back into the IMAP-UW source tree.

Cheers,
Gary B-)

Loading...