The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=331 ====================================================================== Reported By: lkneschke Assigned To: ====================================================================== Project: DBMail Issue ID: 331 Category: General Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 22-Apr-06 17:13 CEST Last Modified: 22-Apr-06 17:13 CEST ====================================================================== Summary: Make DBMail compiling under Solaris Description: DBMail is currently not compileable because of two easy fixeable problems.
First you need to include unistd.h instead of getopt.h. And there is no strcasestr on Solaris available. I have attached 2 patches. The getopt patch can be applied without problems. The strcasestr patch if more a prof of concept. I copied the code from http://www.koders.com/c/fid798A0739421823ED85D3B691E2B8C20CA354D5C9.aspx . I have not checked any license problems or if the code is really perfect. But with this patch i'm able to compile DBMail under Solaris. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 22-Apr-06 17:13 lkneschke New Issue 22-Apr-06 17:13 lkneschke File Added: getopt_patch.diff ======================================================================