Operating System - HP-UX
1832489 Members
4149 Online
110043 Solutions
New Discussion

Sendmail compiling problem

 
SOLVED
Go to solution
Amar Batham
Occasional Advisor

Sendmail compiling problem

Hello
I have a HP 9000 server with HP 11.0 and gcc 2.9 installed. I need to install sendmail on my machine. I have downloaded sendmail 8.12.2 . following are the steps i take and
the error message that comes up

cd sendmail-8.12.2.sendmail
./Build

(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C product; ignored.
cpp: "../../include/sm/gen.h", line 42: error 4036: Can't open include file 'stddef.h'.
cpp: "assert.c", line 20: error 4036: Can't open include file 'stdlib.h'.
cpp: "../../include/sm/io.h", line 24: error 4036: Can't open include file 'stdio.h'.
cpp: "../../include/sm/varargs.h", line 25: error 4036: Can't open include file 'varargs.h'

I think it has got to do with the cpp compiler which it is using instead of g++.
I even tried changing ../devtools/OS/HP-UX.11.x
file

define(`confCClibsmi', `cc -Ae')
define(`confCC', `cc -Ae')

to

define(`confCClibsmi', `g++')
define(`confCC', `g++')

can anyone help me out with this problem
Thanks in advance
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Sendmail compiling problem

Why not install sendmail from your application CD's? 11i has version 8.9.3, and 11 on one of my machines is 8.8.6.

Do you need 8.12.2?

live free or die
harry
Live Free or Die
Amar Batham
Occasional Advisor

Re: Sendmail compiling problem

Well i have even tried this out with sendmail 8.8.8 but it doesn't seems to work.
harry d brown jr
Honored Contributor
Solution

Re: Sendmail compiling problem

If you install it from your application CD, then there is no need to compile it.

live free or die
harry
Live Free or Die
Amar Batham
Occasional Advisor

Re: Sendmail compiling problem

Thanks Harry
That solved my problem.
Christopher Caldwell
Honored Contributor

Re: Sendmail compiling problem

There are some nice new features in sendmail versions above 8.9.3. If you need the features, 8.11.1 is available from

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=category&group_name=ISS

search for sendmail in your browser.