It is currently Mon May 20, 2013 8:20 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [solved]childsplay
PostPosted: Sat Jan 29, 2011 2:41 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Sun Jul 04, 2010 9:42 am
Posts: 48
Location: U.K and Ghana West Africa
hi

The available package from netpkg is childsplay-0.90.1-i486-50.1

i'm trying to get this going due to possible use of Zenwalk in Schools, Ghana

installed it but pygame window crashed. posted on forum under bugs and got some help in trying
buildpkg and altering version in Zenbuild file at /usr/src/childsplay-0.90.1/

i managed to get another new file but on installing it pygame still crashed. posted problems at
source forge no reply so far.

Another forum member suggested buidling my own package; I just don't feel I know enough!

thus request for help !

ps uname -r bring up kernel info of 2.6.33.4 (zenwalk gnome desktop)

willing to give it a go on buidling a package but need "spoon feeding " reading wiki isn't going to be enough .. well you can see my user name !!!


Last edited by luddite on Sat Feb 19, 2011 6:17 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Sun Jan 30, 2011 12:05 pm 
Experienced Zenwalker
Experienced Zenwalker

Joined: Fri Mar 19, 2010 3:34 am
Posts: 126
Location: Sydney, Australia
I've managed to get childsplay working by rebuilding pygame.
go to /usr/src/pygame-1.8.1/ and run buildpkg.

With this rebuild pygame I was also able to run childsplay-1.5.1 from http://schoolsplay.wikidot.com/website:childsplay
I used
Code:
python setup.py install
rather than building a package because python is a foreign language to me!


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Sun Jan 30, 2011 4:40 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Sun Jul 04, 2010 9:42 am
Posts: 48
Location: U.K and Ghana West Africa
thanks again aurlaent

on trying to build pygame changed zenver in ZENBUILD to 64 got following:

andrew[~]$ cd /usr/src/pygame-1.8.1
andrew[pygame-1.8.1]$ su
Password:
root[pygame-1.8.1]# buildpkg -x
pygame-1.8.1release.tar.gz found in current directory
Setting option norequiredbuilder
Setting option keepdepfile
Setting option noautodotnew
build-pygame.sh has been created
./build-pygame.sh: line 217: cd: /usr/src/pygame-1.8.1/src/pygame-1.8.1release: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
cp: cannot stat `docs': No such file or directory
chmod: cannot access `/usr/src/pygame-1.8.1/pkg/usr/lib/python2.6/site-packages/pygame/freesansbold.ttf': No such file or directory
build() failed.
root[pygame-1.8.1]#

couple of questions the original childsplay-0.90.1 was still in usr/src/childsplay-0.90.1 should i remove it
.. will it conflict with 1.5.1?

on unpacking childsplay-1.5.1 in home folder and running script from home folder "python setup.py install" I noticed there was no sign of any childsplay-1.5.1 folder in /usr/src ..

should i have put unpacked childsplay in folder other than home folder ?


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Mon Jan 31, 2011 12:24 am 
Experienced Zenwalker
Experienced Zenwalker

Joined: Fri Mar 19, 2010 3:34 am
Posts: 126
Location: Sydney, Australia
Here's the package I built http://rapidshare.com/files/445384678/pygame-1.8.1-i486-70.1.txz

Also installing childsplay-1.5.1 that way will not put anything in /usr/src/

I don't know if the 2 childsplay versions will conflict as the new one calls itself childsplay_sp, but it's probably safest to have only one at a time. You can uninstall 1.5.1 with
Code:
python setup.py uninstall


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Wed Feb 02, 2011 6:15 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Sun Jul 04, 2010 9:42 am
Posts: 48
Location: U.K and Ghana West Africa
ok thanks

played around a bit
my libpng in system is libpng-1.4.2
looks like childsplay is running using libpng-1.2.44
could I upgrade libpng in childsplay or I guess could find libpng-1.2.44 from repo & install that ?


output from terminal is :



andrew[childsplay-1.5.1]$ childsplay
libpng warning: Application was compiled with png.h from libpng-1.4.2
libpng warning: Application is running with png.c from libpng-1.2.44
libpng error: Incompatible libpng version in application and library
2011-02-02 18:05:00,544 - schoolsplay.utils - ERROR - Could not load image "/usr/local/share/childsplay_sp/SPData/menu/default/spgdm_back.png"
Couldn't allocate memory for PNG file or incompatible PNG dll
2011-02-02 18:05:00,546 - schoolsplay - ERROR - unhandled exception in toplevel, traceback follows:

Traceback (most recent call last):
File "/usr/local/bin/childsplay", line 132, in <module>
language=LANG)
File "/usr/lib/python2.6/site-packages/childsplay_sp/SPMainCore.py", line 199, in __init__
self.dm = SPDataManager.DataManager(self.spgoodies)
File "/usr/lib/python2.6/site-packages/childsplay_sp/SPDataManager.py", line 92, in __init__
self._start_gdm_greeter(self.cmd_options)# changes self.anonymous when users give no name
File "/usr/lib/python2.6/site-packages/childsplay_sp/SPDataManager.py", line 110, in _start_gdm_greeter
fullscr=self.cmd_options.fullscreen)# returns when user hits login button
File "/usr/lib/python2.6/site-packages/childsplay_sp/SPgdm.py", line 86, in __init__
back = load_image(p)
File "/usr/lib/python2.6/site-packages/childsplay_sp/utils.py", line 337, in load_image
raise MyError('Could not load image "%s"\n %s' % (file, pygame.get_error()))
MyError: : Could not load image "/usr/local/share/childsplay_sp/SPData/menu/default/spgdm_back.png"
Couldn't allocate memory for PNG file or incompatible PNG dll
andrew[childsplay-1.5.1]$


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Thu Feb 03, 2011 12:05 am 
Experienced Zenwalker
Experienced Zenwalker

Joined: Fri Mar 19, 2010 3:34 am
Posts: 126
Location: Sydney, Australia
did you try the pygame package I linked?
It should fix the problem with libpng.


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Fri Feb 04, 2011 3:15 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Sun Jul 04, 2010 9:42 am
Posts: 48
Location: U.K and Ghana West Africa
cannot coonect through to rapidshare ( using usb modem from a not particularly good isp- in fact none of them are good but Glo is coming next few moths)
thats Africa for you !


 Profile Send private message  
 
 Post subject: Re: childsplay
PostPosted: Wed Feb 09, 2011 12:43 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Sun Jul 04, 2010 9:42 am
Posts: 48
Location: U.K and Ghana West Africa
good news

solved \!D/ its working I downloaded pygame-1.9.1 from
http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz

unpacked & ran python setup.py it installed ok and childsplay 1.5.1 is working !

now that its working on my system kernel 2.6.33.4 would their be an "easy" way to create a package
for others using 2.6.33.4 kernel ?


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: