[packagekit] Error in 'make; in gnome-packagekit

Richard Hughes hughsient at gmail.com
Sat Jan 31 14:09:23 PST 2009


On Sat, 2009-01-31 at 22:58 +0530, pranjal pandit wrote:
>  
> the configure step of gnome-packagekit (./autogen.sh
> --prefix=/home/hughsie/.root --enable-tests --enable-gtk-doc)
> functions correctly but proclaims error in make :
>  
> cc1: warnings being treated as errors
> In file included
> from /usr/include/PackageKit/packagekit-glib/packagekit.h:30,
>                  from gpk-common.h:27,
>                  from gpk-application-main.c:38:
> /usr/include/PackageKit/packagekit-glib/pk-client.h:316: error:
> redundant redeclaration of 'pk_client_cancel'
> /usr/include/PackageKit/packagekit-glib/pk-client.h:201: error:
> previous declaration of 'pk_client_cancel' was here
> make[3]: *** [gpk-application-main.o] Error 1
> make[3]: Leaving directory
> `/home/pranjal/packagekit/gnome-packagekit/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/pranjal/packagekit/gnome-packagekit/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pranjal/packagekit/gnome-packagekit'
> make: *** [all] Error 2

You need to use the same version of installed PackageKit (for
libpackagekit) when compiling gnome-packagekit. What's your installed
version of PackageKit?

Richard.





More information about the PackageKit mailing list