<div>Try setting EVENT_NOEVPORT to 1 in your environment (export EVENT_NOEVPORT=1).&nbsp; That will disable the Solaris event ports code which is probably what is causing your port_disassociate errors.&nbsp; Can&#39;t say whether or not it will uncover other problems, though.&nbsp;
</div>
<div>&nbsp;</div>
<div>A<br>&nbsp;</div>
<div><span class="gmail_quote">On 6/1/07, <b class="gmail_sendername">Brett Hoerner</b> &lt;<a href="mailto:bretthoerner@bretthoerner.com">bretthoerner@bretthoerner.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I&#39;m having a tough time compiling libevent-1.3b on OpenSolaris.&nbsp;&nbsp;I<br>followed a bunch of clues from this list and others including:
<br><br>Replace all usages of &#39;u_int*_t&#39; with &#39;uint*_t&#39;.<br>Replace &#39;__inline&#39; with &#39;inline&#39;<br>Run configure with LDFLAGS=&quot;-lnsl -lresolv&quot;<br><br>I also used someones&#39; Solaris patch that added some includes in
<br>desperation (all in my diff).<br><br>I&#39;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 &quot;this method isn&#39;t supported on OpenSolaris&quot;.&nbsp;&nbsp;For the
<br>record, using memcached does work, I can set and fetch objects... but<br>I&#39;m concerned about the complaints of port_dissociate.<br><br>Assuming attachments work, I&#39;ve attached what I&#39;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>