Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-19 Thread Bo Berglund
On Fri, 18 Dec 2015 21:48:07 +0100, Mattias Gaertner wrote: >> Should another command be issued in order to get stuff loaded into >> /usr/lib/fpc/3.0.0? > >PREFIX=/usr > Thanks a bunch! I just knew there would be something simple that I had wrong! Now started the

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Koenraad Lelong
Op 17-12-15 om 18:17 schreef Mark Morgan Lloyd: Koenraad Lelong wrote: Op 17-12-15 om 11:36 schreef Mark Morgan Lloyd: $ fpc -iV 3.0.0 # Unpack 1.6RC1, rename directory to lazarus-1.6.0+3.0.0 $ cd lazarus-1.6.0+3.0.0 $ make bigide .. make[1]: Leaving directory ...

[Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Alfred
In my experience, fpres fails also due to lack of memory ! Just increase your swapsize with 500MB, and try again. Saved me many times. (normally, I use cross-compile ... also saves lots of time ... ) -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Mark Morgan Lloyd
Alfred wrote: In my experience, fpres fails also due to lack of memory ! Just increase your swapsize with 500MB, and try again. Saved me many times. (normally, I use cross-compile ... also saves lots of time ... ) Doing just about anything with Lazarus- particularly a (re)build- has required

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Koenraad Lelong
Op 18-12-15 om 11:41 schreef Alfred: In my experience, fpres fails also due to lack of memory ! Just increase your swapsize with 500MB, and try again. Saved me many times. (normally, I use cross-compile ... also saves lots of time ... ) Hi, You seem to be right. I added swap, now I can

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Bo Berglund
On Thu, 17 Dec 2015 00:52:40 +0100, Mattias Gaertner wrote: >process.ppu is part of every FPC install. >It must be in the -Fu search path of your /etc/fpc.cfg. >From the fpc.cfg file (actually symlinked to fpc-2.6.4.cfg): # searchpath for units and other system

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Mattias Gaertner
On Fri, 18 Dec 2015 21:30:39 +0100 Bo Berglund wrote: >[...] > # searchpath for units and other system dependent things > -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget >[...] > sudo make install OPT=-dFPC_ARMHF PREFIX=/usr/local >[...] > Should another command be issued in

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-17 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Wed, 16 Dec 2015 22:48:02 +0100 Bo Berglund wrote: [...] Fatal: (10022) Can't find unit process used by RegisterFCL Does RegisterFCL work differently on Linux x64 than on Linux ARM? No. By the way I found a process.pp file in the fpc

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-17 Thread Koenraad Lelong
Op 17-12-15 om 11:36 schreef Mark Morgan Lloyd: $ fpc -iV 3.0.0 # Unpack 1.6RC1, rename directory to lazarus-1.6.0+3.0.0 $ cd lazarus-1.6.0+3.0.0 $ make bigide .. make[1]: Leaving directory ... lazarus-1.6.0+3.0.0/components/chmhelp/lhelp' The result runs, including on Raspbian Jessie's GTK2.

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-17 Thread Mark Morgan Lloyd
Koenraad Lelong wrote: Op 17-12-15 om 11:36 schreef Mark Morgan Lloyd: $ fpc -iV 3.0.0 # Unpack 1.6RC1, rename directory to lazarus-1.6.0+3.0.0 $ cd lazarus-1.6.0+3.0.0 $ make bigide .. make[1]: Leaving directory ... lazarus-1.6.0+3.0.0/components/chmhelp/lhelp' The result runs, including on

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-17 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: I tried what you said. Lazarus runs indeed, but can't compile a existing project. I get an error stating fpcres could not be found. When I run fpcres on the command-line it starts and gives some output. I also can't compile lazarus itself (e.g. after adding

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-16 Thread Mattias Gaertner
On Wed, 16 Dec 2015 22:48:02 +0100 Bo Berglund wrote: >[...] > >Fatal: (10022) Can't find unit process used by RegisterFCL > > Does RegisterFCL work differently on Linux x64 than on Linux ARM? No. > By the way I found a process.pp file in the fpc 3.0.0 sources: >

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-16 Thread Bo Berglund
On Tue, 15 Dec 2015 21:25:24 +, Mark Morgan Lloyd wrote: > >Also see Lazarus's --pcp= option. Again, I don't think this is the first >time I've pointed you at that. My issue is not really the --pcp option to separate the lazarus configs. I have done so

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Mattias Gaertner
On Tue, 15 Dec 2015 16:40:11 +0100 Bo Berglund wrote: > On Tue, 15 Dec 2015 15:35:59 +0100, Mattias Gaertner > wrote: > > >Check if you have /etc/fpc.cfg. > > Yes I have. > In fact I do have several instances of the fpc compiler: > The 2.6.4

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Bo Berglund
On Tue, 15 Dec 2015 17:17:47 +0100, Mattias Gaertner wrote: >> Is there just a single fpc.cfg? > >The compiler searches for a config at several places and stops at the >first hit. > I searched for the cfg files: pi@rpi2-jessie / $ sudo find -name fpc*.cfg

[Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Bo Berglund
I have checked out the lazarus 1.6 RC1 tag from svn. I have also checked out and built the fpc release 3.0.0 and installed it as the fpc compiler on my system. Now I wanted to finally build lazarus 1.6RC1, but this happens: cd ~/development/src/lazarus/1.6.RC1 make bigide make -C

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Tue, 15 Dec 2015 17:17:47 +0100, Mattias Gaertner wrote: Is there just a single fpc.cfg? The compiler searches for a config at several places and stops at the first hit. I searched for the cfg files: pi@rpi2-jessie / $ sudo find -name

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Bo Berglund
On Tue, 15 Dec 2015 10:55:38 +0100, Bo Berglund wrote: >I have checked out the lazarus 1.6 RC1 tag from svn. >I have also checked out and built the fpc release 3.0.0 and installed >it as the fpc compiler on my system. > >Now I wanted to finally build lazarus 1.6RC1, but

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Mattias Gaertner
On Tue, 15 Dec 2015 10:55:38 +0100 Bo Berglund wrote: > I have checked out the lazarus 1.6 RC1 tag from svn. > I have also checked out and built the fpc release 3.0.0 and installed > it as the fpc compiler on my system. > > Now I wanted to finally build lazarus 1.6RC1,

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-15 Thread Bo Berglund
On Tue, 15 Dec 2015 15:35:59 +0100, Mattias Gaertner wrote: >Check if you have /etc/fpc.cfg. Yes I have. In fact I do have several instances of the fpc compiler: The 2.6.4 bootstrap compiler The 3.0.0 compiler I just built from the release sources The 3.1.1 compiler