[Dovecot] 1.0-test14: no sendfile() in Solaris 8
Aloha.
The current CVS snapshot and 1.0-test14 will not build on Solaris 8 because it does not provide a sendfile() funtion. It just has sendfilev(). Solaris 9 has sendfile(), though.
Using the old sendfile-util.c from 1.0-test1 and setting HAVE_SOLARIS_SENDFILEV instead of HAVE_LINUX_SENDFILE in config.h works.
Greetings, Andy.
- On 2004.06.01, in 5.2.1.1.0.20040601115849.02e8ae28@fredda.webgods.de,
- "Andreas Jaekel" jaekel@webgods.de wrote:
Aloha.
The current CVS snapshot and 1.0-test14 will not build on Solaris 8 because it does not provide a sendfile() funtion. It just has sendfilev().
It's available via patch -- perhaps 111297-01.
http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=111297&rev=01
I have not tried building 1.0-test14 with it, though.
-- -D. dgc@uchicago.edu NSIT::ENSS No money, no book. No book, no study. No study, no pass. No pass, no graduate. No graduate, no job. No job, no money. T h e U n i v e r s i t y o f C h i c a g o
On 1.6.2004, at 13:13, Andreas Jaekel wrote:
The current CVS snapshot and 1.0-test14 will not build on Solaris 8 because it does not provide a sendfile() funtion. It just has sendfilev(). Solaris 9 has sendfile(), though.
Doesn't the configure detect that you don't have it? It shouldn't define HAVE_SOLARIS_SENDFILE if it isn't there (if sendfile library doesn't have sendfile() function).
participants (3)
-
Andreas Jaekel
-
David Champion
-
Timo Sirainen