The time now is Thu 23 May 2013, 15:54
All times are UTC - 4 |
| Author |
Message |
bugman

Joined: 20 Dec 2005 Posts: 2131 Location: buffalo commons
|
Posted: Sat 07 Feb 2009, 17:10 Post subject:
linux baseball simulation |
|
netstats baseball is a not-quite-like-strat-o-matic simulator
but it runs in linux, and runs in puppy [at least in 4.12]
i successfully compiled it but am way too lame to make a pet
you can get it here
http://freshmeat.net/projects/nsb/
and here
http://sourceforge.net/projects/nsbb
note that the developers state that they've had problems compiling with gcc versions 4.1.3 and 4.2.1, devx_412 uses 4.2.2 which worked okay for me
|
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4441 Location: Lake Macquarie NSW Australia
|
Posted: Sat 07 Feb 2009, 18:12 Post subject:
Re: linux baseball simulation |
|
| bugman wrote: | i successfully compiled it but am way too lame to make a pet |
Nah, not "lame" bugman; just a little "short" in the gnostic department.
Creating dotpets is easy when you know how.
1. Create a directory with the name of your application as its name - I usually create these in the /root directory so I can quickly return to them without searching.
2. Inside that directory create the whole file system structure your application uses - /usr, /root, /usr/share/applications, /usr/sbin, whatever.
3. Use dir2pet from a terminal to convert the directory to a dotpet file and a file called mydir.pet will result.
OR ... if your tarball is already formatted that way, use tgz2pet to convert it from the CLI. | Code: | | tgz2pet myapp.tar.gz |
Hope that helps
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
|
Back to top
|
|
 |
bugman

Joined: 20 Dec 2005 Posts: 2131 Location: buffalo commons
|
Posted: Sat 07 Feb 2009, 18:18 Post subject:
Re: linux baseball simulation |
|
| WhoDo wrote: | | 2. Inside that directory create the whole file system structure your application uses - /usr, /root, /usr/share/applications, /usr/sbin, whatever. |
by this do you mean that i should copy all the files over? the install scattered stuff everywhere, is there a log?
| WhoDo wrote: | | OR ... if your tarball is already formatted that way, use tgz2pet to convert it from the CLI. |
does that work for a tarball that needs to be compiled?
EDIT to say i think i have got it, i have made either a pet or a 22mb mess, added a startup script and a menu entry and modified the install notes into a read me that is pet-specific, and will upload it for intrepid testers when i have the available time, probably tomorrow morning
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sun 08 Feb 2009, 00:08 Post subject:
|
|
What I usually do when compiling...
./configure
make
Before make install, create a directory with the program name (and version), ie. /root/test/email-3.1.2.
Then do make install DESTDIR=/root/test/email-3.1.2
This will install the files to that location.
A good idea is to "strip" the "executable" file which is usually found in /root/test/email-3.1.2/usr/bin or /root/test/email-3.1.2/usr/local/bin or wherevever.
change to that directory and do strip email.
Then make the .pet
From inside /root/test do dir2pet email-3.1.2
Install the program with the pet. It makes it much easier to remove the file if you ever decide.
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
Last edited by trapster on Sun 08 Feb 2009, 09:35; edited 2 times in total
|
|
Back to top
|
|
 |
bugman

Joined: 20 Dec 2005 Posts: 2131 Location: buffalo commons
|
Posted: Sun 08 Feb 2009, 09:27 Post subject:
|
|
trapster
thanks for the tip, too late for the code way, but i might move all the installed files out of path's way, and install the pet to see if it works
not sure why i didn't think of that myself, fear kills the soul?
bugman [feeling especially buggy this morning]
edit - got a good pet, now i can't access my friend's ftp server to upload it, guessing a 22mb pet not welcome as an attachment, some day this will all be over with . . .
|
|
Back to top
|
|
 |
bugman

Joined: 20 Dec 2005 Posts: 2131 Location: buffalo commons
|
Posted: Thu 12 Feb 2009, 20:37 Post subject:
|
|
well, i have not uploaded the damn thing anywhere yet
on the other hand, no one's asked me about it
so i think it might not be much in demand?
no problem, the app is still early in development and feature-shy and a little buggy, but i might try and help the guy with it [if i can] as i miss strat-o-matic on occasion
i tried making pets of some other things--minbar, a muslim prayer reminder, plus another app [name forgotten] that did the same--also zekr, a koran study tool
sadly they are gnome and kde applets, and dependencies were killing me
[no, i am not a muslim, i just thought they'd be helpful, and no one else has done them as far as i know]
|
|
Back to top
|
|
 |
smil99
Joined: 18 Aug 2007 Posts: 148
|
Posted: Wed 26 Aug 2009, 19:43 Post subject:
zekr installation |
|
Hi bugman,
Just found your post when I searched for zekr.
Well, I tried installing from a deb and I got the following error after the gui attempted to start:
org.eclipse.swt.SWTError: XPCOM error -2147221164
org.eclipse.swt.browser.Mozilla.error(Unknown Source)
org.eclipse.swt.browser.Mozilla.create(Unknown Source)
org.eclipse.swt.browser.Browser.<init>(Unknown Source)
net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:466)
net.sf.zekr.ui.QuranForm.init(QuranForm.java:308)
net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:283)
net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
net.sf.zekr.ZekrMain.main(ZekrMain.java:8
Do you have any clue as to how to resolve this? Alternatively, if you already made a working pet, would you mind making it available for me?
Thanks.
smil99.
|
|
Back to top
|
|
 |
|
|
|
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|