![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
kcheckers
NEW! the attached no longer requires fronter - it runs native.
I removed some functionality: No save game -> no keyboard to add a file name and cancel caused a hang no open game -> if no save, why open ![]() no selection of notation font -> don't need and I couldn't figure out how to change the title of the dialog other than that, it seems to work fine. Let me know if you find an issue, OK? original post: I see twobob had this working (with Xephyr??) but I am trying to get this to be a regular extension. I compiled this fine, installed fine, and can run it at the command line. When I run it through KUAL, I get this in the log: Code:
Your Locale: "en_US" Prefix path: /mnt/us/extensions/kcheckers/usr Loading Qt translations failed. Loading KCheckers translations failed. *** glibc detected *** ./usr/kcheckers: free(): invalid next size (fast): 0x000acc70 *** Aborted Last edited by brianinmaine; 10-25-2013 at 05:57 AM. |
![]() |
![]() |
![]() |
#2 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmmm.
Ill have a look. Quote:
maybe you have a stray glib kicking around. Last edited by twobob; 09-30-2013 at 03:53 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
http://cvamshi.wordpress.com/2010/04...ext-size-fast/ says maybe different glibc versions?? I'm don't really know what I'm looking for? /lib/libc.so.6? or /usr/lib/libc.so?? maybe because it's running under fronter?? |
|
![]() |
![]() |
![]() |
#4 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The build you did of pokerTH may have installed the Qt language files, which looks to be what Brian is missing. |
|
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
those qt language files issues don't seem to be a problem as it DOES work fine if I launch it from a command line in an ssh shell. I still see those things, but it runs fine. Using fronter it show other dialogs and allows me to start a harder game or whatever. Works very well. Thought it would be easy to make a button - I guess not
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
launch it from a command line in an ssh shell
Translates to: 'runs fine if run from a login shell' (ssh did a login when you connected.) KUAL only provides another command line shell instance, running under the same user name that it is running under (root). It **DOES NOT** provide a new login as user name root. You get to code that yourself in your script. Points to keep in mind: *) You can always 'switch user' to the user name you already have. *) The default user name for the 'switch user' command is 'root'. so the command (while running as 'root' - which you are) would be: su -l Check if it works from a command line. If it does, it will also work in a script to get a new 'login' shell instance. Don't forget to 'exit' from this new shell when done, if your application does not do so for you. |
![]() |
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Hopes dashed!! I tried your helpful suggestion:
new ssh login, su -l, then extensions/kcheckers/bin/kcheckers.sh still same weird error as above "*** glibc detected *** ./usr/kcheckers: free(): invalid next size (fast)" Seemed like a great idea, I don't know why it doesn't work for me still? |
![]() |
![]() |
![]() |
#8 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
did you switch out the paths like:
export LD_LIBRARY_PATH=/mnt/us/extensions/kcheckers/lib:/usr/lib:/lib ? |
![]() |
![]() |
![]() |
#9 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
you can check your environment by entering: set before and after the su -l (ell) login shells also use different config files (at least bash does, not sure about Amazon Ash). |
|
![]() |
![]() |
![]() |
#10 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
On my list of stuff to dig through then.
|
![]() |
![]() |
![]() |
#12 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
I just tried deleting the whole directory, ripping it fresh from Debian, and tried it again - still same error, but for the: Prefix path: /mnt/us/extensions/kcheckers/usr changing to : /usr It's so FUN to go bug hunting, isn't it? |
|
![]() |
![]() |
![]() |
#13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
like mountain climbing, but without the view
|
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Yaaa! I found this error only comes up if I don't use a newer (wheezy) version of libfreetype.so.6 instead of the kindle version. So now it works fine with FRONTER and a button and everything! Now I'll have to try to do the whole rename titles and recompile stuff like twobob does... a big project for me! But of course now I can play checkers in the meantime
![]() ut oh! it's in QT, not GTK... working version is in first post. Last edited by brianinmaine; 10-08-2013 at 05:59 AM. |
![]() |
![]() |
![]() |
#15 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Nice job, it works!
Even if it doesn't look so good on Kindle PW |
![]() |
![]() |