Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-11

how to build lazarus so that it support fpc2.7.1

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eric Kom

Good day,

Please after build fpc and lazarus from trunk successfully, the build process of lazarus it still using fpc2.6.0 instead of fpc2.7.1. my question is, how can I build lazarus so that it support fpc2.7.1?

See below the build command for lazarus from trunk $make clean bigide install PREFIX=/usr/local/share/fpc2.7/

Thanks

Kind Regards Eric Kom System Administrator - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Mattias Gaertner
to Eric Kom
Show quoted text 7 lines
Good day, Please after build fpc and lazarus from trunk successfully, the build process of lazarus it still using fpc2.6.0 instead of fpc2.7.1. my question is, how can I build lazarus so that it support fpc2.7.1? See below the build command for lazarus from trunk

Pass the compiler with PP:

make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/lib/fpc/2.7.1/ppcx64

And change in the IDE options the compiler.

Mattias

Reply by email

Eric Kom
to Mattias Gaertner
Mattias Gaertner wrote 26 lines
On Sat, 10 Nov 2012 11:52:22 +0200 Eric Kom wrote: > Good day, > > Please after build fpc and lazarus from trunk successfully, the build > process of lazarus it still using fpc2.6.0 instead of fpc2.7.1. my > question is, how can I build lazarus so that it support fpc2.7.1? > > See below the build command for lazarus from trunk Pass the compiler with PP: make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/lib/fpc/2.7.1/ppcx64 And change in the IDE options the compiler. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Thanks a lot,

After ran the above command:

$make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386

I received the above error message Can't find unit system used by fcllaz:

Free Pascal Compiler version 2.7.1 [2012/11/10] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386
Compiling fcllaz.pas
PPU Loading /usr/local/lib/fpc/2.7.1/units/i386-linux/rtl/system.ppu PPU Invalid Version 153
Fatal: Can't find unit system used by fcllaz
Fatal: Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory
`/home/erickom/fpcDev20121110/lazarus/packager/registration' make: *** [registration] Error 2

Kind Regards Eric Kom System Administrator - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Mattias Gaertner
to Eric Kom
Show quoted text 47 lines
On 10/11/2012 12:14, Mattias Gaertner wrote: > On Sat, 10 Nov 2012 11:52:22 +0200 > Eric Kom wrote: > >> Good day, >> >> Please after build fpc and lazarus from trunk successfully, the build >> process of lazarus it still using fpc2.6.0 instead of fpc2.7.1. my >> question is, how can I build lazarus so that it support fpc2.7.1? >> >> See below the build command for lazarus from trunk > Pass the compiler with PP: > > make clean bigide install PREFIX=/usr/local/share/fpc2.7/ > PP=/usr/lib/fpc/2.7.1/ppcx64 > > And change in the IDE options the compiler. > > Mattias > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > Thanks a lot, After ran the above command: $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 I received the above error message Can't find unit system used by fcllaz: Free Pascal Compiler version 2.7.1 [2012/11/10] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386 Compiling fcllaz.pas PPU Loading /usr/local/lib/fpc/2.7.1/units/i386-linux/rtl/system.ppu PPU Invalid Version 153 Fatal: Can't find unit system used by fcllaz Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Error 1 make[1]: Leaving directory `/home/erickom/fpcDev20121110/lazarus/packager/registration' make: *** [registration] Error 2

You have to install fpc in the path defined by your /etc/fpc.cfg - it supports multiple fpc versions - or you have to write a separate config and pass that via the @ flag.

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 5 lines
On Sat, 10 Nov 2012 12:40:57 +0200 Eric Kom wrote: > On 10/11/2012 12:14, Mattias Gaertner wrote: >> On Sat, 10 Nov 2012 11:52:22 +0200 >> Eric Kom wrote:

<snip>

Show quoted text 7 lines
> Thanks a lot, > > After ran the above command: > > $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 > > I received the above error message Can't find unit system used by fcllaz:

<snip>

You have to install fpc in the path defined by your /etc/fpc.cfg - it supports multiple fpc versions - or you have to write a separate config and pass that via the @ flag.

@ Eric: what guide/instructions are you following? Perhaps there are some omissions/unclear bits that need to be fixed in those instructions?

Reply by email

Eric Kom
to Reinier Olislagers
Reinier Olislagers wrote 22 lines
On 10-11-2012 13:10, Mattias Gaertner wrote: > On Sat, 10 Nov 2012 12:40:57 +0200 > Eric Kom wrote: >> On 10/11/2012 12:14, Mattias Gaertner wrote: >>> On Sat, 10 Nov 2012 11:52:22 +0200 >>> Eric Kom wrote: <snip> >> Thanks a lot, >> >> After ran the above command: >> >> $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 >> >> I received the above error message Can't find unit system used by fcllaz: <snip> > You have to install fpc in the path defined by your /etc/fpc.cfg - it > supports multiple fpc versions - or you have to write a separate config > and pass that via the @ flag. @ Eric: what guide/instructions are you following? Perhaps there are some omissions/unclear bits that need to be fixed in those instructions?

Am trying to set /etc/fpc.cfg file as suggested by Mattias.

am using the link as a guide
http://wiki.freepascal.org/Installing_Lazarus

