Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available
On Mon, 18 Feb 2019 00:39:14 +0100, Joe via lazarus wrote: >Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus: >> Joe, you should delete setup.sh, download it again: >> >> Here is the location of the Rasberry Pi setup script: >> >> https://www.getlazarus.org/download/?platform=raspberry >> >> chmod + x setup.sh && ./setup.sh >> >> After that follow the instructions in the terminal. When the script >> completes you will have a menu entry in Raspbian under Programming >> titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately >> you can navigate to the install location and in the lazarus folder run >> lazarus.sh to start Lazarus 2.0 to with the properly configured >> environment. >> >> You should see the Lazarus splash screen with version 2.0 emboldened >> at the bottom. >> > >Anthony, eventually i increased the swap file size from 100 to 1000 MB, >and now your script succeeded. >Thanx -- Joe I just added the following to the top of my own FPC/Lazarus install scipt: # Check swap space since building Lazarus uses lots of resources and swap. Need 1 GB swap. SWAPSPACE=$(free | grep Swap | grep -P -o "[0-9]+" | head -1) if [ "$SWAPSPACE" -lt 100 ]; then echo "Swap space $SWAPSPACE too small! You must set 1 GB swap!" exit 1 fi echo "Swap space $SWAPSPACE OK!" -- Bo Berglund Developer in Sweden -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available
Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus: Joe, you should delete setup.sh, download it again: Here is the location of the Rasberry Pi setup script: https://www.getlazarus.org/download/?platform=raspberry chmod + x setup.sh && ./setup.sh After that follow the instructions in the terminal. When the script completes you will have a menu entry in Raspbian under Programming titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately you can navigate to the install location and in the lazarus folder run lazarus.sh to start Lazarus 2.0 to with the properly configured environment. You should see the Lazarus splash screen with version 2.0 emboldened at the bottom. Anthony, eventually i increased the swap file size from 100 to 1000 MB, and now your script succeeded. Thanx -- Joe -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] How to configure Fppkg in IDE startup dialog with FPC 3.2 ?
Am 16.02.2019 um 20:03 schrieb AlexeyT via lazarus: -I deleted FPC 3.0.4 from Linux x64 OS path (/usr/.) -Instead installed FPC fixes3.2 via FpcUpDeluxe into ~/fpcupdeluxe/fpc IDE after recompiling via FPC 3.2 now asks FPPKG path!! in startup dialog. I cannot solve it. I tried all paths from ~/fpcupdeluxe dir and tried to press [Create new fppkg cfg] (sometimes this btn is enabled but gives no result- "fppkg config is corrupt"). Dialog asks me every time. Yes, the same for me (Laz trunk / fpc trunk, Win10). The "Create new fppkg cfg" button always yields for me an error message "Problem with Fppkg configuration / Failed to create a new Fppkg configuration. You will have to fix the configuration manually or reinstall Free Pascal." Clicking on "Start IDE" afterwards, however, starts Lazarus without any issues. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Makefile error or what else?
Am 17.02.2019 um 17:01 schrieb Bo Berglund via lazarus: So change the swap space to 1GB and retry, chances are it will work. Bo, I changed the swap file size from 100 to 1000 and just got the same error. Anyway - Thank you! Regards -- Joe -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Makefile error or what else?
On Sun, 17 Feb 2019 15:44:46 +0100, Joe via lazarus wrote: >under Raspbian Stretch (current version) on a Pi 3B+, making of Lazarus >2 fails. What's the reason, how to fix? I do not know enough to parse an error dump, but as I have reported here in another hread about building Lazarus 2.0.0 using Fpc 3.0.4 I got it working fine *after* I changed the swap size to 1GB. I had forgotten all about thta in the time since I built Lazarus 1.6 on another RPi. So change the swap space to 1GB and retry, chances are it will work. If you are already using 1GB swap, then disregard this message. The problem is elsewhere. But my build script, which I use on all RPi devices I make, works just fine wity 1GB swap. I wrote it specifically to not forget stuff I need to do to get Fpc/lazarus on to a new RPi unit. But I cannot script the swap space... Is there any way to script a test for swap space so I can display an error in my script and exit if swap is too small? (Not good at bash scripting) -- Bo Berglund Developer in Sweden -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Makefile error or what else?
Hi, under Raspbian Stretch (current version) on a Pi 3B+, making of Lazarus 2 fails. What's the reason, how to fix? Log: Executing: /usr/bin/svn info /home/pi/fpcupdeluxe/lazarus (working dir: ) URL: https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_0 Revision: 60442 Letzter Autor: mattias Letzte geänderte Rev: 60307 Letztes Änderungsdatum: 2019-02-02 21:09:45 +0100 (Sam, 02. Feb 2019) ... fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazarus): Running make all fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazarus): make. Params: FPC=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpc.sh,PP=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppcarm,USESVN2REVISIONINC=0,--directory=.,INSTALL_PREFIX=/home/pi/fpcupdeluxe/lazarus,FPCDIR=/home/pi/fpcupdeluxe/fpcsrc,FPCMAKE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpcmake,PPUMOVE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppumove,OPT=-vw-n-h-l-d-u-t-p-c-,all Executing: make FPC=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpc.sh PP=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppcarm USESVN2REVISIONINC=0 --directory=. INSTALL_PREFIX=/home/pi/fpcupdeluxe/lazarus FPCDIR=/home/pi/fpcupdeluxe/fpcsrc FPCMAKE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/fpcmake PPUMOVE=/home/pi/fpcupdeluxe/fpc/bin/arm-linux/ppumove OPT=-vw-n-h-l-d-u-t-p-c- all (working dir: /home/pi/fpcupdeluxe/lazarus) make: Verzeichnis »/home/pi/fpcupdeluxe/lazarus« wird betreten Makefile:3388: *** Es ist nur ein »else« pro Bedingung erlaubt. Schluss. make: Verzeichnis »/home/pi/fpcupdeluxe/lazarus« wird verlassen fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazarus): make returned error code #512 Regards -- Joe -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus