LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2006, 04:15 PM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
A little help w/compiling PyGtk


I need PyGtk-2 for another prog to work correctly...

When I ./configure --prefix=/usr , heres an odd thing:
Code:
The following modules will be built:

atk
pango
gtk with 2.8 API
gtk.glade

The following modules will NOT be built:

pangocairo
gtk.unixprint
Then, after 'make', I get this error:
Code:
tkmodule.c:33:22: pycairo.h: No such file or directory
gtkmodule.c:34: error: syntax error before '*' token
gtkmodule.c:34: warning: type defaults to `int' in declaration of `Pycairo_CAPI'
gtkmodule.c:34: warning: data definition has no type or storage class
gtkmodule.c: In function `init_pycairo':
gtkmodule.c:182: error: `Pycairo_IMPORT' undeclared (first use in this function)
gtkmodule.c:182: error: (Each undeclared identifier is reported only once
gtkmodule.c:182: error: for each function it appears in.)
make[2]: *** [_gtk_la-gtkmodule.lo] Error 1
make[2]: Leaving directory `/gtktmp/pygtk-2.10.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gtktmp/pygtk-2.10.0'
make: *** [all] Error 2
Ideas?
 
Old 12-15-2006, 04:44 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Do you have pycairo, it's a Python module, installed? It's supposed to be an optional package for PyGTK, but PyGTK may not compile properly if pycairo is not installed.
 
Old 12-15-2006, 06:03 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I have an older release of pyGTK in my repository which does not need separate pygobject and pycairo packages.
But I have built the latest pygtk release now, and have already created the required pycairo and pygobject packages. I shall upload all this shortly to http://www.slackware.com/~alien/slackbuilds/
Please test them and tell me if they work for you.

Eric

Edit: cwwilson721 told me that the packages work.

Last edited by Alien Bob; 12-15-2006 at 06:30 PM.
 
Old 12-16-2006, 07:53 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Yes.

Again, Eric to the rescue...lol

They work fine...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PyGTK sailu_mvn Programming 1 02-28-2005 10:58 PM
Pygtk sailu_mvn Programming 0 02-28-2005 07:34 AM
importerror - pygtk cs-cam Linux - Newbie 5 01-31-2005 07:56 AM
trying to compile pygtk Paxmaster Linux - General 1 11-22-2004 09:18 PM
Trouble compiling PyGTK yeago Linux - Newbie 8 04-21-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration