sendmail v8.11.0

Hello,

Has anyone compiled the latest sendmail 8.11.0 ? It has references to QNX,
so I guess the compilation should work, but it did not. So before digging
into it, I’ll like to know if someone went through this process already and
if he will like to share his findings.

Thanks in advance,
Cesar.

In article <8nh9re$4ht$1@inn.qnx.com>,
“Cesar Hernandez” <chernandez@videotron.ca> writes:

Hello,

Has anyone compiled the latest sendmail 8.11.0 ? It has references to QNX,
so I guess the compilation should work, but it did not. So before digging
into it, I’ll like to know if someone went through this process already and
if he will like to share his findings.

Not 8.11.n, no, but I did build and install 8.10.1. IIRC, no code needed
tweaking. See below my ASCII-sig for my notes.

Thanks in advance,
Cesar.

Hope this helps,
Dave


__________________ \ D. J. HAWKEY JR. / /
_
/\ hawkeyd@visi.com /_
____________/
http://www.visi.com/~hawkeyd/

—8<—

The following changes were necessary to build the sendmail 8.10.1
package under QNX 4.2[3-5] with Watcom C 10.6. Note that I only
built in /sendmail, /makemap, /mailstats, /praliases, and /vacation;
other tweaks may be necessary.

D. J. Hawkey Jr. (hawkeyd@visi.com)
May 3 2000



First off, I couldn’t sort out what the /devtools/OS/QNX file
wanted for a proper build, so I wrote a different one, that also
sets file ownerships and locations more like QNX’s distribution.

@(#)QNX 8.10 (Berkeley) 5/2/2000

define(confENVDEF', -Osax -w4 -zc -fr=’)
define(confLDOPTS', -M -N256k’)
define(confLIBS', -lsocket’)
define(confMANOWN', 0’)
define(confMANGRP', 0’)
define(confSBINOWN', 0’)
define(confSBINGRP', 0’)
define(confUBINOWN', 0’)
define(confUBINGRP', 0’)
define(confMBINDIR', /usr/ucb’)
define(confSBINDIR', /usr/ucb’)
define(confUBINDIR', /usr/ucb’)
define(confEBINDIR', /usr/ucb’)
define(confMANROOT', /usr/man/cat’)
define(confMANROOTMAN', /usr/man/man’)
define(confINSTALL_RAWMAN') define(confINSTALL’, `${BUILDBIN}/install.sh’)

Then I wrote a file for /devtools/Site, newdb.QNX.m4. This is
for building sendmail with support for the Berkeley DB package.
Note that 1.85 is the only version proven to work under QNX 4.

@(#)QNX 8.10 (Berkeley) 5/2/2000

define(confMAPDEF', -DNEWDB’)
APPENDDEF(confLIBS', -ldb’)



Second, the various Build scripts couldn’t find m4. You’ll have
to “hardcode” where it lives, like so:

$ cd src
$ ./Build -EM4=/usr/local/bin/m4

If you have the Berkeley DB package installed, issue the following
command:

$ cd src
$ ./Build -EM4=/usr/local/bin/m4 -Qnewdb.QNX.m4

—>8—