VectorLinux
July 24, 2014, 04:42:03 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: mypaint would not work, pygtk woudnt compile  (Read 2342 times)
blurymind
Packager
Vectorian
****
Posts: 1082



« on: March 03, 2009, 04:22:46 am »

so here is what i get after starting mypaint:

Code:
RuntimeError: pygtk was not compiled with Numeric Python support
and the brush doesnt touch the canvas..

so i say to myself..mkay,i will recompile it with numpy support (numpy is the package for numeric python- its at the repo)
so i compile it,using a slackbuild for slackware 12.1 and i also try doing it the way i normally do and this is what i get:

Quote
make[2]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/gtk'
Making all in examples
make[2]: Entering directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/examples'
make[2]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/examples'
Making all in tests
make[2]: Entering directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/tests'
Making all in docs
make[2]: Entering directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/docs'
make  all-am
make[3]: Entering directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/docs'
make[3]: *** No rule to make target `/usr/share/gtk-doc/html/pygobject/style.css', needed by `all-am'.  Stop.
make[3]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/docs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blurymind/Packages/pygtk/pygtk-2.12.1'
make: *** [all] Error 2

i try compiling it with prefix=/usr and i get the same...
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #1 on: March 03, 2009, 04:45:02 am »

i recompiled and packaged pygobject.The problem was that previous pygobject package had --disable-docs option...that way pygtk would not compile.I created a new slackbuild and package that fixes that. Now pygtk compiles, i recompiled and repackaged pygtk (it now has numerical support both in package and new slackbuild)  ..I will upload them to my contrib later

Now i only have to figure out how to package my paint,it uses scons..
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #2 on: March 03, 2009, 05:09:06 am »

ok i managed to compile pygtk and i even passed it --enable-numpy ... and still,i get the same error in mypaint
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
rbistolfi
Packager
Vectorian
****
Posts: 2276


« Reply #3 on: March 03, 2009, 06:10:35 am »

Looks like pygtk need to be patched for numpy, I am doing some reading I will post back if I find something.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #4 on: March 03, 2009, 07:25:14 am »

Looks like pygtk need to be patched for numpy, I am doing some reading I will post back if I find something.
thank you
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #5 on: March 08, 2009, 03:49:02 am »

well,after spending a good time on looking for a patch or a way to get around this issue,i decided that i might go to ubuntu or some other distribution that doesnt have that issue. The only painting application for linux wouldnt run on vector linux. This is a show-stopper for me. Sorry guys Roll Eyes

it seems to be a slackware 12.1 related problem as well.I tried using other packages . How in hell do you compile pygtk with numpy support? There is nothing hinted at the configure script.
« Last Edit: March 08, 2009, 01:16:51 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #6 on: March 08, 2009, 01:21:10 pm »

Code:
checking for Numeric/arrayobject.h... no
the stupid configure script doesnt seem to find numpy
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
caitlyn
Packager
Vectorian
****
Posts: 2869


WWW
« Reply #7 on: March 08, 2009, 01:32:11 pm »

There may actually be an easy way for you to get this to work  Grin  Go to the source repository for Ubuntu and see if they have a patch (a .diff file) for pygtk.  If they do then sbbuilder does add an optional (commented out line) in the generated SlackBuild to apply the patch.  Uncomment and adjust that line and try compiling under VL 6 with the Ubuntu patch.  This has actually worked for me for a couple of things.
Logged

eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!