Re: Problems building socklog on Solaris with -DWANT_SUN_DOOR

Asif Iqbal <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Mon, Feb 13, 2006 at 02:32:54PM, Gerrit Pape wrote:
> On Sun, Feb 12, 2006 at 04:25:49PM -0500, Asif Iqbal wrote:
> > I am having trouble to compile on Solaris 7. I am using the latest
> > socklog version 2.0.2. I also followed the instruction on
> > 
> > ./check-local socklog socklog-check socklog-conf tryto uncat
> > Checking socklog...
> > $Id: socklog.c,v 1.18 2004/06/26 09:36:25 pape Exp $
> > 
> > usage: socklog [-rRU] [unix|inet|ucspi|sun_stream] [args]
> > 
> > 1
> > listening on socklog.check.socket, starting.
> > foo
> > 0
> > listening on 127.0.0.1:12614, starting.
> > 127.0.0.1: foo
> > 0
> > U: foo
> > U: bar
> > U: baz
> > 0
> > socklog failed.
> > make: *** [check] Error 1
> 
> 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

Thanks for your help

> 
> Regards, Gerrit.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi
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.