install lazarus and/or fpc on Pinebook Pro Manjaro ARM64 ? lazarus / 1-Linux ---------------------------------------------------------------------- dieselnutjob · 2020-07-12 10:04 Hi Yesterday my Pinebook Pro arrived.  By default it runs Manjaro and it has an ARM64 processor. I looked in the package manager and the only package I can find is fpc-src. I am familiar with Windows and Debian (x86) but I know nothing about Manjaro. I asked on the Manjaro forum but no replies yet. Can anyone suggest what the best way forward is? The only ideas I can think of are to cross compile fpc from Windows or x86 Linux, or, to rip the binary files out of a Debian deb file. Debian seems to support fpc 3.0.4 as stable or 3.2 as experimental on ARM64. Any Manjaro experts on here can help? thanks, DNJ ---------------------------------------------------------------------- Leledumbo · 2020-07-12 11:48 I'm not a Manjaro ARM user so package availablility might differ from x86_64. GUI package manager is sometimes misleading, so try asking the package manager: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $ pacman -Ss lazarus If there's one (or two), just install that (sudo pacman -S ), the dependencies should be pulled automatically. ---------------------------------------------------------------------- dbannon · 2020-07-12 12:18 Wild speculation !  Could you download fpc-3.2.0.aarch64-linux.tar from https://sourceforge.net/projects/freepascal/files/Linux/3.2.0/ and install it.  Then download the Lazarus source and build ? Docs about just where the fpc install kits are usable are a bit rare but might be worth a try I'd suggest.  There are instructions for installing FPC from one of these kits here https://wiki.freepascal.org/Installing_the_Free_Pascal_Compiler (and do please keep us informed as to how things panned out.) Davo ---------------------------------------------------------------------- dieselnutjob · 2020-07-12 12:24 Quote from: dbannon on July 12, 2020, 02:18:34 pmWild speculation !  Could you download fpc-3.2.0.aarch64-linux.tar from https://sourceforge.net/projects/freepascal/files/Linux/3.2.0/ and install it.  Then download the Lazarus source and build ? Docs about just where the fpc install kits are usable are a bit rare but might be worth a try I'd suggest.  There are instructions for installing FPC from one of these kits here https://wiki.freepascal.org/Installing_the_Free_Pascal_Compiler (and do please keep us informed as to how things panned out.) Davo yes I came to the same conclusion. out of the box it complained about missing 'as' command.  The Manjaro package 'binutils' fixed that. at least fpc 3.2 works now, so I can probably compile Lazarus from source the thread on Manjaro https://forum.manjaro.org/t/how-to-install-fpc- and-lazarus-on-pinebook-pro-arm-64-bit/152872 ---------------------------------------------------------------------- dieselnutjob · 2020-07-12 12:34 so what is the best way to install Lazarus from source? as the Pinebook Pro is running KDE I suppose the qt variant would make more sense? I don't need the latest bleeding edge version, just something that is stable on top of fpc 3.2 ---------------------------------------------------------------------- dieselnutjob · 2020-07-12 12:37 I guess I just use SVN as described here https://wiki.freepascal.org/Getting_Lazarus ? ---------------------------------------------------------------------- dbannon · 2020-07-13 03:16 https://wiki.freepascal.org/Installing_Lazarus_on_Linux, more specifically https://wiki.freepascal.org/Installing_Lazarus_on_Linux#B uild_Lazarus_from_Source I suggest you go for Lazarus 2.0.10, its only a few days old.  And almost certainly rock solid. Davo ---------------------------------------------------------------------- dieselnutjob · 2020-07-13 08:35 I got 2.1.0 from SVN and it works well. In case anyone else lands here, you need these packages installed first:- binutils make subversion qt5pas fpc-3.2.0.source.tar.gz from https://www.freepascal.org/down/source/sources.html fpc installer from here https://www.freepascal.org/down/aarch64/linux- hungary.html after downloading Lazarus using SVN I used this command Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i make LCL_PLATFORM=qt5 what isn't clear to me is if I should have used the 'bigide' option If someone can answer that then I will write it all up as a wiki page on the Pinebook site. By the way it's a really nice laptop.  The battery life is significantly better than my Lenovo T420s and it's much slimmer and lighter, and it has a nice keyboard. ---------------------------------------------------------------------- dbannon · 2020-07-14 13:14 Quote from: dieselnutjob on July 13, 2020, 10:35:50 amwhat isn't clear to me is if I should have used the 'bigide' option If someone can answer that then I will write it all up as a wiki page on the Pinebook site. By the way it's a really nice laptop.  The battery life is significantly better than my Lenovo T420s and it's much slimmer and lighter, and it has a nice keyboard. bigide will get you some extra tools in the IDE that, personally, I would not be without.  But if you don't need them, why worry ? Your install, including the dependencies you mention, is just another Linux install. Its documented on the page I mentioned and maybe thats where any additional info belongs ?    We do have quite a large collection of pages about specific Linux distros / hardware already, honestly, they are not very helpful unless there is something wildly different about them.  But I would be the last person to discourage anyone from adding documentation ! Davo ---------------------------------------------------------------------- JuhaManninen · 2020-07-14 14:08 Quote from: dieselnutjob on July 13, 2020, 10:35:50 amwhat isn't clear to me is if I should have used the 'bigide' option You can install any package from the "bigide" target yourself using the Install/Uninstall packages window. These are the packages listed in Makefile : Code: [Select]# Options to compile an IDE with a lot of packages BIG_IDE_OPTIONS=-dBigIDE $(DEFAULT_IDE_OPTIONS) \   -Fu../components/synedit/design/units/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/lazcontrols/design/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/rtticontrols/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/cairocanvas/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/printers/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/printers/design/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/tdbf/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/turbopower_ipro/units/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/turbopower_ipro/design/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/fpcunit/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/fpcunit/ide/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/projecttemplates/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/sqldb/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/sdf/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/fpdebug/lib/$(CPU_TARGET)-$(OS_TARGET) \   -Fu../components/lazdebuggers/cmdlinedebuggerbase/lib/$(CPU_TARGET)- $(OS_TARGET) \   -Fu../components/lazdebuggers/lazdebuggerlldb/lib/$(CPU_TARGET)- $(OS_TARGET) \   -Fu../components/lazdebuggers/lazdebuggerfplldb/lib/$(CPU_TARGET)- $(OS_TARGET) \   -Fu../components/lazdebuggers/lazdebuggerfp/lib/$(CPU_TARGET)- $(OS_TARGET) \   -Fu../components/leakview/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/memds/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/tachart/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/todolist/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/datetimectrls/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/datetimectrls/design/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/jcf2/IdePlugin/lazarus/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/chmhelp/packages/help/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/chmhelp/packages/idehelp/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/instantfpc/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/externhelp/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/PascalScript/Source/lib/$(CPU_TARGET)-$(OS_TARGET) \   -Fu../components/macroscript/lib/$(CPU_TARGET)-$(OS_TARGET) \   -Fu../components/lclextensions/lib/$(CPU_TARGET)-$(OS_TARGET)- $(LCL_PLATFORM) \   -Fu../components/virtualtreeview/lib/$(CPU_TARGET)-$(OS_TARGET)- $(LCL_PLATFORM) \   -Fu../components/onlinepackagemanager/lib/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) \   -Fu../components/pas2js/units/$(CPU_TARGET)- $(OS_TARGET)/$(LCL_PLATFORM) QuoteBy the way it's a really nice laptop.  The battery life is significantly better than my Lenovo T420s and it's much slimmer and lighter, and it has a nice keyboard. Interesting machine! And popular, too. Seems to be out of stock now. 2 GB of RAM and 16 GB eMMC are not much though. Is OS installed into the eMMC drive or is it always booted from MicroSD Card? In the latter case 16 GB eMMC could even be enough. Does it have a propeller (fan)? I have a fetich for passively cooled mini-PCs. I know a passively cooled laptop is more difficult to make because its keyboard is embedded and  its top surface cannot work as a heatsink. I wonder if they plan to make localized versions (keyboards) for different languages. ---------------------------------------------------------------------- dieselnutjob · 2020-07-14 14:25 Quote from: JuhaManninen on July 14, 2020, 04:08:49 pmInteresting machine! And popular, too. Seems to be out of stock now. 2 GB of RAM and 16 GB eMMC are not much though. Is OS installed into the eMMC drive or is it always booted from MicroSD Card? In the latter case 16 GB eMMC could even be enough. Does it have a propeller (fan)? I have a fetich for passively cooled mini-PCs. I know a passively cooled laptop is more difficult to make because its keyboard is embedded and  its top surface cannot work as a heatsink. I wonder if they plan to make localized versions (keyboards) for different languages. I think that you were looking at the Pinebook.  I have the Pinebook Pro.  It's significantly nicer and what I would recommend. https://www.pine64.org/pinebook-pro/ 4G RAM and a 64 GB eMMC.  The eMMC is easily swapped for a larger one and you can also buy an adapter for NVMe SSD. Manjaro pre-installed on the 64 GB eMMC. Yesterday I put Debian on an SD card.  If I put the card in, it boots Debian, if not then it boots Manjaro. Totally fanless and silent. The only keyboard choices currently are UK or US. Arrive from Hong Kong a couple of weeks after placing my order, and I had to pay £50 to DHL in import duties but I was expecting that. ---------------------------------------------------------------------- JuhaManninen · 2020-07-14 15:26 I believe Rockchip RK3399 SoC is powerful but the laptop is still fanless. Nice! I always wondered why table computers and laptops need buzzing propellers while tablets and hi-end phones don't. ARM is simpler and apparently makes a difference. ---------------------------------------------------------------------- dieselnutjob · 2020-08-05 01:08 I wrote up the whole thing here https://wiki.pine64.org/index.php?title=Freepascal_and_Lazarus_IDE_on_ Manjaro ---------------------------------------------------------------------- Leledumbo · 2020-08-06 13:17 Quote from: JuhaManninen on July 14, 2020, 05:26:15 pmI believe Rockchip RK3399 SoC is powerful but the laptop is still fanless. Nice! I always wondered why table computers and laptops need buzzing propellers while tablets and hi-end phones don't. ARM is simpler and apparently makes a difference. It's due to x86 legacy. It would be a bad bet with guaranteed lose if somehow x86 makes a breaking revision. Anyway, when ARM gets into the same performance territory, it might need a fan eventually. Perhaps just a smaller one. I have a RK3399 powered Mini PC, it's fanless, but its performance is not stable. Running benchmarks a couple of times will produce differing result every time, with large enough gap between the best and worst due to its old 28nm manufacturing process causing significant thermal throttling. Can't beat the same fanless Intel Celeron N4100 with lower TDP (N4100: 6W, RK3399: 7W), although Intel one can boost up to 20W when both CPU and GPU are stressed to the max.