python 2.5.2 slackware 12.2 compatible IDLE GUI

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
moogsydodong
Posts: 81
Joined: Mon 16 Mar 2009, 10:35
Location: Tagum City, Davao del Norte, Mindanao, Philippines

#31 Post by moogsydodong »

hi there neurino,

welcome to puppy...
for compiling apps in puppy see this:
http://www.puppylinux.com/development/compileapps.htm

hope it helps...if you can manage to compile python 2.6.x or python 3.x please post the pet for it I,m learning python and I want to try the latest build
...SHUT UP AND LISTEN!!!...In a battle there is only ONE COMMANDER!!!

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#32 Post by neurino »

Thank, I'll give a try but consider I'm a total newbie in Linux enviornment...

Where can I find devx_430.sfs ???
Not here:
http://distro.ibiblio.org/pub/linux/dis ... modules-4/

the last is devx_421.sfs is it valid anyway?

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

Re: python 2.5.2 slackware 12 compatible IDLE GUI

#33 Post by big_bass »

neurino wrote:

I'm a Python developer so I'd like to have the same packages I have on Windows. I tried the pet above but only the python-2.5.2 installed (and works from console) the other 2 failed.

Thanks for your support
Renzo
the other 2 failed.
Hey Renzo

welcome, there's always a lot of work for developers

failed how? were you missing dependencies?

I first built this on puppy 3.01 then tested on 4.00 and 4.12 versions of puppy

if you are missing any depends let me know you could post the list


if you need a development environment ASAP
you could install an official puppy 4.12 or derivative of 4.12

I just downloaded the three packages and installed them on slaxer-pup 4.12
note: the python pet takes a long time to install because of the dependency checking in petget so be patient but it works


keep me posted I'll be glad to help


Joe
Attachments
python on slaxer-pup.png
(15.72 KiB) Downloaded 2680 times
Last edited by big_bass on Fri 16 Oct 2009, 14:43, edited 2 times in total.

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#34 Post by neurino »

Hi Joe,

thanks for your support,

when I try to install TclTk and libdb I both get the same error from Package Manager:

"Error, package (name of the package) failed to install".
_____________

I have no real urge to use Linux since I already use Windows on my desktop pc for all.
But I put hands on a 256MB ram P4 notebook and was delighted how powerful is Puppy! (and linux in a general meaning)

So I wish I could have a free development station also when I (rarely) travel or to test my apps on linux too.

I posted some of the python packages I often use (forgot matplotlib too!) and I know I won't find 'em all in .pets so if devx_430.sfs is about to come in a week or 2 I'll wait, otherwise I'll consider passing to Puppy 4.12 (or 4.21???)

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#35 Post by neurino »

Hey there,

I stumbled across this page: http://distro.ibiblio.org/pub/linux/dis ... ppy-4.3.1/ and saw pup-431.iso and devx_431.sfs so I'll try to compile python and his packages as soon as I can.

I'll keep you updated...

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#36 Post by big_bass »

neurino wrote:Hey there,

I stumbled across this page: http://distro.ibiblio.org/pub/linux/dis ... ppy-4.3.1/ and saw pup-431.iso and devx_431.sfs so I'll try to compile python and his packages as soon as I can.

I'll keep you updated...
Since you'll compile for a new build of puppy
recompile tcl/ tk to the latest version it will be easier than patching
trying to keep it compatible with the older versions
of puppy that have tcl/ tk pre installed


UPDATED
well, I recompiled everything with the newer versions and patches
I'll upload it tomorrow
Joe

krsmith28p
Posts: 6
Joined: Sat 22 Nov 2008, 16:50

#37 Post by krsmith28p »

I am having a similar problem to neutrino. I am pretty sure I have successfully installed libdb-4.4 and tk/tcl on earlier versions of Puppy, but am getting the same "failed to install this package" message, on 4.3, and on 4.3.1 . Is there a more command line method to do the install that might be more verbose in its error reporting?
Did you upload a newer version, yet bbass? - the directory still lists the date as Dec 08.

I have successfully installed python, wxpython, and also wxglade.
I may have a go at installing tcl/tk from sources, but I know it is a big package, and I am not a bright enough linux user to know what is required to patch it successfully for python.
In case it comes across otherwise - guys, I am really grateful your efforts mean I can get this far!
K

