Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: stargazer55 on May 18, 2011, 11:09:24 AM
-
I have installed TinyCore linux (version 3.6) to a 256 mb memory stick. I can get the operating system to start up successfully and all of the default apps. run correctly. I have configured a 25 mb swap file and after the operating system is installed there is 180 mb of free space left on the memory stick. When I install Stellarium however, the install is successful (including all of the dependencies) but this app does not run. It won't even attempt to start when I click the new icon on the start bar. If I open a terminal window and attempt to run the command "stellarium" I get an error "stellarium: error while loading shared libraries; libGLU.so.1: cannot open shared object files; No such file or directory". I suspect that one of the dependencies (probably the Open GL utility) has a hard-coded path that assumes a different mount point, for example /mnt/hda1/ instead of what happens with a memory stick /mnt/sda1/. In addition, I have attempted to install this app. in a different location in the file system but with the "AppBrowser" the locations I can install to are limited to the /tmp/tce/optional/ directory or the /mnt/sda1/ location.
Any ideas?
-
You need Xorg for 3d. It appears that stellarium does not directly depend on Xorg, nor is it mentioned in the info file though.
-
It is not a good idea to have a swap file on a flash drive.
When it fails, it wail fail completely.
-
First, XOrg gets downloaded as one of the dependencies (XOrg-7.5). Whether XOrg-7.5 supoprts 3D I can't say.
Second, I am not concerned with the O/S crashing. Everything on this pen drive is replaceable. My intent is to see how stripped down a platform I can use to run the O/S and some basic apps and how portable I can make it. If necessary I will remove the swap partition all together (after all your own installation instructions state that a swap partition is 'recommended', not required).
But this still doesn't explain why Stellarium won't start.
I have another Linux platform (Ubuntu version 9.10) that is installed as a virtual machine. I have installed Stellarium version 0.10.2 there and it runs fine but this version for TinyCore (version 0.10.6) won't. I think there's something wrong with the installer and I suspect it is a hard coded path issue with one of the dependent extensions.
Thank you.
-
I just did a quick test with a QEMU VM (using options '-m 160 -vga std', so without any decent VGA adapter). All I had to do was
tce-load -wi Xorg-7.5 libiconv stellarium and restart the X server. Because otherwise (when still operating under the default 'Xvesa' X server) I saw a "This system does not support OpenGL" message box.
So it seems that two additions to the 'stellarium.tcz.dep' file are required and maybe a hint in the 'stellarium.tcz.info' file that the 'Xorg' X server needs to run.
BTW, running such an app in a gutless VM might not be a good idea (but I kind of knew that already) ...
-
It is not a good idea to have a swap file on a flash drive.
When it fails, it wail fail completely.
Having a dedicated flash drive for swap only could be an approach to avoid increased risk of data loss.
-
Talking about risk writing to flash is there any real figure? I'm using USB sticks intensively, there are few rather olds but never had any issue with them. I had to throw away fey cheap gift sticks but they were dead totally.
Running a system with an unrealibly swap storage is also risky, so do not see any advantage.