[MacPorts] #31359: lighttpd 1.4.28 is not compatible with libev 4

MacPorts noreply at macports.org
Thu Sep 22 13:58:30 PDT 2011


#31359: lighttpd 1.4.28 is not compatible with libev 4
-------------------------------+--------------------------------------------
 Reporter:  trcx528@…          |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  assigned               
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  2.0.3                  
 Keywords:                     |        Port:  lighttpd               
-------------------------------+--------------------------------------------

Comment(by ryandesign@…):

 Ok, I remember the situation now.

 Getting lighttpd 1.4.28 to detect libev 4 is apparently easy. In r84330 I
 committed the same patch gentoo is using. Unfortunately, though this now
 gets us through the configure phase, the build phase now fails for me
 with:

 {{{
 /opt/local/include/ev.h:222: error: expected identifier before numeric
 constant
 }}}

 That's with gcc-4.2; clang provided a much more helpful error which made
 it clear that the EV_ERROR which /opt/local/include/ev.h is trying to
 define is already defined (to a different value) by
 /usr/include/sys/event.h. Somebody else [http://groups.google.com/group
 /kod-app/browse_thread/thread/e44f0d4e4976329f pointed this out] in
 another context. I don't know how to resolve this conflict.

 And 1.4.29 doesn't build, due to openssl / md5 issues. The upstream patch
 for this issue would not apply cleanly to 1.4.29 and it's rather long so I
 didn't pursue trying to generate a new patch by apply it by hand. I also
 suspect that once this issue is solved, we'll be back to the EV_ERROR
 conflict again.

-- 
Ticket URL: <https://trac.macports.org/ticket/31359#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list