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 2/19/06, Gerrit Pape <[email protected]> wrote: > On Sat, Feb 18, 2006 at 05:15:02PM -0500, Asif Iqbal wrote: > > On Wed, Feb 15, 2006 at 10:54:18AM, Asif Iqbal wrote: > > > On Tue, Feb 14, 2006 at 09:03:18AM, Gerrit Pape wrote: > > > > 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. > > > > > > Sorry Gerrit, but I am not following what you meant by similar workaround. > > The check is fine, only the error (expected) message differs, see > $ diff -u compile/socklog-check.dist compile/socklog-check.local > > To workaround copy compile/socklog-check.local to > src/socklog-check.dist, and run package/install again. I had to do this workaround for socklog-2.0.3 on Solaris 8 > > Or simply skip the selftests completely and run package/compile && > packae/upgrade instead of package/install. > > I'll fix it with an upcoming version. > > HTH, Gerrit. > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu