[MacPorts] #32714: policykit: error: glib-unix.h: No such file or directory

MacPorts noreply at macports.org
Sun Jan 1 00:50:17 PST 2012


#32714: policykit: error: glib-unix.h: No such file or directory
-------------------------------------+--------------------------------------
 Reporter:  harald@…                 |       Owner:  devans@…           
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  2.0.3              
 Keywords:                           |        Port:  policykit          
-------------------------------------+--------------------------------------

Comment(by harald@…):

 Replying to [comment:1 ryandesign@…]:
 > It means glib-unix.h does not exist. That file is supposed to have been
 provided by the glib2 port, which should be installed on your system,
 since policykit has a library dependency on eggdbus which has a library
 dependency on dbus-glib which has a library dependency on glib2.
 >
 > Is glib2 installed? ("port -v installed glib2")

 it wasn`t

 >
 > What files does it contain? ("port contents glib2")
 >

 at first i seemed empty, needed forced activation.

 > Please clean and try again ("sudo port clean policykit; sudo port
 install policykit"); if it fails again, please attach the main.log file to
 this ticket.

 after that policykit built just fine.

 but- i am surprised by this need for manual intervention. i started with
 building koffice as indicated in the macports wiki, the portfile seems to
 be broken in some minor way.

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


More information about the macports-tickets mailing list