View Issue Details

IDProjectCategoryView StatusLast Update
0002286SkyChart3-Documentationpublic20-02-12 16:22
Reporteraruangra Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version32bit
Summary0002286: Error when compiling source on RPi4
DescriptionI got the following error when compiling the source code on RPi4

Compiling pu_config_chart.pas
Compiling fu_config_chart.pas
Assembling fu_config_chart
Assembling pu_config_chart
Compiling pu_config_internet.pas
Compiling fu_config_internet.pas
Assembling fu_config_internet
Assembling pu_config_internet
cdc.lpr(38,33) Fatal: Can't find unit pascalscript used by cdc
Fatal: Compilation aborted
make[1]: *** [Makefile:1321: cdc] Error 1
make[1]: Leaving directory '/home/pi/skychart-4.2.1-4073-src/skychart'
make: *** [Makefile:1572: skychart_all] Error 2


Steps To Reproducesudo apt-get install fpc

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 Printer4Lazarus and TurboPowerIPro
Click...save and rebuild IDE
Click...Continue
wait until the program is restarted. Then quit.

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/local
sudo make
TagsNo tags attached.

Activities

Patrick Chevalley

20-02-12 15:29

administrator   ~0006332

You need to install the "pascalscript" package from Lazarus the same you do for Printer4Lazarus and TurboPowerIPro.

Can you confirm this work and it not need another one so I can update the documentation.

aruangra

20-02-12 16:01

reporter   ~0006334

Thank you, Patrick. It works!

Best regards,
Anat

Patrick Chevalley

20-02-12 16:22

administrator   ~0006335

Thank you, I fixed the documentation:
https://www.ap-i.net/skychart/en/documentation/installation_and_compilation_of_the_source_code#install_lazarus

Issue History

Date Modified Username Field Change
20-02-12 12:09 aruangra New Issue
20-02-12 15:26 Patrick Chevalley Project CCdciel => SkyChart
20-02-12 15:29 Patrick Chevalley Assigned To => Patrick Chevalley
20-02-12 15:29 Patrick Chevalley Status new => feedback
20-02-12 15:29 Patrick Chevalley Category General => 1-Software
20-02-12 15:29 Patrick Chevalley Note Added: 0006332
20-02-12 16:01 aruangra Note Added: 0006334
20-02-12 16:01 aruangra Status feedback => assigned
20-02-12 16:22 Patrick Chevalley Status assigned => resolved
20-02-12 16:22 Patrick Chevalley Resolution open => fixed
20-02-12 16:22 Patrick Chevalley Category 1-Software => 3-Documentation
20-02-12 16:22 Patrick Chevalley Note Added: 0006335