Hi,
I try to compile from source on ARM, a RasberryPi3, Rasbian. Used FAQ to install dependencies. But run into errors:
root@PA8E:/opt/cqrlog# make
lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
SetPrimaryConfigPath NewValue="/tmp/.lazarus" -> "/tmp/.lazarus"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "compilertest.pas"
Error: File "../images/world_borders.png" not found.
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP" "-Parm" "-Tlinux"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "-Parm" "-Tlinux" "compilertest.pas"
Info: (lazarus) Execute Title="Compile Project, Target: cqrlog"
Info: (lazarus) Working Directory="/opt/cqrlog/src/"
Info: (lazarus) Executable="/usr/bin/fpc"
Info: (lazarus) Param[0]="-MObjFPC"
Info: (lazarus) Param[1]="-Sghi"
Info: (lazarus) Param[2]="-O2"
Info: (lazarus) Param[3]="-gw2"
Info: (lazarus) Param[4]="-godwarfsets"
Info: (lazarus) Param[5]="-gl"
Info: (lazarus) Param[6]="-l"
Info: (lazarus) Param[7]="-vewilbq"
Info: (lazarus) Param[8]="-vn-h-"
Info: (lazarus) Param[9]="-Fl/usr/lib/lazarus/1.6.2/lcl"
Info: (lazarus) Param[10]="-Fl/opt/gnome/lib"
Info: (lazarus) Param[11]="-Fu/opt/cqrlog/src/lnet/lib"
Info: (lazarus) Param[12]="-Fu/opt/cqrlog/src/richmemo"
Info: (lazarus) Param[13]="-Fu/opt/cqrlog/src/richmemo/gtk2"
Info: (lazarus) Param[14]="-Fu/opt/cqrlog/src/synapse"
Info: (lazarus) Param[15]="-Fu/usr/lib/lazarus/1.6.2/components/turbopower_ipro/units/arm-linux/gtk2"
Info: (lazarus) Param[16]="-Fu/usr/lib/lazarus/1.6.2/components/tachart/lib/arm-linux/gtk2"
Info: (lazarus) Param[17]="-Fu/usr/lib/lazarus/1.6.2/components/sqldb/lib/arm-linux/gtk2"
Info: (lazarus) Param[18]="-Fu/usr/lib/lazarus/1.6.2/components/rtticontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[19]="-Fu/usr/lib/lazarus/1.6.2/components/memds/lib/arm-linux/gtk2"
Info: (lazarus) Param[20]="-Fu/usr/lib/lazarus/1.6.2/components/tdbf/lib/arm-linux/gtk2"
Info: (lazarus) Param[21]="-Fu/usr/lib/lazarus/1.6.2/components/printers/lib/arm-linux/gtk2"
Info: (lazarus) Param[22]="-Fu/usr/lib/lazarus/1.6.2/components/ideintf/units/arm-linux/gtk2"
Info: (lazarus) Param[23]="-Fu/usr/lib/lazarus/1.6.2/components/synedit/units/arm-linux/gtk2"
Info: (lazarus) Param[24]="-Fu/usr/lib/lazarus/1.6.2/components/sdf/lib/arm-linux/gtk2"
Info: (lazarus) Param[25]="-Fu/usr/lib/lazarus/1.6.2/components/lazcontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[26]="-Fu/usr/lib/lazarus/1.6.2/components/cairocanvas/lib/arm-linux/gtk2"
Info: (lazarus) Param[27]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux/gtk2"
Info: (lazarus) Param[28]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux"
Info: (lazarus) Param[29]="-Fu/usr/lib/lazarus/1.6.2/components/codetools/units/arm-linux"
Info: (lazarus) Param[30]="-Fu/usr/lib/lazarus/1.6.2/components/lazutils/lib/arm-linux"
Info: (lazarus) Param[31]="-Fu/usr/lib/lazarus/1.6.2/packager/units/arm-linux"
Info: (lazarus) Param[32]="-Fu/opt/cqrlog/src/"
Info: (lazarus) Param[33]="-dLCL"
Info: (lazarus) Param[34]="-dLCLgtk2"
Info: (lazarus) Param[35]="-dNO_CONTEST"
Info: (lazarus) Param[36]="cqrlog.lpr"
Free Pascal Compiler version 3.0.0+dfsg-11+rpi1+deb9u1 [2017/07/27] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling cqrlog.lpr
2 173/1.056 Kb Used
(3104) Compiling fMain.pas
(3104) Compiling dLogUpload.pas
(3104) Compiling dData.pas
100 105.691/110.304 Kb Used
200 105.774/110.304 Kb Used
300 105.923/110.304 Kb Used
(3104) Compiling dUtils.pas
100 109.494/113.632 Kb Used
200 109.667/113.888 Kb Used
(3104) Compiling fEnterFreq.pas
(3104) Compiling fTRXControl.pas
100 111.285/115.680 Kb Used
200 111.356/115.936 Kb Used
(3104) Compiling fNewQSO.pas
(3104) Compiling uCWKeying.pas
(3104) Compiling ./synapse/synaser.pas
100 121.631/127.200 Kb Used
200 121.656/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(232,15) Error: (5000) Identifier not found "B500000"
/opt/cqrlog/src/./synapse/synaser.pas(232,22) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(233,14) Error: (5000) Identifier not found "B576000"
/opt/cqrlog/src/./synapse/synaser.pas(233,21) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(234,14) Error: (5000) Identifier not found "B921600"
/opt/cqrlog/src/./synapse/synaser.pas(234,21) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(235,15) Error: (5000) Identifier not found "B1000000"
/opt/cqrlog/src/./synapse/synaser.pas(235,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(236,15) Error: (5000) Identifier not found "B1152000"
/opt/cqrlog/src/./synapse/synaser.pas(236,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(237,15) Error: (5000) Identifier not found "B1500000"
/opt/cqrlog/src/./synapse/synaser.pas(237,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(238,15) Error: (5000) Identifier not found "B2000000"
/opt/cqrlog/src/./synapse/synaser.pas(238,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(239,15) Error: (5000) Identifier not found "B2500000"
/opt/cqrlog/src/./synapse/synaser.pas(239,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(240,15) Error: (5000) Identifier not found "B3000000"
/opt/cqrlog/src/./synapse/synaser.pas(240,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(241,15) Error: (5000) Identifier not found "B3500000"
/opt/cqrlog/src/./synapse/synaser.pas(241,23) Error: (3203) Illegal expression
/opt/cqrlog/src/./synapse/synaser.pas(242,15) Error: (5000) Identifier not found "B4000000"
/opt/cqrlog/src/./synapse/synaser.pas(242,23) Error: (3203) Illegal expression
300 121.673/127.200 Kb Used
400 121.730/127.200 Kb Used
500 121.780/127.200 Kb Used
600 121.813/127.200 Kb Used
700 121.841/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(747,1) Fatal: (10026) There were 22 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 256
ERROR: failed compiling of project /opt/cqrlog/src/cqrlog.lpi
Makefile:9: recipe for target 'cqrlog' failed
make: *** [cqrlog] Error 2
root@PA8E:/opt/cqrlog# uname -a
Linux PA8E 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
anyone got a hint how to move forward?
Thanks in advance!
HI !
See this message https://www.cqrlog.com/comment/5922#comment-5922
(the first 2 lines of it)
It might help as it seems to be same problem.
--
Saku
OH1KH
--
Saku
OH1KH
Hi Saku,
Thanks for your reply. I don't know if I understand that message correctly, but I deleted the extra Unix baudrates (line 231 - 243), but then I got:
root@PA8E:/opt/cqrlog# make
lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
SetPrimaryConfigPath NewValue="/tmp/.lazarus" -> "/tmp/.lazarus"
CopySecondaryConfigFile /etc/lazarus/environmentoptions.xml -> /tmp/.lazarus/environmentoptions.xml
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "compilertest.pas"
Error: File "../images/world_borders.png" not found.
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP" "-Parm" "-Tlinux"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "-Parm" "-Tlinux" "compilertest.pas"
Info: (lazarus) Execute Title="Compile Project, Target: cqrlog"
Info: (lazarus) Working Directory="/opt/cqrlog/src/"
Info: (lazarus) Executable="/usr/bin/fpc"
Info: (lazarus) Param[0]="-MObjFPC"
Info: (lazarus) Param[1]="-Sghi"
Info: (lazarus) Param[2]="-O2"
Info: (lazarus) Param[3]="-gw2"
Info: (lazarus) Param[4]="-godwarfsets"
Info: (lazarus) Param[5]="-gl"
Info: (lazarus) Param[6]="-l"
Info: (lazarus) Param[7]="-vewilbq"
Info: (lazarus) Param[8]="-vn-h-"
Info: (lazarus) Param[9]="-Fl/usr/lib/lazarus/1.6.2/lcl"
Info: (lazarus) Param[10]="-Fl/opt/gnome/lib"
Info: (lazarus) Param[11]="-Fu/opt/cqrlog/src/lnet/lib"
Info: (lazarus) Param[12]="-Fu/opt/cqrlog/src/richmemo"
Info: (lazarus) Param[13]="-Fu/opt/cqrlog/src/richmemo/gtk2"
Info: (lazarus) Param[14]="-Fu/opt/cqrlog/src/synapse"
Info: (lazarus) Param[15]="-Fu/usr/lib/lazarus/1.6.2/components/turbopower_ipro/units/arm-linux/gtk2"
Info: (lazarus) Param[16]="-Fu/usr/lib/lazarus/1.6.2/components/tachart/lib/arm-linux/gtk2"
Info: (lazarus) Param[17]="-Fu/usr/lib/lazarus/1.6.2/components/sqldb/lib/arm-linux/gtk2"
Info: (lazarus) Param[18]="-Fu/usr/lib/lazarus/1.6.2/components/rtticontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[19]="-Fu/usr/lib/lazarus/1.6.2/components/memds/lib/arm-linux/gtk2"
Info: (lazarus) Param[20]="-Fu/usr/lib/lazarus/1.6.2/components/tdbf/lib/arm-linux/gtk2"
Info: (lazarus) Param[21]="-Fu/usr/lib/lazarus/1.6.2/components/printers/lib/arm-linux/gtk2"
Info: (lazarus) Param[22]="-Fu/usr/lib/lazarus/1.6.2/components/ideintf/units/arm-linux/gtk2"
Info: (lazarus) Param[23]="-Fu/usr/lib/lazarus/1.6.2/components/synedit/units/arm-linux/gtk2"
Info: (lazarus) Param[24]="-Fu/usr/lib/lazarus/1.6.2/components/sdf/lib/arm-linux/gtk2"
Info: (lazarus) Param[25]="-Fu/usr/lib/lazarus/1.6.2/components/lazcontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[26]="-Fu/usr/lib/lazarus/1.6.2/components/cairocanvas/lib/arm-linux/gtk2"
Info: (lazarus) Param[27]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux/gtk2"
Info: (lazarus) Param[28]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux"
Info: (lazarus) Param[29]="-Fu/usr/lib/lazarus/1.6.2/components/codetools/units/arm-linux"
Info: (lazarus) Param[30]="-Fu/usr/lib/lazarus/1.6.2/components/lazutils/lib/arm-linux"
Info: (lazarus) Param[31]="-Fu/usr/lib/lazarus/1.6.2/packager/units/arm-linux"
Info: (lazarus) Param[32]="-Fu/opt/cqrlog/src/"
Info: (lazarus) Param[33]="-dLCL"
Info: (lazarus) Param[34]="-dLCLgtk2"
Info: (lazarus) Param[35]="-dNO_CONTEST"
Info: (lazarus) Param[36]="cqrlog.lpr"
Free Pascal Compiler version 3.0.0+dfsg-11+rpi1+deb9u1 [2017/07/27] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling cqrlog.lpr
2 173/1.056 Kb Used
(3104) Compiling fMain.pas
(3104) Compiling dLogUpload.pas
(3104) Compiling dData.pas
100 105.691/110.304 Kb Used
200 105.774/110.304 Kb Used
300 105.923/110.304 Kb Used
(3104) Compiling dUtils.pas
100 109.494/113.632 Kb Used
200 109.667/113.888 Kb Used
(3104) Compiling fEnterFreq.pas
(3104) Compiling fTRXControl.pas
100 111.285/115.680 Kb Used
200 111.356/115.936 Kb Used
(3104) Compiling fNewQSO.pas
(3104) Compiling uCWKeying.pas
(3104) Compiling ./synapse/synaser.pas
100 121.631/127.200 Kb Used
200 121.656/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(232,5) Error: (3285) Expected another 11 array elements
300 121.674/127.200 Kb Used
400 121.738/127.200 Kb Used
500 121.789/127.200 Kb Used
600 121.817/127.200 Kb Used
700 121.841/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(734,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 256
ERROR: failed compiling of project /opt/cqrlog/src/cqrlog.lpi
Makefile:9: recipe for target 'cqrlog' failed
make: *** [cqrlog] Error 2
root@PA8E:/opt/cqrlog# vim synapse/synaser.pas
root@PA8E:/opt/cqrlog# cd src/
root@PA8E:/opt/cqrlog/src# vim synapse/synaser.pas
root@PA8E:/opt/cqrlog/src# vim synapse/synaser.pas
root@PA8E:/opt/cqrlog/src# make
make: *** No targets specified and no makefile found. Stop.
root@PA8E:/opt/cqrlog/src# cd ..
root@PA8E:/opt/cqrlog# make
lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
SetPrimaryConfigPath NewValue="/tmp/.lazarus" -> "/tmp/.lazarus"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "compilertest.pas"
Error: File "../images/world_borders.png" not found.
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP" "-Parm" "-Tlinux"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "-Parm" "-Tlinux" "compilertest.pas"
Info: (lazarus) Execute Title="Compile Project, Target: cqrlog"
Info: (lazarus) Working Directory="/opt/cqrlog/src/"
Info: (lazarus) Executable="/usr/bin/fpc"
Info: (lazarus) Param[0]="-MObjFPC"
Info: (lazarus) Param[1]="-Sghi"
Info: (lazarus) Param[2]="-O2"
Info: (lazarus) Param[3]="-gw2"
Info: (lazarus) Param[4]="-godwarfsets"
Info: (lazarus) Param[5]="-gl"
Info: (lazarus) Param[6]="-l"
Info: (lazarus) Param[7]="-vewilbq"
Info: (lazarus) Param[8]="-vn-h-"
Info: (lazarus) Param[9]="-Fl/usr/lib/lazarus/1.6.2/lcl"
Info: (lazarus) Param[10]="-Fl/opt/gnome/lib"
Info: (lazarus) Param[11]="-Fu/opt/cqrlog/src/lnet/lib"
Info: (lazarus) Param[12]="-Fu/opt/cqrlog/src/richmemo"
Info: (lazarus) Param[13]="-Fu/opt/cqrlog/src/richmemo/gtk2"
Info: (lazarus) Param[14]="-Fu/opt/cqrlog/src/synapse"
Info: (lazarus) Param[15]="-Fu/usr/lib/lazarus/1.6.2/components/turbopower_ipro/units/arm-linux/gtk2"
Info: (lazarus) Param[16]="-Fu/usr/lib/lazarus/1.6.2/components/tachart/lib/arm-linux/gtk2"
Info: (lazarus) Param[17]="-Fu/usr/lib/lazarus/1.6.2/components/sqldb/lib/arm-linux/gtk2"
Info: (lazarus) Param[18]="-Fu/usr/lib/lazarus/1.6.2/components/rtticontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[19]="-Fu/usr/lib/lazarus/1.6.2/components/memds/lib/arm-linux/gtk2"
Info: (lazarus) Param[20]="-Fu/usr/lib/lazarus/1.6.2/components/tdbf/lib/arm-linux/gtk2"
Info: (lazarus) Param[21]="-Fu/usr/lib/lazarus/1.6.2/components/printers/lib/arm-linux/gtk2"
Info: (lazarus) Param[22]="-Fu/usr/lib/lazarus/1.6.2/components/ideintf/units/arm-linux/gtk2"
Info: (lazarus) Param[23]="-Fu/usr/lib/lazarus/1.6.2/components/synedit/units/arm-linux/gtk2"
Info: (lazarus) Param[24]="-Fu/usr/lib/lazarus/1.6.2/components/sdf/lib/arm-linux/gtk2"
Info: (lazarus) Param[25]="-Fu/usr/lib/lazarus/1.6.2/components/lazcontrols/lib/arm-linux/gtk2"
Info: (lazarus) Param[26]="-Fu/usr/lib/lazarus/1.6.2/components/cairocanvas/lib/arm-linux/gtk2"
Info: (lazarus) Param[27]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux/gtk2"
Info: (lazarus) Param[28]="-Fu/usr/lib/lazarus/1.6.2/lcl/units/arm-linux"
Info: (lazarus) Param[29]="-Fu/usr/lib/lazarus/1.6.2/components/codetools/units/arm-linux"
Info: (lazarus) Param[30]="-Fu/usr/lib/lazarus/1.6.2/components/lazutils/lib/arm-linux"
Info: (lazarus) Param[31]="-Fu/usr/lib/lazarus/1.6.2/packager/units/arm-linux"
Info: (lazarus) Param[32]="-Fu/opt/cqrlog/src/"
Info: (lazarus) Param[33]="-dLCL"
Info: (lazarus) Param[34]="-dLCLgtk2"
Info: (lazarus) Param[35]="-dNO_CONTEST"
Info: (lazarus) Param[36]="cqrlog.lpr"
Free Pascal Compiler version 3.0.0+dfsg-11+rpi1+deb9u1 [2017/07/27] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling cqrlog.lpr
2 173/1.056 Kb Used
(3104) Compiling fMain.pas
(3104) Compiling dLogUpload.pas
(3104) Compiling dData.pas
100 105.691/110.304 Kb Used
200 105.774/110.304 Kb Used
300 105.923/110.304 Kb Used
(3104) Compiling dUtils.pas
100 109.494/113.632 Kb Used
200 109.667/113.888 Kb Used
(3104) Compiling fEnterFreq.pas
(3104) Compiling fTRXControl.pas
100 111.285/115.680 Kb Used
200 111.356/115.936 Kb Used
(3104) Compiling fNewQSO.pas
(3104) Compiling uCWKeying.pas
(3104) Compiling ./synapse/synaser.pas
100 121.631/127.200 Kb Used
200 121.656/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(232,5) Error: (3285) Expected another 11 array elements
300 121.674/127.200 Kb Used
400 121.738/127.200 Kb Used
500 121.789/127.200 Kb Used
600 121.817/127.200 Kb Used
700 121.841/127.200 Kb Used
/opt/cqrlog/src/./synapse/synaser.pas(734,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 256
ERROR: failed compiling of project /opt/cqrlog/src/cqrlog.lpi
Makefile:9: recipe for target 'cqrlog' failed
make: *** [cqrlog] Error 2
73 de PA8E, Jim
https://pa8e.nl
HI!
When you removed extra baud rates did you also change baud rate arrays size?
(Value of MaxRates)
Array size and it's content lines (baud rates) must be equal.
const
{$IFDEF UNIX}
{$IFDEF BSD}
MaxRates = 18; //MAC
{$ELSE}
MaxRates = 30; //UNIX
{$ENDIF}
{$ELSE}
MaxRates = 19; //WIN
{$ENDIF}
Rates: array[0..MaxRates, 0..1] of cardinal =
(
(0, B0),
(50, B50),
(75, B75),
--
Saku
OH1KH
--
Saku
OH1KH
Thanks Saku, that fixed it. Compiled without further errors. But with starting cqrlog raises a new error:
root@PA8E:/usr/share# cqrlog --debug=1
[FORMS.PP] ExceptionOccurred
Sender=EReadError
Exception=Error reading scCommon.UseDollarString: Unknown property: "UseDollarString"
Stack trace:
$000AB78C
$000AAB30
$000AABD8
$00275D38
$00275B3C
$0026D548
$000A4A44
$0006DCDC
TApplication.HandleException Error reading scCommon.UseDollarString: Unknown property: "UseDollarString"
Stack trace:
$000AB78C
$000AAB30
$000AABD8
$00275D38
$00275B3C
$0026D548
$000A4A44
$0006DCDC
Closing ini file ...
Hmmz. I see Matthias runs into the same problem. But I don't see a clear fix there :-(
73, Jim
73 de PA8E, Jim
https://pa8e.nl
Fine!
But now you are at point where I can not give any more help as I do not have FPC/Lazarus installed into my old rpi2 so I can not make further tests.
--
Saku
OH1KH
--
Saku
OH1KH
update on this problem:
I tried installing an os that's closer to the development environment but still runs on RasberryPi3: Ubuntu Mate. Tried again to compile from source as specified in the FAQ. Running true the same issue as above. After a successful build and try to start CQRlog I get attached error messages (Error reading scCommon.UseDollarString: Uknown property:"UseDollarString") and it is not possible to start with [ok].
Anyone a clue how to fix this?
File:
73 de PA8E, Jim
https://pa8e.nl
Hi
Just played with old 386 versions of lazarus-ide.
Got that same error with lazarus-ide 1.6.2. Ide must be at least version 1.6.4 to get rid of this error.
Could it be that rasperry's lazarus-ide is too old?
--
Saku
OH1KH
--
Saku
OH1KH
Hi Saku,
I think I know where this is heading: compile FPC and Lazarus from source.... I'm I right?
I found this link which seems a how to for Rasp. Will get into that today.
Thanks in advance!
73 de PA8E, Jim
https://pa8e.nl
Aaaargh, you can't compile the new version without the newest version:
/usr/local/fpc/source# make all OPT=-dFPC_ARMHF
Makefile:2769: *** The only supported starting compiler version is 3.0.4. You are trying to build with 3.0.0.. Stop.
3.0.4 isn't available as package for ARMHF.
I'm stuck in a catch22 here I think.
73 de PA8E, Jim
https://pa8e.nl
Place
*** The only supported starting compiler version is 3.0.4. You are trying to build with 3.0.0
to google. You will find something...
How you think they could make new version if it could only be compiled with new version :)
--
Saku
OH1KH
--
Saku
OH1KH
Hi
It says: 1.6+dfsg-1 ?
73 de PA8E, Jim
https://pa8e.nl
if you start lazarus ide (type lazarus-ide at command window running in X desktop) it should give starting splash picture with 1.6.4 (or bigger) at bottom stripe of image.
Free pascal compiler version
type:
fpc -v
at command window should give error message, but also the version that should be 3.0.2 (or bigger).
--
Saku
OH1KH
--
Saku
OH1KH
# fpc -v
Free Pascal Compiler version 3.0.0+dfsg-2 [2016/01/28] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
File:
73 de PA8E, Jim
https://pa8e.nl
Okay, tried to install binaries of fcp3.0.2. That worked but then Lazarus and fcp are no longer friends. Then tried to compile a new version of Lazarus, hit a bump there.
Resume:
the original version on Ubuntu Mate 16.04 (Xenial) for ARMHF is CQRlog 1.9.1 (via apt). But this version does not work with MariaDB on Xenial. Compile the newest version of CQRlog (2.2.0) needs at least fpc 3.0.2 and Lazarus 1.6.4. But those are not on Xenial (3.0.0 / 1.6.0). Recompile fcp/lazarus on ARMHF leaves me in the woods of many, many errors and a broken link between fcp and lazarus.
I'm kind of stuck here. Is there any way some can compile an ARMHF-package of CQRlog 2.2.0? That would really help me out!
73 de PA8E, Jim
https://pa8e.nl
Sorry Jim!
Can't say any more than "google".
I have an old rpi2 with 80Gb HD as unused. Maybe I should see if it still runs.
--
Saku
OH1KH
--
Saku
OH1KH
Of course Saku!
I really appreciate all the effort you put in!
Thank you very much!
73 de PA8E, Jim
https://pa8e.nl