celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: [jira] [Resolved] (CELIX-44) Remote Shell
Date Tue, 11 Dec 2012 17:04:43 GMT
> For OSX I am using is 10.8, which comes APR 1.4.5. And this seems to work
> with remote shell.
> When building against the APR from MacPorts (version 1.4.6) I get a
> segfault when connecting with telnet.
> I checked at work and there I'm using CentOS 5.8 with APR version 1.4.6 and
> in this case I don't get segfaults when connecting.
> When i have some time, I will look try to fix this for OSX.

I upgraded my installation and now it works. 10.6 has version

When I was still on 10.6 I tried MacPorts version as well, but that one
seems to miss support for the wakeable pollset, even though the code
compiles fine with it.

In the remote_shell.c the remoteShell_stopConnection doesn't check the
error code of the apr_pollset_wakeup, but this one returns an error with
the MacPorts version (APR_EINIT).

> I think it would be wise to specify a minimum version of APR we support.
> The current building and running page ([1]) mentioned a dependency to APR,
> but not which version. I also think that we can expect from users to
> compile/install a suitable APR version and not depend on the APR versions
> installed in for example OSX. So IMO specifying a minimal APR version of
> 1.4.x is no problem, or am I missing something ...

Normally I would agree, but upgrading the installed version on MacOSX is a
problem (it probably breaks the httpd installation etc). So the only option
is to use the MacPorts version, but even though it compiles, at runtime
there are still problems.. So either the MacPorts version is missing
something, or we are missing something ;).

The point is, I'd like to be able to support OSX 10.6, and trying to fix
this is needed for that one :).

Met vriendelijke groet,

Alexander Broekhuis

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message