[mosh-users] Mosh on a PowerBook G4?

Keith Winstein keithw at MIT.EDU
Fri Apr 20 00:02:37 EDT 2012


We check for it in our code, but that particular codepath in ocb.cc
(__ALTIVEC__ && !__PPC64__) just uses posix_memalign() straight-up.

On Thu, Apr 19, 2012 at 10:14 PM, Keegan McAllister
<mcallister.keegan at gmail.com> wrote:
> That's strange, because we do check for posix_memalign and fall back
> to some other code if it's missing.  That's present even in this
> version 1.1.2.  Perhaps a copy of "config.log" would help us track
> this down.
>
> keegan
>
> On Thu, Apr 19, 2012 at 12:11 PM, Quentin Smith <quentin at mit.edu> wrote:
>> Hi Ivan,
>>
>> You're the second person who has tried mosh on PowerPC :)
>>
>> This is a known issue, and one that I will hopefully be fixing soon.
>>
>> --Quentin
>>
>>
>> On Thu, 19 Apr 2012, Ivan Avery Frey wrote:
>>
>>> The distribution binary appears to run on only Intel processors. So I
>>> tried to
>>> install the MacPorts version and it failed to compile. Here is the error:
>>>
>>> Making all in crypto
>>> make[3]: Entering directory
>>>
>>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2/src/crypto'
>>>  CXX    base64.o
>>>  CXX    crypto.o
>>>  CXX    ocb.o
>>> ocb.cc: In function ‘ae_ctx* ae_allocate(void*)’:
>>> ocb.cc:632: error: ‘posix_memalign’ was not declared in this scope
>>> make[3]: *** [ocb.o] Error 1
>>> make[3]: Leaving directory
>>>
>>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2/src/crypto'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory
>>>
>>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory
>>>
>>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2'
>>> make: *** [all] Error 2
>>> make: Leaving directory
>>>
>>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2'
>>> shell command " cd
>>>
>>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/work/mosh-1.1.2"
>>> && /usr/bin/make -w all " returned error 2
>>> Error: Target org.macports.build returned: shell command failed (see log
>>> for
>>> details)
>>> Warning: the following items did not execute (for mosh):
>>> org.macports.activate
>>> org.macports.build org.macports.destroot org.macports.install
>>> Log for mosh is at:
>>>
>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mosh/mosh/main.log
>>> Error: Status 1 encountered during processing.
>>> To report a bug, see <http://guide.macports.org/#project.tickets>
>>> _______________________________________________
>>> mosh-users mailing list
>>> mosh-users at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/mosh-users
>>
>>
>> _______________________________________________
>> mosh-users mailing list
>> mosh-users at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/mosh-users
>>
>
> _______________________________________________
> mosh-users mailing list
> mosh-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-users



More information about the mosh-users mailing list