htdig: Building htdig-3.1.0b4 on Solaris 2.5.1


Peter Polkinghorne (Peter.Polkinghorne@brunel.ac.uk)
Thu, 21 Jan 1999 17:25:43 +0100


Firstly I would like to say thanks for a nice well documented package.

I have built htdig-3.1.0b4 on Solaris 2.5.1 using Sunworkshop 3.0 or C++ 4.2
and I had only to make a few minor mods - I list them here:

Connection.cc did not have the right define wanter for gethostname prototype:

*** Connection.cc.dist Wed Dec 23 01:53:14 1998
--- Connection.cc Tue Jan 19 10:56:56 1999
***************
*** 509,515 ****
      return inet_ntoa(peer.sin_addr);
  }
  
! #if defined(__sun__)
  extern "C" int gethostname(char *name, int namelen);
  #endif
  
--- 509,515 ----
      return inet_ntoa(peer.sin_addr);
  }
  
! #if defined(NEED_PROTO_GETHOSTNAME)
  extern "C" int gethostname(char *name, int namelen);
  #endif

And config got GETPEERNAME_LENGTH_T wrong as unsigned int instead of int (in
include/htconfig.h).

Otherwise seems to work fine when these fixes applied. Sorry if this should
have been reported as a bug.

-- 
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| Peter.Polkinghorne@brunel.ac.uk   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Mon Jan 25 1999 - 08:15:24 PST