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 <[EMAIL PROTECTED]> 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@monkey.org
http://monkey.org/mailman/listinfo/libevent-users



_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to