Show quoted text 6 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Kind Regards Eric Kom System Administrator - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Reinier Olislagers
to Eric Kom
Eric Kom wrote 29 lines
On 10/11/2012 14:25, Reinier Olislagers wrote: > On 10-11-2012 13:10, Mattias Gaertner wrote: >> On Sat, 10 Nov 2012 12:40:57 +0200 >> Eric Kom wrote: >>> On 10/11/2012 12:14, Mattias Gaertner wrote: >>>> On Sat, 10 Nov 2012 11:52:22 +0200 >>>> Eric Kom wrote: > <snip> >>> Thanks a lot, >>> >>> After ran the above command: >>> >>> $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ >>> PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 >>> >>> I received the above error message Can't find unit system used by >>> fcllaz: > <snip> >> You have to install fpc in the path defined by your /etc/fpc.cfg - it >> supports multiple fpc versions - or you have to write a separate config >> and pass that via the @ flag. > @ Eric: what guide/instructions are you following? Perhaps there are > some omissions/unclear bits that need to be fixed in those instructions? > Am trying to set /etc/fpc.cfg file as suggested by Mattias. am using the link as a guide http://wiki.freepascal.org/Installing_Lazarus

... and then presumably
2.1.2.2 Up to date source repository using SVN
which contains some instructions to get FPC source from SVN

... and then
2.4 Installing Free Pascal under Linux/BSD manually which seems to leave out any mention of fpc.cfg...

I can imagine you're getting confused.

Reply by email

Eric Kom
to Reinier Olislagers
Reinier Olislagers wrote 36 lines
On 10-11-2012 13:43, Eric Kom wrote: > On 10/11/2012 14:25, Reinier Olislagers wrote: >> On 10-11-2012 13:10, Mattias Gaertner wrote: >>> On Sat, 10 Nov 2012 12:40:57 +0200 >>> Eric Kom wrote: >>>> On 10/11/2012 12:14, Mattias Gaertner wrote: >>>>> On Sat, 10 Nov 2012 11:52:22 +0200 >>>>> Eric Kom wrote: >> <snip> >>>> Thanks a lot, >>>> >>>> After ran the above command: >>>> >>>> $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ >>>> PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 >>>> >>>> I received the above error message Can't find unit system used by >>>> fcllaz: >> <snip> >>> You have to install fpc in the path defined by your /etc/fpc.cfg - it >>> supports multiple fpc versions - or you have to write a separate config >>> and pass that via the @ flag. >> @ Eric: what guide/instructions are you following? Perhaps there are >> some omissions/unclear bits that need to be fixed in those instructions? >> > Am trying to set /etc/fpc.cfg file as suggested by Mattias. > > am using the link as a guide > http://wiki.freepascal.org/Installing_Lazarus ... and then presumably 2.1.2.2 Up to date source repository using SVN which contains some instructions to get FPC source from SVN ... and then 2.4 Installing Free Pascal under Linux/BSD manually which seems to leave out any mention of fpc.cfg...

am new in lazarus and fpc, am trying to compile for trunk so that I can have a SQLdb support for myqsl5.5.

I know that am confusing.

Show quoted text 10 lines
I can imagine you're getting confused. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Kind Regards Eric Kom System Administrator - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Eric Kom
to Eric Kom: Am trying to set /etc/fpc.cfg file as suggested by Mattias. am using the link as a guide…
Eric Kom wrote 37 lines
On 10/11/2012 14:25, Reinier Olislagers wrote: > On 10-11-2012 13:10, Mattias Gaertner wrote: >> On Sat, 10 Nov 2012 12:40:57 +0200 >> Eric Kom wrote: >>> On 10/11/2012 12:14, Mattias Gaertner wrote: >>>> On Sat, 10 Nov 2012 11:52:22 +0200 >>>> Eric Kom wrote: > <snip> >>> Thanks a lot, >>> >>> After ran the above command: >>> >>> $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ >>> PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386 >>> >>> I received the above error message Can't find unit system used by >>> fcllaz: > <snip> >> You have to install fpc in the path defined by your /etc/fpc.cfg - it >> supports multiple fpc versions - or you have to write a separate config >> and pass that via the @ flag. > @ Eric: what guide/instructions are you following? Perhaps there are > some omissions/unclear bits that need to be fixed in those instructions? > Am trying to set /etc/fpc.cfg file as suggested by Mattias. am using the link as a guide http://wiki.freepascal.org/Installing_Lazarus > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Good morning all,

after follow Mattias suggestion regarding the /etc/fpc.cfg file, the compiling process was successfully, want I tried to compile, I received this above fatal error message:

Options changed, recompiling clean with -B
PPU Loading
/home/erickom/fpcDev20121110/lazarus/lcl/units/i386-linux/gtk2/interfaces.ppu PPU Invalid Version 153
project1.lpr(0,0) Fatal: Can not find Interfaces used by Project1, ppu=/home/erickom/fpcDev20121110/lazarus/lcl/units/i386-linux/gtk2/interfaces.ppu, package LCL

Thanks

Kind Regards Eric Kom System Administrator - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Vincent Snijders
to Eric Kom

2012/11/12 Eric Kom

Show quoted text 16 lines
Good morning all, after follow Mattias suggestion regarding the /etc/fpc.cfg file, the compiling process was successfully, want I tried to compile, I received this above fatal error message: Options changed, recompiling clean with -B PPU Loading /home/erickom/fpcDev20121110/**lazarus/lcl/units/i386-linux/** gtk2/interfaces.ppu PPU Invalid Version 153 project1.lpr(0,0) Fatal: Can not find Interfaces used by Project1, ppu=/home/erickom/**fpcDev20121110/lazarus/lcl/**units/i386-linux/gtk2/** interfaces.ppu, package LCL

Too little context, but you compiled the LCL with one version and your project with another.

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121112/9b50b4c7/attachment.html>

Reply by email