Freecell and macpup 5.2.8 (SOLVED)

Using applications, configuring, problems
Post Reply
Message
Author
Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

Freecell and macpup 5.2.8 (SOLVED)

#1 Post by Mercedes350se »

I have Freecell.pup that I have used for some time in my 3.01 install.

I would, now, like to install it in macpup but I get a pop up message saing that I need "dotpuphandler" and "puppybasic" pet packages.

The pop up also says that I must first run the "PETget package manager (see install icon on desktop). If I click on it I cannot see/find either of those packages.
Last edited by Mercedes350se on Sun 10 Feb 2013, 07:55, edited 2 times in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Forget that one- use this Freecell or Seahaven. Pysolfc's in the repo. Then there's this oddity- W8)W!
Attachments
choose_repos.jpg
(54.73 KiB) Downloaded 752 times

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#3 Post by Mercedes350se »

Thank you.

However after installing the freecell-1.1.tar.bz2 package and starting in the console I get:

sh-4.1# freecell
Application initialization failed: invalid command name "tcl_findLibrary"
Error in startup script: invalid command name "::tcl::tm::UnknownHandler"
while executing
"::tcl::tm::UnknownHandler ::tclPkgUnknown msgcat {}"
("package unknown" script)
invoked from within
"package require msgcat"
(file "/usr/bin/freecell" line 4109)

Which is where (I thinK) I was yesterday with the 3.01 freecell files I copied into macpup.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

You need at least tcl and tk from pacman. I have a lotta libs so, I'm not sure what else you'll have to grab..

After both installations, you'll need to go into /usr/bin and rename the symlink wish-default to >> wish.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

Maybe try downloading, and running with sfs_load, tcl_tk_games.sfs.
Besides freecell it has these other tcl solitaires:

once-in-a-lifetime, tkhearts, tksol, scat, TkSpider
tktk & tktp.

Plus asteroids, tktris, Bubbles, polypuzzle, tkyahtzee,
Collapse, wordjumble, sudoku, Gemgame & tkhangman.

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#6 Post by Mercedes350se »

Great selection of games ....... however ...... no menus or anything comes up on the few I tried so they cannot be played.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

I don't have macpup installed, so am unable to test. However if you've sfs_loaded the tck_tk_games.sfs then all the respective .desktop files should be in /usr/share/applications directory.

So, if you go to /usr/share/applications, & click on freecell.desktop, does it run? If yes, then you can drag the .desktop file onto the macpup desktop & run it from there.

If the answer is no, what response do you get if you run freecell on the commandline?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#8 Post by muggins »

OK, I've downloaded macpup v528 & am running from it now. I see that if I right-click tcl_tk_games.sfs sfs_load isn't offered as an option. So I installed sfs_load-1.9.6.pet, right-clicked the tcl games sfs and....the result you can see in my screenshot.
Attachments
fun-menu.jpg
(68.43 KiB) Downloaded 724 times

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#9 Post by Mercedes350se »

I get all the games in the menu. As I said a nice selection!

If I try to play a game the game starts but only with the outline of the game i.e. no drop down menus/whatever so the game cannot be played.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#10 Post by muggins »

I'm bamboozled! All are working here. I wonder if you have another instance of tcl/tk which is somehow interfering with the games running...what happens if you run freecell in a console & try playing it...any error messages?

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#11 Post by Mercedes350se »

The response to your output request is:

sh-4.1# freecell
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/usr/lib/tcl8.5/tk8.5 /usr/lib/tk8.5 /lib/tk8.5 /usr/library

/usr/lib/tk8.5/tk.tcl: invalid command name "ttk::style"
invalid command name "ttk::style"
while executing
"ttk::style theme settings default {

ttk::style configure "." -borderwidth 1 -background $colors(-frame) -foreground black -troughcolor $colo..."
(in namespace eval "::ttk::theme::default" script line 14)
invoked from within
"namespace eval ttk::theme::default {
variable colors
array set colors {
-frame "#d9d9d9"
-window "#ffffff"
-activebg "#ececec"
-selectbg..."
(file "/usr/lib/tk8.5/ttk/defaults.tcl" line 7)
invoked from within
"source /usr/lib/tk8.5/ttk/defaults.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join $library defaults.tcl]] "
(procedure "ttk::LoadThemes" line 5)
invoked from within
"ttk::LoadThemes"
(file "/usr/lib/tk8.5/ttk/ttk.tcl" line 140)
invoked from within
"source /usr/lib/tk8.5/ttk/ttk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel \#0 [list source $::ttk::library/ttk.tcl]"
invoked from within
"if {$::ttk::library ne ""} {
uplevel \#0 [list source $::ttk::library/ttk.tcl]
}"
(file "/usr/lib/tk8.5/tk.tcl" line 599)
invoked from within
"source /usr/lib/tk8.5/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

I should add that when I ran sudoku (yesterday) from the console there were errors with a file. I simply commented two lines and both sudoku and freecell run albeit not 100% satisfactorily.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#12 Post by muggins »

Mercedes,

the tcl_tk_games.sfs already comes with a tcl/tk environment, (I just modified DaveS's tcl_tk_plus.sfs).

Could you try booting your macpup into RAM, then sfs_load the tcl_tk_games.sfs, then I think it should work OK.

If yes, then you perhaps need to run the package manager & uninstall any other instances of tcl/tk pets.

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#13 Post by Mercedes350se »

muggins wrote:Mercedes, ... Could you try booting your macpup into RAM, then sfs_load the tcl_tk_games.sfs, then I think it should work OK. ...
A step by step how to please. I downloaded tcl_tk_games.sfs to root.

I tried this but

sh-4.1# sfs_load tcl_tk_games.sfs

(gtkdialog3:28354): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.0/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x84c7898'
mount: mounting unionfs on / failed: Invalid argument
sfs_load: fatal:Failed to append '/initrd/pup_ro4' to unionfs.
'/root/tcl_tk_games.sfs' is copied to '/initrd/pup_rw/tmp'.
/usr/sbin/sfs_load: line 191: 29003 Terminated gtkdialog3 -p DIALOG -c > /dev/null

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#14 Post by muggins »

Hello Mercedes,

I just tried booting both Macpup_528.iso, & Macpup_528v2.iso, navigating to the directory where I have tcl_tk_games.sfs, then running:

Code: Select all

sfs_load tcl_tk_games.sfs
and, in both cases, everything works fine. Why this isn't the case with your setup I don't know.

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#15 Post by Mercedes350se »

I did a frugal install of the "vanilla" 5.2.8 and everything works as it should.

I have not bothered to resolve the issue with macpup - I don't particularly like it anyway.

Thank you.

Post Reply