[Lazarus] Lazarus 0.9.30.4RC2 available for download
Andrew Haines
AndrewD207 at aol.com
Wed Mar 14 16:25:17 CET 2012
On 03/14/12 10:59, Koenraad Lelong wrote:
> On 14-03-12 15:12, Bart wrote:
> ...
>>
>> Alternatively just install fpc 2.6.0 and build Lazarus from sources.
>>
>> Bart
>
> Bart,
> I wanted to report my experience with installing the new lazarus, with
> ubuntu 10.04 LTS.
> It's been a while I used lazarus under linux, so I'll have to search for
> a how-to, to make lazarus from sources.
>
This is my process for setting up fpc and lazarus on a new computer
1) I create a folder
mkdir ~/programming
cd ~/programming
2) download and extract a bootstrap compiler from:
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/
yours is probably
wget
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/i386-linux-ppc386.bz2
or
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/x86_64-linux-ppcx64.bz2
tar -jxf ./*.ppc*.bz2
3) download freepascal
3-a) fpc trunk (2.7.1)
svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc
3-b) fpc fixes (2.6.1) basically 2.6.0 with patches that fix bugs found
in 2.6.0
if you would rather use the released fpc then maybe the fixes branch is
what you want:
svn checkout
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/fixes_2_6/ fpc-2.6.1
4) download lazarus
svn checkout http://svn.freepascal.org/svn/lazarus/trunk lazarus
5) compile and install fpc
cd ./fpc
PP=~/programming/ppc386 make all
sudo PP=~/programming/ppc386 make install
6) create and /etc/fpc.cfg file
./utils/fpcmkcfg/fpcmkcfg -o /etc/fpc.cfg
edit /etc/fpc.cfg file and search replace "-Fu/units/" with
"-Fu/usr/local/lib/fpc/$fpcversion/units/"
7) compile lazarus
cd ../lazarus
make all
create a link to lazarus in /usr/bin so you don't have to "install" lazarus
sudo ln -s ~/programming/lazarus/lazarus /usr/bin/
that's it.
For convenience I sometimes link /usr/local/lib/fpc to /usr/lib/fpc
Regards,
Andrew
More information about the Lazarus
mailing list