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

Attachment: libevent.diff
Description: Binary data

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

Reply via email to