Re: Problems building socklog on Solaris with -DWANT_SUN_DOOR

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <20060214090318.26882.qmail@029d34d590893b.315fe32.mid.smarden.org>
On Tue, Feb 14, 2006 at 02:00:42AM -0500, Asif Iqbal wrote:
> On Mon, Feb 13, 2006 at 02:32:54PM, Gerrit Pape wrote:
> > The check actually is fine, it just fails for the usage output, which is
> > different on solaris.  See
> >  $ diff -u compile/socklog.dist compile/socklog.local
> > 
> > I'll fix it with an upcoming version.  To workaround, simply copy
> > compile/socklog.local to src/socklog.dist, and run package/install
> > again.  It should install fine now.
> 
> Now I am getting this error
> 
> (root)@iqbal:/package/admin/socklog-2.0.2# cp compile/socklog.local
> src/socklog.dist
> (root)@iqbal:/package/admin/socklog-2.0.2# ./package/install
> Linking ./src/* into ./compile...
> Compiling everything in ./compile...
> + cd compile
> + exec make
> make: Nothing to be done for `default'.
> Copying commands into ./command...
> Checking commands in ./command...
> + cd compile
> + exec make check
> ./check-local socklog socklog-check socklog-conf tryto uncat
> Checking socklog...
> Checking socklog-check...
> $Id: socklog-check.c,v 1.1 2004/06/26 09:32:04 pape Exp $
> usage: socklog-check [-v] [unix [address]]
> 
> 1
> listening on socklog.check.socket, starting.
> 0
> socklog-check: info: successfully connected to socklog.check.socket
> 0
> socklog-check: warning: unable to connect socket: socklog.check.socket:
> destination address required
> 111
> socklog-check failed.
> make: *** [check] Error 1

Your system sets errno to EDESTADDRREQ instead of ECONNREFUSED on
connect(), which causes a different warning message.  The check again
looks fine otherwise, and a similar workaround should help.

Regards, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.