Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not found "Polkit-1.0.gir" #1

Closed
Blackrose opened this issue Aug 13, 2012 · 2 comments
Closed

can not found "Polkit-1.0.gir" #1

Blackrose opened this issue Aug 13, 2012 · 2 comments

Comments

@Blackrose
Copy link

I install mate from source code.My os is fedora14.When i compile mate-polkit package, i got this error
CC libpolkit_gtk_mate_1_la-polkitlockbutton.lo
polkitlockbutton.c: In function 'update_state':
polkitlockbutton.c:683:16: warning: 'text' may be used uninitialized in this function
polkitlockbutton.c:684:16: warning: 'tooltip' may be used uninitialized in this function
polkitlockbutton.c:685:12: warning: 'sensitive' may be used uninitialized in this function
CCLD libpolkit-gtk-mate-1.la
CC example-example.o
CCLD example
/usr/bin/g-ir-scanner -v
--namespace PolkitGtkMate
--strip-prefix=Polkit
--nsversion=1.0
--include=Gtk-2.0
--include=Polkit-1.0
--library=polkit-gtk-mate-1
--output PolkitGtkMate-1.0.gir
--pkg=polkit-gobject-1
--pkg=gtk+-2.0
--libtool=../libtool
-I..
-DPOLKIT_GTK_MATE_COMPILATION
./polkitgtkmate.h
./polkitgtkmatetypes.h
./polkitlockbutton.h \

Couldn't find include 'Polkit-1.0.gir' (search path: ['/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[2]: *** [PolkitGtkMate-1.0.gir] Error 1
make[2]: Leaving directory /home/blackrose/Downloads/MATE/Mate-Desktop-Environment/mate-polkit/polkitgtkmate' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/blackrose/Downloads/MATE/Mate-Desktop-Environment/mate-polkit'
make: *** [all] Error 2

How i resolve this problem? Thank you!

@stefano-k
Copy link
Collaborator

Did you install all build requirements?

BuildRequires: gtk2-devel
BuildRequires: glib2-devel >= 2.25.11
BuildRequires: polkit-devel >= 0.97-1
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: mate-common
BuildRequires: cairo-gobject-devel

@stefano-k
Copy link
Collaborator

News?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants