Hi Tzafrir
On Fri, 28 Dec 2001, Kohn Emil Dan wrote:

> Hi Tzafrir,
>
> There should be no problem regarding its compilation, however if you
> compile it don't remove that macro from refreshd_params.h refreshd will
> not run correctly.

What I wanted to say here was that if you compile with the macro
ABSTRACT_UNIX_SOCKET_ADDRESSES defined on platforms other than Linux 2.2+
then refreshd will compile, but it will not work.  You *must* undefine
that macro on platforms other than Linux 2.2+ !! You *may* also compile on
Linux 2.2+ with the macro undefined, but in this case it won't use the
abstract UNIX domain socket addresses. I don't think that anyone
could understand anything out of my previous reply. I hope this makes it
clearer.


>
> On Fri, 28 Dec 2001, Tzafrir Cohen wrote:
>
> > On Fri, 28 Dec 2001, Kohn Emil Dan wrote:
> >
> > > Just an aside, make sure that on other (i.e. non-Linux) platforms the
> > > ABSTRACT_UNIX_SOCKET_ADDRESSES macro is not defined in refreshd_params.h
> > >
> > >
> > >                                           Regards,
> > >
> > >                                                           Emil
> >
> > I think it compiled without it.
> >
> > But I needed to add -lsocket to the link line .

Welcome to Solaris ;-)). Solaris being a SysV derived system uses streams
as the primary kernel communication mechanism. Sockets are implemented in
user space using the streams system calls. Any program using sockets on
Solaris must link with -lsocket. In addition almost any program using
sockets over TCP/IP must link with -lnsl. But this is not the case with
refreshd.


> >
> > It is on csd under /tmp/tzafrir (it should be world-readable)
> >

/tmp/tzafrir is world-readable. However r2l-0.9.1 is not (no exec bit set
to the world). Anyway I looked around in the r2l-0.9.1.tar.gz file. The
macro in refreshd_params.h is defined. For Solaris, this is clearly wrong.
Thinking better, probably the default should be with that macro undefined
and adding -DABSTRACT_UNIX_SOCKET_ADDRESSES to gcc when compiling under
Linux 2.2+

                                                Regards,
                                                                Emil



> > >
> > >
> > > On Fri, 28 Dec 2001, Kohn Emil Dan wrote:
> > >
> > > > Hi Tzafrir,
> > >>
> > > > What problems did you experience with refreshd?
> > > > Can I help you with that?
> > > >
> > > >
> > > >                                                 Emil
> > > >
> > > >
> > > > On Fri, 28 Dec 2001, Tzafrir Cohen wrote:
> > > >
> > > > > Another release
> > > > >
> > > > > This is something which is much more of a decent release. It should build
> > > > > on most standard machines now, I believe. You can get it, as usual, from:
> > > > >
> > > > > http://www.technion.ac.il/~tzafrir/R2L/r2l-tarball
> > > > >
> > > > > I removed the four separatesubpackages. There is only one package (r2l-*
> > > > > itself). THus there is much less junk there.
> > > > >
> > > > > One problem with building it is that the option '--prefix' of the
> > > > > configure script has no effect. If you want to build it under, say,
> > > > > /home/tzafrir , then you should run:
> > > > >
> > > > > make PREFIX=/home/tzafrir
> > >> >
> > > > > There are also configure options (that do work) for disabling the build of
> > > > > refreshd (--disable-refreshd) or for disabling the build of the
> > > > > r2l-plugins (--disable-plugins).
> > > > >
> > > > > I'm generally quite satisfied with this one(even though I have some
> > > > > problems when trying to build it on other platforms, mainly with
> > > > > refreshd, I can live with that)
> > > > >
> > > > > So I'd like to hear some success stories, and then get 1.0 out.
> > > > >
> > > > > --
> > > > > Tzafrir Cohen
> > >> > mailto:[EMAIL PROTECTED]
> > > > > http://www.technion.ac.il/~tzafrir
> > > > >
> > > > >
> > > > > -------------------------------------------------------------------------
> > > > > Haifa Linux Club Projects Mailing List (http://linuxclub.il.eu.org)
> > > > > To unsub send an empty message to [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > -------------------------------------------------------------------------
> > > > Haifa Linux Club Projects Mailing List (http://linuxclub.il.eu.org)
> > > > To unsub send an empty message to [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> >
> > --
> > Tzafrir Cohen
> > mailto:[EMAIL PROTECTED]
> > http://www.technion.ac.il/~tzafrir
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> Haifa Linux Club Projects Mailing List (http://linuxclub.il.eu.org)
> To unsub send an empty message to [EMAIL PROTECTED]
>
>
>



-------------------------------------------------------------------------
Haifa Linux Club Projects Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to