[MacPorts] #20886: libusbi.h:739: error: syntax error before 'nfds_t' on upgrade from port 'libusb'

MacPorts noreply at macports.org
Thu Jun 16 13:20:08 PDT 2011


#20886: libusbi.h:739: error: syntax error before 'nfds_t' on upgrade from port
'libusb'
-----------------------------------+----------------------------------------
  Reporter:  jryan2002de@…         |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  reopened                             
  Priority:  Normal                |   Milestone:                                       
 Component:  ports                 |     Version:  1.8.0                                
Resolution:                        |    Keywords:                                       
      Port:  libusb                |  
-----------------------------------+----------------------------------------

Comment(by gregoire.favre@…):

 Thank for the answer : I did find
 {{{
 /opt/local/include//sys/poll.h
 }}}
 And strangely port provides /opt/local/include//sys/poll.h says it don't
 belongs to any port.
 I renamed it (adding a ".bad" as extension and I restarted my port install
 kile-devel (which need libusb) and it compils perfectly.

 So a hudge thank and I don't have the possibility to close it (I think
 so).

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


More information about the macports-tickets mailing list