<div>Try setting EVENT_NOEVPORT to 1 in your environment (export EVENT_NOEVPORT=1). That will disable the Solaris event ports code which is probably what is causing your port_disassociate errors. Can't say whether or not it will uncover other problems, though.
</div>
<div> </div>
<div>A<br> </div>
<div><span class="gmail_quote">On 6/1/07, <b class="gmail_sendername">Brett Hoerner</b> <<a href="mailto:bretthoerner@bretthoerner.com">bretthoerner@bretthoerner.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I'm having a tough time compiling libevent-1.3b on OpenSolaris. I<br>followed a bunch of clues from this list and others including:
<br><br>Replace all usages of 'u_int*_t' with 'uint*_t'.<br>Replace '__inline' with 'inline'<br>Run configure with LDFLAGS="-lnsl -lresolv"<br><br>I also used someones' Solaris patch that added some includes in
<br>desperation (all in my diff).<br><br>I'm able to compile it now, but when I run the tests or when I compile<br>memcached against it and make use of memcached, I get the following<br>error on each event (I guess):<br>
<br>port_dissociate: No such file or directory<br><br>Google tells me nothing. :(<br><br>This is the output of my the libevent test.sh:<br><br>-----<br><br>Running tests:<br>KQUEUE<br>test-eof: port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>OKAY<br>test-weof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on<br>request 806c0c0 from <a href="http://127.0.0.1">127.0.0.1</a><br>port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>FAILED<br>DEVPOLL<br>test-eof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY
<br>test-weof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory
<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on<br>request 806c0c0 from <a href="http://127.0.0.1">127.0.0.1</a><br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>FAILED<br>POLL<br>test-eof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-weof: port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>OKAY<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
<br>request 806c0c0 from <a href="http://127.0.0.1">127.0.0.1</a><br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>FAILED<br>SELECT
<br>test-eof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-weof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY
<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on<br>request 806c0c0 from <a href="http://127.0.0.1">
127.0.0.1</a><br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>FAILED<br>RTSIG<br>test-eof: port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>OKAY<br>test-weof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on<br>request 806c0c0 from <a href="http://127.0.0.1">127.0.0.1</a><br>port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>FAILED<br>EPOLL<br>test-eof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY
<br>test-weof: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory<br>OKAY<br>test-time: OKAY<br>regress: port_dissociate: No such file or directory<br>port_dissociate: No such file or directory
<br>[warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on<br>request 806c0c0 from <a href="http://127.0.0.1">127.0.0.1</a><br>port_dissociate: No such file or directory<br>port_dissociate: No such file or directory
<br>port_dissociate: No such file or directory<br>FAILED<br><br>-----<br><br>I have no idea if they should all be passing, or if failing is a nice<br>way of saying "this method isn't supported on OpenSolaris". For the
<br>record, using memcached does work, I can set and fetch objects... but<br>I'm concerned about the complaints of port_dissociate.<br><br>Assuming attachments work, I've attached what I've changed against<br>
default 1.3b to get this to compile as it is now... if it helps.<br><br>Thanks in advance for any wisdom,<br>Brett<br><br>_______________________________________________<br>Libevent-users mailing list<br><a href="mailto:Libevent-users@monkey.org">
Libevent-users@monkey.org</a><br><a href="http://monkey.org/mailman/listinfo/libevent-users">http://monkey.org/mailman/listinfo/libevent-users</a><br><br><br></blockquote></div><br>