Opened 13 years ago
Last modified 12 years ago
#32714 closed defect
policykit: error: glib-unix.h: No such file or directory — at Version 1
Reported by: | harald@… | Owned by: | devans@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | policykit |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (1)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | clang/gcc/4.2 removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to devans@… |
Port: | policykit added |
Summary: | policykit 103 fails to build on lion → policykit: error: glib-unix.h: No such file or directory |
Note: See
TracTickets for help on using
tickets.
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")
What files does it contain? ("port contents glib2")
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.