SUMMARY: MH 6.8.3 under Solaris 2.6

Michael R. Zika (zika@glacier.llnl.gov)
Fri, 31 Oct 1997 09:55:40 -0800

Thanks to those that replied. The original question:

========================================================================
Has anyone managed to compiler MH 6.8.3 under Solaris 2.6? As the
archives indicate, I have applied the 6.8.3 -> 6.8.4 patch and then
applied the specific Solaris 2.x patch (this took a little bit of
doing since they _both_ patch .../h/strings.h; however, I believe
that this step was done correctly)

The compilation fails on .../zotnet/mts/client.c:

------------------------------------------------------------------------
client.c", line 364: identifier redeclared: inet_addr
current : function() returning ulong
previous: function(pointer to const char) returning uint :
"/usr/include/arpa/inet.h", line 52
cc: acomp failed for client.c
------------------------------------------------------------------------

I have successfully installed MH on Solaris 2.5.1, so I went looking
for the differences. Sure enough, that include file has changed:

[...]
========================================================================

Casper Dik pointed out that /usr/include/arpa/inet.h hasn't really
changed since in_addr_t is an unsigned long in Solaris 2.6. So, I'm
still not sure what is causing the compilation error above.

A couple of folks pointed me to nmh (New MH) which can be found
at http://www.math.gatech.edu/nmh. I grabbed the source for nmh and
was able to compile & install it on Solaris 2.6 without problem.

Thanks to:

Sean Ward <wards@snk077.ast.lmco.com>
Casper Dik <casper@holland.Sun.COM>
Roy Culley <tgdcuro1@gd2.swissptt.ch>

for their responses and to Richard Coleman <coleman@math.gatech.edu>
for continuing to work on a version of MH!


--Michael Zika Computational Physicist
(510) 422-5210 (v) Lawrence Livermore National Lab
(510) 422-8920 (f) <zika@llnl.gov>