[Libevent-users] libevent on OpenSolaris with GCC ---
port_dissociate: No such file or directory
Andrew Danforth
acd at weirdness.net
Fri Jun 1 14:37:04 EDT 2007
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.
A
On 6/1/07, Brett Hoerner <bretthoerner at bretthoerner.com> wrote:
>
> I'm having a tough time compiling libevent-1.3b on OpenSolaris. I
> followed a bunch of clues from this list and others including:
>
> Replace all usages of 'u_int*_t' with 'uint*_t'.
> Replace '__inline' with 'inline'
> Run configure with LDFLAGS="-lnsl -lresolv"
>
> I also used someones' Solaris patch that added some includes in
> desperation (all in my diff).
>
> I'm able to compile it now, but when I run the tests or when I compile
> memcached against it and make use of memcached, I get the following
> error on each event (I guess):
>
> port_dissociate: No such file or directory
>
> Google tells me nothing. :(
>
> This is the output of my the libevent test.sh:
>
> -----
>
> Running tests:
> KQUEUE
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
> DEVPOLL
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
> POLL
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
> SELECT
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
> RTSIG
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
> EPOLL
> test-eof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-weof: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> OKAY
> test-time: OKAY
> regress: port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> [warn] evhttp_parse_request_line: bad method GET /test HTTP/1.1 on
> request 806c0c0 from 127.0.0.1
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> port_dissociate: No such file or directory
> FAILED
>
> -----
>
> I have no idea if they should all be passing, or if failing is a nice
> way of saying "this method isn't supported on OpenSolaris". For the
> record, using memcached does work, I can set and fetch objects... but
> I'm concerned about the complaints of port_dissociate.
>
> Assuming attachments work, I've attached what I've changed against
> default 1.3b to get this to compile as it is now... if it helps.
>
> Thanks in advance for any wisdom,
> Brett
>
> _______________________________________________
> Libevent-users mailing list
> Libevent-users at monkey.org
> http://monkey.org/mailman/listinfo/libevent-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20070601/dced42ad/attachment.htm
More information about the Libevent-users
mailing list