[Libevent-users] libevent on OpenSolaris with GCC --- port_dissociate: No such file or directory

Shanti Subramanyam - PAE Shanti.Subramanyam at Sun.COM
Wed Jun 6 14:56:47 EDT 2007


Niels Provos wrote:
> I don't have access to Solaris.  The only way this can be fixed is by
> people running Solaris to send patches.
> 

The patches were sent a while ago by Emil Mikulec on 1/2/07. See 
http://monkeymail.org/archives/libevent-users/2007-January/000444.html

Shanti

> Niels.
> 
> On 6/1/07, Brett Hoerner <bretthoerner at bretthoerner.com> wrote:
>> Thanks, that killed the specific complaint/error, but do I want to
>> disable event ports?  Isn't that Solaris' most fancy event system?
>> And should I worry about the evhttp_parse_request_line lines?
>>
>> Sorry for being useless here. :(
>>
>> ---
>>
>> Running tests:
>> KQUEUE
>> Skipping test
>> DEVPOLL
>>  test-eof: OKAY
>>  test-weof: OKAY
>>  test-time: OKAY
>>  regress: [warn] evhttp_parse_request_line: bad method GET /test
>> HTTP/1.1 on request 8072028 from 127.0.0.1
>> FAILED
>> POLL
>>  test-eof: OKAY
>>  test-weof: OKAY
>>  test-time: OKAY
>>  regress: [warn] evhttp_parse_request_line: bad method GET /test
>> HTTP/1.1 on request 806b218 from 127.0.0.1
>> FAILED
>> SELECT
>>  test-eof: OKAY
>>  test-weof: OKAY
>>  test-time: OKAY
>>  regress: [warn] evhttp_parse_request_line: bad method GET /test
>> HTTP/1.1 on request 806c220 from 127.0.0.1
>> FAILED
>> RTSIG
>> Skipping test
>> EPOLL
>> Skipping test
>>
>> ---
>>
>> Thanks,
>> Brett
>>
>>
>>
>> On 6/1/07, Andrew Danforth <acd at weirdness.net> wrote:
>> > 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
>> > >
>> > >
>> > >
>> >
>> >
>> _______________________________________________
>> Libevent-users mailing list
>> Libevent-users at monkey.org
>> http://monkey.org/mailman/listinfo/libevent-users
>>
>>
> _______________________________________________
> Libevent-users mailing list
> Libevent-users at monkey.org
> http://monkey.org/mailman/listinfo/libevent-users


More information about the Libevent-users mailing list