MH for HPUX 10.20

MH for HPUX 10.20

Post by Dre » Thu, 20 Nov 1997 04:00:00



Hi,

I am a sysadmin at the University of Colorado, and since I am just a
lowly grunt on the totem pole, I was put in charge of building MH for
HP-UX 10.20.

I am having a terrible time trying to get this program to compile
correctly.  I have looked at and used a few of examples provided with
the package.

If you know of anyone that has sucessfully built MH for 10.20 could
you please send a copy of the conf/MH, and the conf/config/mtstailor
files to me?

The current problem is that if I include any of the options for
locking on an NFS (LOCKF, lockldir) the program core's on invoking of
the 'inc' command.

If I don't include any of the locking features, it tells me that it
can't lock and fopen my mail file.

On either occurance, I can still use all of the other
features/programs of MH -- comp, repl, forw, folders, etc.

If you have any ideas about which direction to look/head in, I would
be much appriciated.

Thank you,

Andrew Fisher
-UnixOps -- ITS
University of Colorado - Boulder

I have included my failed attempts for both files:



# Wed Nov 19 12:56:34 MST 1997
#
# General
#
bin             /usr/local/mh.new/bin
ldoptions       -s
mandir          /usr/local/mh.new/man
etc             /usr/local/mh.new/lib
mail            /var/mail
manuals         standard
mts             sendmail/smtp
options         BIND ISI MHRC OVERHEAD WHATNOW MIME DMBPWD MHE RPATHS
#
# Machine specific options
#
ccoptions       +DA1.0 +DS1.0
options         SYS5 NDIR SOCKETS _STRINGS
curses          -lcurses -ltermlib
signal          void
sprintf         int

conf/config/mtstailor



uucpldir:       /var/mail
uucplfil:
mmdelim1:       \001\001\001\001\n
mmdelim2:       \001\001\001\001\n
mmailid:        0
lockldir:       /tmp


sendmail:       /usr/lib/sendmail

 
 
 

1. Building MH on HPUX 10.20 PA 1.1 Machine

I'm looking for suggestions on building MH on HPUX 10.20 using
the HP C Compiler. Anyone have luck getting this built? Theres
not much info I can find on the net for building MH on this OS.

Heres an example of the error I'm getting:

        /bin/cc -DBIND -D_HPUX_SOURCE -Dhpux -DDBMPWD -DDUMB -DMHRC -DMIME
-DMORE='"/usr/bin/more"' -DOVERHEAD -DRENAME -DRPATHS -DSOCKETS -DSVR4 -DSYS5
-DSYS5DIR -DTERMINFO -DTZNAME -DUNISTD -DVSPRINTF -DNTOHLSWAP -DZONEINFO
-DMAILGROUP -DSENDMTS -DSMTP -DSPRINTFTYPE=int -DTYPESIG=void -O -I.. -c mts.c
cc: "mts.c", line 47: error 1584: Inconsistent type declaration: "malloc".
*** Error exit code 1

Heres my MH file:

#
bin     /usr/local/bin
etc     /usr/local/lib/mh
mail    /usr/mail
mandir  /usr/local/man
manuals standard
chown   chown
cp      cp
ln      ln -s
remove  rm -f
lex     lex -nt
ranlib  off
oldload none
mts     sendmail/smtp
mf      off
bboards off
pop     off
slflags -pic
slibdir /usr/local/lib
mailgroup       mail
signal  void
sprintf int
options BIND
options _HPUX_SOURCE
#options        hpux
options DBMPWD
options DUMB
options LOCKF
options MHRC
options MIME
options MORE='"/usr/bin/more"'
options OVERHEAD
options RENAME
options RPATHS
options SOCKETS
options SVR4
options SYS5
options SYS5DIR
options TERMINFO
options TZNAME
options UNISTD
options VSPRINTF
options NTOHLSWAP
options ZONEINFO

Any help in building this would be much appreciated.
   Thanx, dsc
--
############################################################################
### Dave Cartier                           Stratus Computer Inc.         ###
### UNIX Systems Administrator             55 Fairbanks Blvd.            ###
### (508) 460-2290 (Voice)                 Marlboro, MA 01752-1298       ###

############       Opinions expressed here are mine alone.      ############
############################################################################
### - "We are born naked, wet and sleepy.  Then things get worse."       ###
############################################################################

2. Bug Trouble executing webmethod twice from winforms

3. sample MH file for HPux 10.20

4. plotting

5. ACAP und HPUX 10.20

6. nmh/HPUX 10.20; inc probs

7. HPUX 10.20 and Mutt command line

8. Pine exits on 'Compose' ( HPUX 10.20 )

9. Installing Pine on HPUX 10.20

10. Q: Pine 3.96 & HPUX 10.20 Hang Writing File/Sending Mail

11. 8.10.0.Beta6 on HPUX 10.20