From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1483 Path: news.gmane.org!not-for-mail From: "Daniel Clark" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Solaris 2.6 runit compilation issues Date: Sun, 15 Jul 2007 14:22:05 -0400 Message-ID: <5422d5e60707151122l49e62389jd2ef5df99d5eef42@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184523734 15259 80.91.229.12 (15 Jul 2007 18:22:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 18:22:14 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1720-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jul 15 20:22:11 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1IA8jT-0007jE-OA for gcsg-supervision@gmane.org; Sun, 15 Jul 2007 20:22:11 +0200 Original-Received: (qmail 30474 invoked by uid 76); 15 Jul 2007 18:22:30 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 30469 invoked from network); 15 Jul 2007 18:22:30 -0000 DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=PQn/ePG/pxekcupdzQ73n0Cqv4h96wejjF5eonNfwvA1Vtou7YKGzj2OxUxBcNKQaem1BfXyuDT0ex8oA5a0a1Zk4zGPwQ8ghU1i2nFJH1GD0eTO4hsIDziSm/JygC/0Z1HHy+lcuwnef/Xw1atJ9hm/XWsOk6BNtmDWPYgTd30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=mxwR3r7BlS6RVzlqwil/5xrZRiUFqV5fkDz/QlLQYb2zZdAzucj0mIPHoAnQrFzFDsWABOYUio488e1SLGHjNzR70dVC0yPMjyECKTIMgD1M/eZTNQzc9XiLL8IQqc/VRdfUYNZEr/0jbR++CufUo3ekP7j2PZE5tQJhyM8aZyw= Original-Sender: djbclark@gmail.com Content-Disposition: inline X-Google-Sender-Auth: f5246d8604fe1d09 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1483 Archived-At: FYI on Solaris 2.6 (sparc, sun4m and sun4u) I had to: (a) Make the same change as for AIX, namely: --- uw_tmp.h1 2007-06-25 01:17:00.000000000 -0400 +++ uw_tmp.h1 2007-06-25 01:17:23.000000000 -0400 @@ -3,7 +3,7 @@ /* sysdep: -utmpx */ -#define UW_TMP_UFILE _PATH_UTMP -#define UW_TMP_WFILE _PATH_WTMP +#define UW_TMP_UFILE UTMP_FILE +#define UW_TMP_WFILE WTMP_FILE typedef struct utmp uw_tmp; (b) Delete the line with the text "ut_host" in it in utmpset.c: -memset(ut.ut_host, 0, sizeof ut.ut_host); to get runit to compile. This seems to be what rxvt did, although in a nicer fashion: http://rxvt.cvs.sourceforge.net/rxvt/rxvt/src/logging.c?r1=1.34&r2=1.35 I also tried compiling with utmpx.h but that led to other errors that looked harder to deal with. -- Daniel Clark # http://planyp.us/djbclark/profile # http://dclark.us # http://opensysadmin.com