Re: [MacPorts] #33672: mosh: error: ‘posix_memalign’ was not declared in this scope

MacPorts noreply at macports.org
Sun Mar 25 18:06:23 PDT 2012


#33672: mosh: error: ‘posix_memalign’ was not declared in this scope
------------------------------------+---------------------------------------
 Reporter:  sondy@…                 |       Owner:  quentin@…      
     Type:  defect                  |      Status:  new            
 Priority:  Normal                  |   Milestone:                 
Component:  ports                   |     Version:  2.0.4          
 Keywords:  leopard tiger haspatch  |        Port:  mosh           
------------------------------------+---------------------------------------

Comment(by quentin@…):

 Replying to [comment:10 ryandesign@…]:
 > Replying to [comment:8 ryandesign@…]:
 > > gcc-4.2 is also installed, and we could switch the port to that if
 necessary.
 >
 > Additionally switching to gcc-4.2 lets the port build. (I don't know if
 the software works, however.)

 Unfortunately, it looks like it doesn't - Leopard has a broken
 {{{poll(3)}}} implementation. mosh just exits immediately, because it gets
 POLLNVAL.

 (BTW, if you want to follow along, I have a branch of mosh at
 https://github.com/quentinmit/mosh with patches for Leopard.)

 I'm working with upstream on a solution, but it doesn't look trivial.
 Sorry, Sondy!

-- 
Ticket URL: <https://trac.macports.org/ticket/33672#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list