View Issue Details

IDProjectCategoryView StatusLast Update
0002288SkyChart1-Softwarepublic20-02-16 11:33
Reporteraruangra Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPCOSLinuxOS Version32bit
Product Version4.2 
Summary0002288: Cannot find the data directory when starting up
DescriptionWhen starting Skychart for the first time, the program reports that it cannot find the data directory. See the screenshot.

I confirm that the catalog does exist:
pi@iAstroHub:/usr/share/skychart/cat $ ls
bsc5 gcvs tycho2 wds

Adding --datadir=/usr/share/skychart/cat/ didn't solve the problem.

Thank you.
Steps To ReproduceSteps on RPi4

sudo apt-get install espeak xplanet libchealpix0 libpango1.0-0 libglu1 fpc

wget https://sourceforge.net/projects/libpasastro/files/version_1.1-20/libpasastro_1.1-20_armhf.deb
sudo dpkg -i libpasastro_1.1-20_armhf.deb

wget https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/Lazarus%202.0.6/lazarus-2.0.6.tar.gz
sudo tar -zxf lazarus-2.0.6.tar.gz
cd lazarus
sudo make

sudo ./lazarus
Click...Start IDE
Menu>Package>Install/Uninstall Packages
Install the components pascalscript Printer4Lazarus and TurboPowerIPro
Click...save and rebuild IDE
Click...Continue
wait until the program restarts. Then quit.

cd /home/pi/
wget https://sourceforge.net/projects/skychart/files/1-software/version_4.2.1/skychart-4.2.1-4073-src.tar.xz
sudo tar -xvf skychart-4.2.1-4073-src.tar.xz

cd /home/pi/skychart-4.2.1-4073-src/
sudo ./configure fpc=/usr/lib/arm-linux-gnueabihf/fpc/3.0.4 lazarus=/home/pi/lazarus prefix=/usr
sudo make
sudo make install
skychart
TagsNo tags attached.

Activities

aruangra

20-02-14 20:32

reporter  

2020-02-15.png (761,513 bytes)   
2020-02-15.png (761,513 bytes)   

aruangra

20-02-16 10:59

reporter   ~0006344

The problem was solved. I forgot to run
make install_data

Thanks.

Patrick Chevalley

20-02-16 11:33

administrator   ~0006345

Good you find it.
I keep this separate install for the case someone want to package separately the architecture independent files.

To get the equivalent of the my base package you also need to run:
make install_doc : this download the documentation from the wiki.
make install_nonfree : install the quicksat DOS program to compute satellite pass, probably not work on ARM.

To install the equivalent of the additional stars and DSO catalogs:
make install_cat1 : the stars catalogs
make install_cat2 : the DSO catalogs
make install_pict : the object pictures

Issue History

Date Modified Username Field Change
20-02-14 20:32 aruangra New Issue
20-02-14 20:32 aruangra File Added: 2020-02-15.png
20-02-16 10:59 aruangra Note Added: 0006344
20-02-16 11:33 Patrick Chevalley Assigned To => Patrick Chevalley
20-02-16 11:33 Patrick Chevalley Status new => resolved
20-02-16 11:33 Patrick Chevalley Resolution open => no change required
20-02-16 11:33 Patrick Chevalley Description Updated
20-02-16 11:33 Patrick Chevalley Steps to Reproduce Updated
20-02-16 11:33 Patrick Chevalley Note Added: 0006345