You are not logged in.

#1 2010-10-05 23:38:55

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Error while compiling PackageKit

I have some problems compiling PackageKit (gnome-packagekit-2.32.0)
When I run a ./configure of the source, the following error pops-up and the configure fails.

checking for PACKAGEKIT... no
configure: error: Package requirements (packagekit-glib2 >= 0.5.5) were not met:

No package 'packagekit-glib2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGEKIT_CFLAGS
and PACKAGEKIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Does anyone know a solution?

Offline

#2 2010-10-06 01:34:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: Error while compiling PackageKit

Do you have packagekit-glib2 installed?    I believe there are PKGBUILDs in the AUR.

Offline

#3 2010-10-06 01:40:38

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Error while compiling PackageKit

When I run a ./configure of the source, the following error pops-up and the configure fails.

It sounds like your trying to build it directly rather than from the PKGBUILD in the AUR.

If you haven't already done so read about the AUR then install from there

Offline

#4 2010-10-06 05:04:55

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Re: Error while compiling PackageKit

Now I get the following error:

looking for inter-conflicts...
:: gir-repository and gobject-introspection are in conflict. Remove gobject-introspection? [y/N] 

I can't remove "gobject-introspection", this is needed by other packages.
The install fails. I'm installing with "yaourt"

-- earlier in the ./configure process (before using makepkg or yaourt) I already got this confict sometimes.
Don't know how to fix it! sad

Last edited by Orchard (2010-10-06 05:15:34)

Offline

#5 2010-10-06 05:31:09

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Error while compiling PackageKit

Hmm, it looks like gir-repository has gobject-introspection as a dependency, but gobject-introspection says it's supposed to replace gir-repository. That seems contradictory and could be a packaging error that should be reported to the bug tracker.

Offline

#6 2010-10-06 07:53:04

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Error while compiling PackageKit


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#7 2010-10-06 08:12:50

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Re: Error while compiling PackageKit

Thanks smile! At first, I did not see why that topic could be usefull. But now it proceeds with compiling after editing PKGBUILD and removing the depenency.

But: another error which I do not understand is popping up.

... far in the compiling process:

  GISCAN PackageKitGlib-1.0.gir
Namespace is empty; likely causes are:
* Not including .h files to be scanned
* Broken --identifier-prefix

make[4]: *** [PackageKitGlib-1.0.gir] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-root/aur-packagekit/src/PackageKit-0.6.8/lib/packagekit-glib2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-packagekit/src/PackageKit-0.6.8/lib/packagekit-glib2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-packagekit/src/PackageKit-0.6.8/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-packagekit/src/PackageKit-0.6.8'
make: *** [all] Error 2
    Aborting...
==> ERROR: Makepkg was unable to build packagekit.
==> Restart building packagekit ? [y/N]
==> -----------------------------------

Anyone?
I saw someone make a pastebin (exactly the same), so this error can not be unknown...
http://aur.pastebin.com/WBcqXR61

Last edited by Orchard (2010-10-06 08:41:03)

Offline

#8 2010-10-06 08:53:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error while compiling PackageKit

@Orchard report upstream. is incompatible with gobject-introspection 0.9.10


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-10-06 08:56:18

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Re: Error while compiling PackageKit

wonder wrote:

@Orchard report upstream. is incompatible with gobject-introspection 0.9.10

What do you mean with report upstream?

Offline

#10 2010-10-06 09:07:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error while compiling PackageKit

in fact, it seems to be fixed. just update the PKGBUILD to 0.6.9


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2010-10-06 09:48:04

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Re: Error while compiling PackageKit

wonder wrote:

in fact, it seems to be fixed. just update the PKGBUILD to 0.6.9

Ok. I chose the package "gnome-packagekit-pacman 2.32.0-1" , which is the fixed one smile
After another error, thus removing "pacman-glib" which I probaly picked up during the fails before wink

I get almost the same error, but with some other outcome.

  GISCAN PackageKitGlib-1.0.gir
Namespace is empty; likely causes are:
* Not including .h files to be scanned
* Broken --identifier-prefix

make[4]: *** [PackageKitGlib-1.0.gir] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
    Aborting...
==> ERROR: Makepkg was unable to build packagekit-pacman.

Last edited by Orchard (2010-10-06 09:48:33)

Offline

#12 2010-10-07 10:55:05

Orchard
Member
From: The Netherlands
Registered: 2010-10-05
Posts: 6

Re: Error while compiling PackageKit

Am I doing something wrong? Does anyone know a solution?

Offline

Board footer

Powered by FluxBB