LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2012, 06:33 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
MyPaint requires pygtk compiled with numpy support


I was wondering if anybody has got MyPaint working on Slackware. I couldn't get it to work because apparently the Slackware version of pygtk is compiled without numpy support.

Not sure if the ideal solution is to recompile pygtk, because that might introduce problems for other programs, because pygtk is part of the official package list in Slackware.

I couldn't find any sources for this problem except this: http://slack4dummies.blogspot.in/201...p-by-step.html

I am now on CURRENT but apparently the same pygtk problem exists.

I use MyPaint because I love to draw with my HP Touchsmart and GIMP is not quite as good for pure artwork and realistic brushes.

Any suggestions would be appreciated.

Last edited by vharishankar; 08-06-2012 at 06:37 AM.
 
Old 08-06-2012, 07:23 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,548

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
i think the best solution for now is to install numpy from SBo and recompiled pygtk to support numpy
 
1 members found this post helpful.
Old 08-06-2012, 07:41 AM   #3
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 608

Rep: Reputation: 179Reputation: 179
I agree with Willy, as I've done it myself not long ago.
You can use the pygtk SlackBuild and source tarball from the slackware source/ directory
 
1 members found this post helpful.
Old 08-06-2012, 07:53 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Thanks. Hoping it won't be necessary in the future. But is there a way to bring this issue to the notice of the Slackware team so that future version of pygtk would be compiled with numpy support?

Marking this thread solved.
 
Old 08-06-2012, 08:22 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,548

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
i don't think it's neccessary if numpy is not even included in the official packages.
it *might* be neccessary when numpy gets included someday in the future
 
Old 08-06-2012, 08:33 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Unfortunately I couldn't quite find any good alternative for MyPaint. MyPaint really is one of a kind.

Anyway, for explanation, the reason I'm trying to get the apps I use which work in Debian to also work in Slackware is because I want to be as distribution-independent as possible in the future and keeping more than one distribution around helps me plan my workflow to avoid locking myself into any particular operating system or file format.

In the future, I am also planning to see whether I can replicate all my workflow on Linux on BSD. Sadly lack of hardware driver support for cetain peripherals and devices keeps me back on this count.

My eventual goal is to be as platform independent and OS independent as practical for my computing needs, i.e. I should be able to easily replicate my workflow (computing needs) and applications in whatever OS I can install on my computer. Not sure whether it is achievable or not, but I am conscious of it.
 
Old 08-06-2012, 08:42 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,548

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
yes you can, but there are some limitations if you are using the default packages, because it *may* lack some packages you need to install third party packages, but that's why the SlackBuilds are there. You can grab it and modify it by yourself.
 
Old 08-06-2012, 08:46 AM   #8
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 608

Rep: Reputation: 179Reputation: 179
Well, in this case, pygtk needs no patching and no extra configure flags, as numpy is automatically detected and used if present at configure time
 
Old 08-06-2012, 08:48 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by willysr View Post
yes you can, but there are some limitations if you are using the default packages, because it *may* lack some packages you need to install third party packages, but that's why the SlackBuilds are there. You can grab it and modify it by yourself.
Yes, Slackbuilds are good, though I prefer binary packages, because some compile systems (other than GNU autoconf, make) are requirements not found in the OS base and setting them up is an additional task in the process. For instance, MyPaint uses scons (sigh).

I like Slackware mainly for the init system and the simple configuration. Issues like these are practical difficulties one faces in trying to replicate one's workflow on different OSes and platforms.

Thanks for all the assistance. I will use the SlackBuild for pygtk and see how it goes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
python/numpy on RHEL6.1 - installed RPMS not compiled from source netnix99 Linux - Software 4 07-06-2011 01:30 PM
[SOLVED] pygtk with numeric python support em21701 Slackware 3 02-15-2011 05:54 AM
AuthOptions requires SASL support pikky2006 Linux - Software 0 07-14-2006 12:29 AM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
** JACK requires dynamic load support ArkyMedia Fedora 3 03-07-2005 10:17 AM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration