libmanos branch merged

17 views
Skip to first unread message

Jackson Harper

unread,
Feb 10, 2011, 1:10:47 AM2/10/11
to manos-...@googlegroups.com

Hello everyone,

Just a heads up that the libmanos branch is now merged into master.  This branch basically replaces Manos's use of System.Net.Sockets.Socket with some pinvoke calls to glue code that calls the underlying OS socket calls.  This improves performance a bit but was mainly done for some other things down the road.  Namely it works around some oddities in S.N.S.Socket for out going connections and it will making sharing socket FDs across appdomains easier (which will be needed when we add an instance per a core option).  Also it allows us to use libeio for sendfile, which will fix the sendfile problem on the mac.

Its been fairly well tested, but big underlying changes like this always have some potential for bugs.  Let me know if anything pops up.

Also, this hasn't been fully implemented for windows yet.  Windows users should continue to use the zip i posted awhile back, until the HttpListener stuff is merged into master.

Cheers,
Jackson




JimM

unread,
Feb 10, 2011, 5:52:38 PM2/10/11
to Manos de Mono
Hi,

I've been hacking around with Manos for a bit now on OSX and was doing
fine until this
commit. I'm fine on the C#/Mono stuff but not so hot on the native
stuff on OSX. So basically,
I assume I need to build the native libmanos into a binary (a .dylib?)
so it can be resolved
at runtime. I've (after a lot of googling/headscratching) got make to
run through and it appears
to have done a bunch of stuff but I can't see a libmanos.dylib
anywhere. Am I completely missing
something here?

At the moment, when I run Manos it falls over on the static IOLoop
constructor where it makes the
first Pinvoke call to libmanos (manos_init) - not finding the library.

Any clues?

Thanks,
Jim

Jackson Harper

unread,
Feb 10, 2011, 5:55:09 PM2/10/11
to manos-...@googlegroups.com
Have you tried `make install` ?

You should be building on OSX like this:

./autogen.sh 
make 
sudo make install

after that you should have a few .dylibs in /usr/local/lib/manos along with the .dlls

(I'll update the mac building docs tonight).

Jackson

JimM

unread,
Feb 10, 2011, 6:05:26 PM2/10/11
to Manos de Mono
That's great. Solved it. Thanks a lot.
Reply all
Reply to author
Forward
0 new messages