[packagekit] compiling PackageKit 2.30.2 on Ubuntu Maverick

Daniel Hernandez Bahr dbahr at uci.cu
Wed Oct 20 05:56:49 PDT 2010


Richard,

i am attaching the packagekit-glib2.pc file. 

Hoping it'll help, best regards,

D.H. Bahr

On Wed, 2010-10-20 at 10:46 +0100, Richard Hughes wrote: 
> On 20 October 2010 03:10, Daniel Hernandez Bahr <dbahr at uci.cu> wrote:
> > The first issue was that Ubuntu's packagekit-glib2-dev package installs
> > its contents on
> > /usr/include/PackageKit/packagekit-glib2
> > instead of
> > /usr/include/packagekit-glib2
> > I first tried to symlink but that didn't worked out all that well, so I
> > copied the first into the second
> 
> That won't work, the linker will be wrong.
> 
> >  CCLD   gpk-application
> > gpk-application.o: In function `gpk_application_finalize':
> > .../gnome-packagekit-2.30.2/src/gpk-application.c:4212: undefined
> > reference to `pk_client_get_type'
> > Does anyone recognizes this?? Is there a solution?
> 
> Well, I wish Ubuntu wouldn't patch PackageKit in this way, but anyway.
> Could you please attach /usr/lib*/pkgconfig/packagekit-glib.pc
> 
> Thanks.
> 
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit

-------------- next part --------------
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: packagekit-glib2
Description: PackageKit is a system daemon for installing stuff.
Version: 0.6.8
Requires.private: dbus-1, gthread-2.0
Requires: glib-2.0, gobject-2.0, sqlite3
Libs: -L${libdir} -lpackagekit-glib2
Cflags: -I${includedir}/PackageKit


More information about the PackageKit mailing list