Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: nick65go on December 21, 2011, 05:29:11 AM
-
I use core 4.2rc2 on a fresh partition. getflash11 does indeed install flash11, because I can use it and I see it in /tmp/tcloop/flash11. opera-next and firefox8 run OK.
my comment is about flash11.tcz : it is not generated, it is not in /tce/optional
but if I modfy the script genflash11.sh, to remove the -noappend
"sudo mksquashfs pkg/ "$DOWNLOAD_DIR"/flash"$VER".tcz -noappend > /dev/null 2>&1 || exit_red"
this new line works
sudo mksquashfs pkg/ "$DOWNLOAD_DIR"/flash"$VER".tcz || exit_red
but the resulting files are in /optional not in /mnt/sda6/tc4/optional/
btw: /tc4/optional has read and write permisions for tc:staff and AppBrowser works ok.
the /optional/flash11.tcz is root:root for user:group, but .dep and .md5.txt are tc:staff owner.
I can manage to build myself flash11.tcz, but maybe the extension owner wish to correct the script ;)
Anyway, thank you for the script and your effort to maintain it.
-
Ok, I think I know what has happened, I will fix it.
-
Should be good now, try again.
-
thanks Jason, flash11.tcz was created OK, together with dep and md5.txt
One more request, please:
flash11.tcz has root:root owner, but should be tc:staff maybe, to show in appbrowser list for ondemand (and onboot)?
Edit: sorry, I tested with a random selected extension, root:root permissions set, reboot again, and appbrowser seems to know /list that extension anyway for ondemand or onboot. which is good to know.
-
Ok, try again, I added that in.
-
:D Hi new tinycore user here... Sorry if this has been addressed elsewhere. I did a fresh install of tinycore but am having a difficult time installing Flash 11.
I have downloaded GetFlash11 through the app browser and run it from the desktop. However, I seem to be missing the flash11.tcz file and do not know where to proceed.
Strangely, I am able to watch youtube videos but any other flash application brings up the adobe download link.
Am I missing something obvious? i do not see flash11 in the tmp/tcloop/ folder as stated earlier in this post.
-
Same here. Run getflash11 and there is a terminal window that flashes then goes away....
-
Hi flyinghamster
GetfFlash only gets and packages the flash extension, it does not load it. Check your tce/optional directory to see if
it's there. If not, open a terminal and enter sudo find / -iname *flash*.tcz to find it, then copy the tcz, md5, and dep
files to tce/optional. Now open AppsAudit and add the flash extension to onboot. Reboot and flash should now
work.
-
After downloading and running GetFlash11, there still seems to be no resultant output. Just like teraflopb, terminal window flash and then nothing. The expected folder /optional does not contain anything additional, and using the search query you gave me comes up only with the result for the GetFlash11.tcz
Unfortunately I believe the retrieval and packaging of the extension may be the problem.
Is it worth trying to use GetFlash11? Is there a good method to manually install Flash from the Adobe tarball?
-
Hi flyinghamster
It's possible that Adobe put out a new version of flashplayer. I think Jason W once mentioned that every time that
happens it breaks the GetFlash extension. At any rate, I suggest waiting for Jason to weigh in on this topic, he
knows a lot more about it than I do,
-
well thanks for your patience! i know that keeping up with download links is not exactly on the top of everyone's development list ;) i will check back though for any updates
-
Hi flyinghamster
If Jason doesn't respond to this thread in a couple of days, PM him with a link to this thread.
-
Hello flyinghamster,
The present version of "getFlash11.sh" seems to work if you run it in a terminal window. At least it did update Flash on my system. If I ran it from the desktop, I got the results that you indicated above, & Flash wasn't updated. You probably understand about loading getFlash11.sh & running it in a terminal window. If not, please send me a personal message, & I'll give you what works for me.
Take care.
ljk
-
I see the issue, the startup script calls on /opt/.tce_dir for the tce directory.
Since robc has done the latest update and hopefully would like to maintain it, I will give him a chance first before I correct it though it is a simple correction.
-
For a temporary fix:
echo "/etc/sysconfig/tcedir" > /opt/.tce_dir
-
Hi FlyingHampster,
I empathize with your difficulties in getting flash to work well. I think almost everyone is having similar problems, which is why Steve Jobs wrote what he did about Apple and Adobe Flash (http://www.apple.com/hotnews/thoughts-on-flash/).
I'm a big fan of Tiny Core Linux, but even this great OS sometimes bogs down under the huge CPU requirements of the latest versions of Flash. Here, for example, is a direct quote from the official TC FAQ page:
How to get flash working?
Short answer: see the getFlash9.tcz extension.
Long answer:
Flash 10 has such steep requirements, it is not supported on TC. The last working version was 10 beta 2, but due to the beta nature of that, using Flash 9 is recommended.
Don't use Adobe's installer, copy libflashplayer.so yourself to your browser's plugin folder.
To have sound in Flash using OSS, you need to copy libflashsupport (included in OSS.tcz) to both /usr/lib and your browser's plugin folder.
There are two variations of the library in /usr/lib/oss/lib, one only enabling OSS sound, the other enabling that and also playing flash over SSL. You need OpenSSL for the second library.
Depending on if you have OpenSSL loaded and need to use flash over SSL, pick one of the libs, and copy it to both /usr/lib and your browser's plugin folder, and then rename it to libflashsupport.so in both places.
Requirements: Flash 9 requires GTK+-2.
The only problem with that is that Flash9 has security problems, is no longer available for download, and often won't play the latest Flash material anyway.
Like you, I have had trouble lately with getFlash10 (and getFlash11)--though I assume the problem was just a function of the way I have installed TC 3.8.2 on my system. I do have Flash10.3 installed and working--and it works pretty well for most content.
However, Flash10 does push the CPU on my Eee900 to its absolute limit, sometimes causes crashes, and often tortures the hard drive. This is not the fault of TC3.8.2 so much as it is the fault of Adobe Flash as implemented in virtually all versions of Linux.
-
Thanks to everyone for all your help!! :D
I had given up on the script for the time being and spent the last few hours manually installing flash from the tar. After several walkthroughs were unsuccessful, I tried copy/pasting the .so file to the hidden /home/tc/.mozilla/plugins folder and voila !! It works! ;D
This has definitely been a crash course in linux file systems for me! 8)
-
When I rebooted after updating to TCL 4.4, I found that getflash11 no longer appeared in the applications menu. Further checking showed some missing dependencies. I downloaded these and now getflash11 does appear in the applications menu. However clicking on it just causes a quick flicker and does not open a terminal or appear to start a process. My current flash11 still works though which suggests that getflash11 isn't doing much of anything. Not sure if this is a bug or if it's because flash is already installed...
-
Since getflash11 is one of the most universally used extensions, I am going to revert it to it's previously working state while we wait on a correction from robc.
-
I have uploaded the previous getFlash11 but with fetching the latest flash.
I did not alter the info file as this is temporary to see what robc wants to do with it.
-
I'll fix it tonight
-
fixed
the install script did check /opt/.tce_dir for the tce directory, that has been fixed
the desktop file had a typo in the exec so the script was not running. That is why the aterm window would open then close immediately
-
getflash10 is also in the 4x repo and fails to create flash10.tcz
is this script also in need of the same fix?
-
I think it just needs to be removed, folks who want flash 10 will need to download it manually.
-
i cant/dont realy disagree but when getflash11 tcz/scm failed to load flash
(and before i was clued up to .tce_dir changes)
::) i headed straight for getflash10
-
Here is what I will do. I will remove getFlash10.tcz to avoid confusion since it is broken. Anyone interested in taking it up can contact me and I will send them a copy.
-
now i do not even know which i have getFlash11
old or fixed old or it is fixed new :)
because i also have a couple remarks
for example about adding getFlash11.tcz
to onboot.lst without checking bootcode
wondering which version i see it?
p.s.
grep flash$VER.tcz $TCEDIR/onboot.lst > /dev/null 2>&1 || echo "flash"$VER".tcz" >> $TCEDIR/onboot.lst
vs
ONBOOTNAME=`getbootparam lst 2>/dev/null`
[ "$ONBOOTNAME" ] || ONBOOTNAME="onboot.lst"
TCEDIR=${TCEDIR%/optional}
grep flash$VER.tcz $TCEDIR/$ONBOOTNAME >/dev/null 2>&1 || echo "flash$VER.tcz" >> $TCEDIR/$ONBOOTNAME
-
or here's another mentioned
why in the script /usr/local/tce.installed/getFlash11
red marked code is present?
if [ ! -f "$TCEDIR"/optional/flash11.tcz ]; then
if pgrep X >/dev/null; then
su "$THISUSER" -c 'aterm -T "Download, Setup, and Create flash11.tcz" -e /usr/local/bin/getFlash11.sh'
else
su "$THISUSER" -c 'getFlash11.sh'
fi
fi
that is if i already have installed flash11.tcz
and uninstalled or removed getFlash11.tcz from onboot list
if i again load getFlash11.tcz to update flash11.tcz
nothing will happen?
-
It is a test to see if this is first time getFlash11 has ran. That code is from the tcz install script which only runs right after the extension is installed. The install script is not meant to be ran manually. This is to prevent an unwanted update of your flash11 extension if you have a specific version that you want to use.
If you already have flash11.tcz then you will need to run the update script directly, either through the cli or the wm menu.
why would you add getFlash11 to your onboot list?
-
It is a test to see if this is first time getFlash11 has ran. That code is from the tcz install script which only runs right after the extension is installed. The install script is not meant to be ran manually. This is to prevent an unwanted update of your flash11 extension if you have a specific version that you want to use.
test of whether i have installed some specific flash version was held in the old version in the script /usr/local/bin/getFlash11.sh
was asked question to which needed to answer yes or no
and it was correctly
If you already have flash11.tcz then you will need to run the update script directly, either through the cli or the wm menu.
if i already have specific version of flash11.tcz and mistakenly run the update script directly then there will be no check and no questions raised to prevent an unwanted update of my flash11 extension
why would you add getFlash11 to your onboot list?
sorry, i mistakenly wrote the getFlash11.tcz instead of flash11.tcz but you have to look at the code below
if you setup your bootloader isolinux or grub4dos etc to start tinycore with bootcode lst=myonboot.lst in which onboot list will get flash11.tcz record?
reminding
grep flash$VER.tcz $TCEDIR/onboot.lst > /dev/null 2>&1 || echo "flash"$VER".tcz" >> $TCEDIR/onboot.lst
vs
ONBOOTNAME=`getbootparam lst 2>/dev/null`
[ "$ONBOOTNAME" ] || ONBOOTNAME="onboot.lst"
TCEDIR=${TCEDIR%/optional}
grep flash$VER.tcz $TCEDIR/$ONBOOTNAME >/dev/null 2>&1 || echo "flash$VER.tcz" >> $TCEDIR/$ONBOOTNAME