Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

htdig: Building htdig-3.1.0b4 on Solaris 2.5.1

2 views
Skip to first unread message

Peter Polkinghorne

unread,
Jan 22, 1999, 3:00:00 AM1/22/99
to

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.Pol...@brunel.ac.uk +44 1895 274000 x2561 UK |
-----------------------------------------------------------------------------


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

Geoff Hutchison

unread,
Jan 22, 1999, 3:00:00 AM1/22/99
to
At 12:25 PM -0400 1/21/99, Peter Polkinghorne wrote:
>Firstly I would like to say thanks for a nice well documented package.

Thanks!

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

Thanks for the report, it'll be in the CVS tree when I get a chance to
commit the changes.


-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

0 new messages