vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, For the inherent bugs and complexity with sendmail, I am considering QMAIL for my AIX servers. Has anyone installed QMAIL on AIX, I tried compiling QMAIL with IBM C-Compiler and with the GCC compiler as well. Could not get past the "make setup check" errors. Has anyone dealt with a similar problem. |
| |||
| On 26 Aug 2003 11:15:01 -0700 girishmodak@yahoo.com (Garry) wrote: > For the inherent bugs and complexity with sendmail, I am considering > QMAIL for my AIX servers. Has anyone installed QMAIL on AIX, I tried > compiling QMAIL with IBM C-Compiler and with the GCC compiler as well. > Could not get past the "make setup check" errors. Has anyone dealt with > a similar problem. The problem is that there's an annoying coding error in qmail, which treats "errno" as an int, which it isn't (it started out that way, but on AIX and most other modern multi-threading systems it's a macro defined in /usr/include/errno.h). The solution is to edit the following files: dns.c error.h cdb_seek.c and remove the references to "extern int errno", and "extern int h_errno". Then add "#include <errno.h> to error.h, and recompile. I use IBM's cc on AIX 4.3.3 and with these modifications qmail (not QMAIL, BTW) compiles and runs without problems. Take care, -- Stefaan -- "What is stated clearly conceives easily." -- Inspired sales droid |
| |||
| Garry wrote: > Hi, > > For the inherent bugs and complexity with sendmail, I am considering QMAIL > for my AIX servers. Has anyone installed QMAIL on AIX, I tried compiling > QMAIL with IBM C-Compiler and with the GCC compiler as well. Could not get > past the "make setup check" errors. Has anyone dealt with a similar problem. > Sendmail's been pretty good to me... I used the latest version and have no problems. Sure it's complex, but boy it allows one to do some fancy stuff... I'm running Sendmail 8.12.8p1 with: SASL (STARTTLS and AUTH) MIMEdefang SPAMassassin and on the MUA side: IMAP and POP it's fabulous. -Ben |
| |||
| In article <6f08c5d1.0308261015.4ff09d67@posting.google.com >, Garry wrote: > For the inherent bugs and complexity with sendmail, I am considering QMAIL > for my AIX servers. Has anyone installed QMAIL on AIX, I tried compiling > QMAIL with IBM C-Compiler and with the GCC compiler as well. Could not get > past the "make setup check" errors. Has anyone dealt with a similar problem. You post way too little information. What version of AIX? What version of the compiler? What version of qmail (the official one from qmail.org?) How are you installing qmail? What is the *exact* error message? That being said, I've installed AIX 5.2 on a testbox, along with the GCC version from the AIX Linux Toolbox webpage. I've used the http://www.lifewithqmail.org/ install method (you should, too!), so I've also installed daemontools and ucspi-tcp. All this works great. Visit www.qmail.org and have a look at the "Recommended Patches" section. -- Jurjen Oskam PGP Key available at http://www.stupendous.org/ |
| |||
| In article <3F4BFD1F.1010906@benjammin.net>, Ben Kamen wrote: > Sendmail's been pretty good to me... I used the latest version and have no > problems. Sure it's complex, but boy it allows one to do some fancy stuff... The problem is that not only the administrator of the box gets to do some fancy stuff. -- Jurjen Oskam PGP Key available at http://www.stupendous.org/ |
| |||
| Hey Thanks, With the changes that you suggested I was able to compile succsssfully. I am running AIX 4.3.3 by the way. However got such errors while building qmail. There were a couple of these however the compilation completed successfully and did not error out. 1500-030: (I) INFORMATION: datetime_tai: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 2048. 1500-010: (W) WARNING in main: Infinite loop. Program may not stop. Also was not able to install daemontools. Here's what came up ... package/install Linking ./src/* into ./compile... Compiling everything in ./compile... ./compile byte_chr.c cc: 1501-210 command option Wimplicit contains an incorrect subargument make: 1254-004 The error code from the last command is 40. Stop. I am no "C" expert so cannot figure out what it means. However here are the contents of compile byte_chr.c /* Public domain. */ #include "byte.h" unsigned int byte_chr(s,n,c) char *s; register unsigned int n; int c; { register char ch; register char *t; ch = c; t = s; for (; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; } return t - s; } Stefaan A Eeckels <hoendech@ecc.lu> wrote in message news:<20030826231659.7896797f.hoendech@ecc.lu>... > > The problem is that there's an annoying coding error in > qmail, which treats "errno" as an int, which it isn't > (it started out that way, but on AIX and most other > modern multi-threading systems it's a macro defined in > /usr/include/errno.h). > > The solution is to edit the following files: > > dns.c > error.h > cdb_seek.c > > and remove the references to "extern int errno", and > "extern int h_errno". > > Then add "#include <errno.h> to error.h, and recompile. > > I use IBM's cc on AIX 4.3.3 and with these modifications > qmail (not QMAIL, BTW) compiles and runs without problems. > > Take care, > > -- > Stefaan |
| |||
| Hey Thanks, With the changes that you suggested I was able to compile succsssfully. I am running AIX 4.3.3 by the way. However got such errors while building qmail. There were a couple of these however the compilation completed successfully and did not error out. 1500-030: (I) INFORMATION: datetime_tai: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 2048. 1500-010: (W) WARNING in main: Infinite loop. Program may not stop. Also was not able to install daemontools. Here's what came up ... package/install Linking ./src/* into ./compile... Compiling everything in ./compile... ./compile byte_chr.c cc: 1501-210 command option Wimplicit contains an incorrect subargument make: 1254-004 The error code from the last command is 40. Stop. I am no "C" expert so cannot figure out what it means. However here are the contents of compile byte_chr.c /* Public domain. */ #include "byte.h" unsigned int byte_chr(s,n,c) char *s; register unsigned int n; int c; { register char ch; register char *t; ch = c; t = s; for (; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; if (!n) break; if (*t == ch) break; ++t; --n; } return t - s; } Stefaan A Eeckels <hoendech@ecc.lu> wrote in message news:<20030826231659.7896797f.hoendech@ecc.lu>... > On 26 Aug 2003 11:15:01 -0700 > girishmodak@yahoo.com (Garry) wrote: > > > For the inherent bugs and complexity with sendmail, I am considering > > QMAIL for my AIX servers. Has anyone installed QMAIL on AIX, I tried > > compiling QMAIL with IBM C-Compiler and with the GCC compiler as well. > > Could not get past the "make setup check" errors. Has anyone dealt with > > a similar problem. > > The problem is that there's an annoying coding error in > qmail, which treats "errno" as an int, which it isn't > (it started out that way, but on AIX and most other > modern multi-threading systems it's a macro defined in > /usr/include/errno.h). > > The solution is to edit the following files: > > dns.c > error.h > cdb_seek.c > > and remove the references to "extern int errno", and > "extern int h_errno". > > Then add "#include <errno.h> to error.h, and recompile. > > I use IBM's cc on AIX 4.3.3 and with these modifications > qmail (not QMAIL, BTW) compiles and runs without problems. > > Take care, > > -- > Stefaan |
| ||||
| On 27 Aug 2003 13:37:52 -0700 girishmodak@yahoo.com (Garry) wrote: > With the changes that you suggested I was able to compile > succsssfully. I am running AIX 4.3.3 by the way. > > However got such errors while building qmail. There were a couple of > these however the compilation completed successfully and did not error > out. They're warnings and can be ignored. > Also was not able to install daemontools. Here's what came up ... > > package/install > Linking ./src/* into ./compile... > Compiling everything in ./compile... > ./compile byte_chr.c > cc: 1501-210 command option Wimplicit contains an incorrect > subargument > make: 1254-004 The error code from the last command is 40. Try with IBM's compiler, for me daemontools compiles OK with a few warnings, using IBM 'C' for AIX version 4.4. It looks like there's an error in the compile script with an option to gcc. Take care, -- Stefaan -- "What is stated clearly conceives easily." -- Inspired sales droid |