edit - ah, actually I think you are saying the latest version of tcl/tk wont need patching.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#38 Post by big_bass »

krsmith28p wrote:
Did you upload a newer version, yet bbass? - the directory still lists the date as Dec 08.



edit - ah, actually I think you are saying the latest version of tcl/tk wont need patching.

I have recompiled everything from source this time



* I am still working on wxpython
its not needed for python to work but some apps need it
its an add on

the reason for the error is in the changes in petget to PPM
so the packages just need to be reformatted to the appease
the new package management

in fact I by passed all mis-haps with that and built all the latest packages as *tgz's the same format slackware uses
from there you shouldn't have problems I have not tested any of the packages on 430+ but if you want them they are already built here
keep me posted if you need something else


http://www.murga-linux.com/puppy/viewto ... &start=317
http://www.murga-linux.com/puppy/viewto ... &start=318

Joe

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#39 Post by neurino »

I compiled wxPython from source a couple of days ago.

First as a standalone with --prefix in an external drive then, once it worked good, with --prefix=/usr, some trouble but it worked that way too.

Now I'm looking at the standalone folder: 282 MB!!!.

Looking into it I see the lib subfolder contains more than 275MB, I'm a noob but every file in it is repeated 3 times, with the same size and just some extra extension appended like this:

Code: Select all

libwx_gtk2ud-2.8.so           89403KB
libwx_gtk2ud-2.8.so.0        89403KB
libwx_gtk2ud-2.8.so.0.6.0   89403KB
Is it some I messed up in my (numerous) tries or is it normal?

Note: also I made python setup.py install both for python 2.5 and 2.6... double trouble, double the files?

Please help....

ITAmember
Posts: 167
Joined: Sun 13 Sep 2009, 18:50
Location: The middle of a cornfield

#40 Post by ITAmember »

Those first two files are supposed to be symbolic links to the third file. A symbolic link is the linux equivalent of a shortcut in windows. So the first two files should only be a handful of bytes in size. :) If you have no problems with recompiling cd to the source directory and run these commands

Code: Select all

make clean
./configure --prefix=/usr
make
make install DESTDIR=/path/to/some/dir/
/path/to/some/dir is where the installed files should go. In this case after the compile finished you would run

Code: Select all

dir2pet /path/to/some/dir/
to make a pet package.

asl3210
Posts: 1
Joined: Mon 16 Nov 2009, 02:27

#41 Post by asl3210 »

sir why cant i download the python packages on the first page. it is asking for username and password. im very interested with python and i want to use it with my puppy. thanks.

ITAmember
Posts: 167
Joined: Sun 13 Sep 2009, 18:50
Location: The middle of a cornfield

#42 Post by ITAmember »

Username: puppy
Password: linux

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#43 Post by neurino »

ITAmember wrote:Those first two files are supposed to be symbolic links to the third file
but why links to a file in the same folder???

I can recompile but already have a wx dir on a usb key with all the wxwidgets files in it (with bin, lib, share subfolders etc) but after make install the process is not ended, you have to call python setup.py install (with appropriate flags).
That requires as much time as make so I think I cannot use dir2pet like I did when I compiled python itself.

At the moment I'm not bored of the whole compile from source thread.
All I'd like is know how I can get rid of libwx_gtk2ud-2.8.so.0.6.0 90 Megs links

Thank you
Renzo

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#44 Post by charlie6 »

Hi bigbass !
many thanks for those pets
I'd like to install python and wxPython on Puppy4.3.1.
Unfortunatelly, the page 1 links do not work anylonger: I get the following message:

Code: Select all

Cannot read /mnt/w1011/d39/s12/b02d8349/www/puppylinux.asia/tpp/big_bass/.htaccess
Although other puppylinux.asia/tpp/members directories are well reachable ..?
Where could I find those pets?
Thanks in advance for any reply.
Cheers
Charlie

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#45 Post by big_bass »

Hey charlie6

check my post in this thead dated
Posted: Thu Oct 22, 2009 11:12 am

for more info and the links

Joe

Post Reply