Texture, script, add-on installer?

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Texture, script, add-on installer?

Post #21by John Van Vliet » 04.07.2011, 17:09

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 07:29, edited 1 time in total.

Osprey
Posts: 14
Joined: 09.09.2008
With us: 16 years 2 months

Re: Texture, script, add-on installer?

Post #22by Osprey » 04.07.2011, 19:36

$ wish8.5 celpkgk.tcl
Error in startup script: can't find package BWidget
while executing
"package require BWidget"
(file "celpkgk.tcl" line 12)

You need BWidget which is part of tcllib in linux (Ubuntu) as I remember and separate part in FreeBSD (x11-toolkits/bwidget) but no in macports?). You may install it:

Code: Select all

download BWidget from
http://sourceforge.net/project/showfiles.php?group_id=12883
once you get the archive BWidget-1.9.0.tar.gz or other, move it to /usr/local/lib
and install it with

sudo mv /some_download_path/BWidget-1.9.0.tar.gz /usr/local/lib
cd /usr/loca/lib
sudo tar zxf BWidget-1.9.0.tar.gz


john Van Vliet wrote:can it install to two or three locations ? ( i have 3 different instals 1.6.1 gnome2, svn QT4,svn Gnome2 AND a shared "extras" folder on a different drive)
so 4 extras folders with three versions of celestia
and in nonstandard locations like a NFS drive ?

and will it work in different versions of tk
fedora 15 and RHEL6 or "Debain stable" will have VERY different versions

Here is "profiles". Default is created when first run with root data dir "~/sync/celpkg/" you can create other profiles with other location, NSF must be not problem for celpkg, only one moment, for fast installs I recommended make "Work directory" in one mount point with "root dir", because extracted files in work dir are moved not copied, it make install more faster. To select and reconfigure profiles run "celpkgk.tcl --configure" (for windows here is link in start ->menu).

You can make link in your root dir to your test binary like "ln -s ~/celestia/trunk/celestia ~/shareddata/celestia" and launch from celpkgk by "C-x C-l" key. You always do "make install"? maybe better just compile and run from build dir with --dir to one datadir? Yes, it will not allow you to find install errors and you will have not actual locale files in your system (I'm about /usr/local/share/locale/XX/LC_MESSAGES/celestia.mo as I know here no way to change locale directory?).
Here no way to create different extras in different drive with celpkg. And you must to know, some add-on require acces to texture directory which is unsharedable for different installs (add-on Generic Dwarf Textures

I use tcl/tk 8.5 and 8.4 (need more tests to make sure 8.4 work without bugs). Tcl/Tk 8.6 not tested.


Return to “Ideas & News”