You are not logged in.

#1 2009-09-10 02:16:10

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

[SOLVED] sonata-svn fails during make process

I tried to compile sonata-svn yesterday but got this message during the make process...

mmkeys.override:6:23: error: pygobject.h: No such file or directory
In file included from mmkeys.override:7:
mmkeys/mmkeys.h:23:21: error: gdk/gdk.h: No such file or directory
mmkeys/mmkeys.h:24:22: error: gdk/gdkx.h: No such file or directory
mmkeys/mmkeys.h:26:33: error: gtk/gtktogglebutton.h: No such file or directory
In file included from mmkeys.override:7:
mmkeys/mmkeys.h:43: error: expected specifier-qualifier-list before 'GObject'
mmkeys/mmkeys.h:48: error: expected specifier-qualifier-list before 'GObjectClass'
mmkeys/mmkeys.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmkeys_get_type'
mmkeys.c:30: error: expected ')' before '*' token
mmkeys.c:52: error: 'PyGObject' undeclared here (not in a function)
mmkeys.c:75: error: expected specifier-qualifier-list before 'PyGObject'
mmkeys.c:75: error: expected ',' or ';' before ')' token
error: command 'gcc' failed with exit status 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build sonata-svn package

Can anyone help me to figure out why I'm getting this error? I have pygobject installed as well as gdk libs. Let me know if there is any other information needed to help me out here.
Thanks

Last edited by daedalusman (2009-09-13 19:16:44)

Offline

#2 2009-09-10 08:52:23

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] sonata-svn fails during make process

Just a guess: Do you have gdk-pixbuf installed?

Offline

#3 2009-09-10 14:45:28

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: [SOLVED] sonata-svn fails during make process

Stefan Husmann wrote:

Just a guess: Do you have gdk-pixbuf installed?

No I didn't have it installed, installed it but got the same error message.

Offline

#4 2009-09-10 18:43:23

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] sonata-svn fails during make process

Install pygobject and try again. pygobject.h belongs to that package, which should be added as makedependency.

Offline

#5 2009-09-11 00:57:08

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: [SOLVED] sonata-svn fails during make process

Stefan Husmann wrote:

Install pygobject and try again. pygobject.h belongs to that package, which should be added as makedependency.

Yeah, I had that installed, I tried reinstalling pygobject but I'm still getting the same error message. 

Have any other ideas?

Thanks for the help.

Offline

#6 2009-09-11 03:22:38

isour
Member
Registered: 2009-09-11
Posts: 2

Re: [SOLVED] sonata-svn fails during make process

same problem on ubuntu 9.04
upd. ma hint was http://ubuntuforums.org/showthread.php?t=283572
upd2. but now this problem: No lyrics plug-in enabled.
upd3. https://bugs.launchpad.net/ubuntu/+sour … bug/208855 thx

Last edited by isour (2009-09-11 04:16:57)

Offline

#7 2009-09-13 17:37:08

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: [SOLVED] sonata-svn fails during make process

isour wrote:

same problem on ubuntu 9.04
upd. ma hint was http://ubuntuforums.org/showthread.php?t=283572
upd2. but now this problem: No lyrics plug-in enabled.
upd3. https://bugs.launchpad.net/ubuntu/+sour … bug/208855 thx

That didn't help me out at all, archlinux doesn't have -dev packages and I already had the corresponding arch packages installed.

Man, this is frustrating, I would really like to get this figured out.

Offline

#8 2009-09-13 17:46:47

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] sonata-svn fails during make process

Do you actually have the files mentioned in the error messages?

/usr/include/pygtk-2.0/pygobject.h
/usr/include/gtk-2.0/gdk/gdk.h

Other possibility: Did you change your makepkg.conf? If so, what did you change?

Forgot to say: sonata-svn builds fine here, so I suspect something is wrong on your system.

Offline

#9 2009-09-13 18:55:14

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: [SOLVED] sonata-svn fails during make process

Stefan Husmann wrote:

Do you actually have the files mentioned in the error messages?

/usr/include/pygtk-2.0/pygobject.h
/usr/include/gtk-2.0/gdk/gdk.h

Other possibility: Did you change your makepkg.conf? If so, what did you change?

Forgot to say: sonata-svn builds fine here, so I suspect something is wrong on your system.

I do have those files and have never changed my makepkg.conf file.

Man this is getting annoying. Thanks for the help though, appreciate it.

Offline

#10 2009-09-13 19:16:13

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: [SOLVED] sonata-svn fails during make process

So I was able to find a solution. I installed pkgconfig, ran yaourt -S sonata-svn again and everything worked great. I guess I had never installed base-devel before, the few other packages I've compiled from source worked well without it though. Thanks for the help everyone.

Offline

Board footer

Powered by FluxBB