WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't install Stellarium when TinyCore runs on a pen drive  (Read 3814 times)

Offline stargazer55

  • Newbie
  • *
  • Posts: 4
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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #1 on: May 18, 2011, 11:29:30 AM »
You need Xorg for 3d. It appears that stellarium does not directly depend on Xorg, nor is it mentioned in the info file though.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #2 on: May 18, 2011, 12:47:09 PM »
It is not a good idea to have a swap file on a flash drive.
When it fails, it wail fail completely.

Offline stargazer55

  • Newbie
  • *
  • Posts: 4
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #3 on: May 18, 2011, 02:54:17 PM »
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.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #4 on: May 18, 2011, 09:42:00 PM »
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) ...

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #5 on: May 18, 2011, 10:23:06 PM »
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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Can't install Stellarium when TinyCore runs on a pen drive
« Reply #6 on: May 19, 2011, 02:12:22 AM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."