[MacPorts] #32714: policykit 103 fails to build on lion

MacPorts noreply at macports.org
Sat Dec 31 12:26:04 PST 2011


#32714: policykit 103 fails to build on lion
-------------------------------------+--------------------------------------
 Reporter:  harald@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.0.3                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 hi,
 seems i found a build error in policykit under osx 10.7.2 / xcode 4.2. i
 tried clang/gcc in all three variations to no avail. see the following
 error message. I`m not very unix savvy, but does it mean that "glib-unix"
 i missing? there is no such package in port...

 n.b. long term goal is to build calligra on osx !->


 main.c:26:23: error: glib-unix.h: No such file or directory
 mv -f .deps/polkitd-gposixsignal.Tpo .deps/polkitd-gposixsignal.Po
 main.c: In function 'main':
 main.c:133: warning: implicit declaration of function 'open'
 main.c:133: warning: nested extern declaration of 'open'
 main.c:133: error: 'O_RDWR' undeclared (first use in this function)
 main.c:133: error: (Each undeclared identifier is reported only once
 main.c:133: error: for each function it appears in.)
 make[3]: *** [polkitd-main.o] Error 1

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


More information about the macports-tickets mailing list