Lazarus - What files do I need to install on Gentoo?
Lazarus - What files do I need to install on Gentoo?
I used to use a free personal edition of Borland Delphi when I was a Windows user. I fancy a go at Pascal on Linux and have read about Lazarus. (Never could get on with C or C++.) It is not available on Portage, to my knowledge. Does anyone know precisely what Lazarus files I need to download to set it up on Linux? It seems like a stupid question but I could not find the answer at their site and I have not yet received a password for their forum to ask there.
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Before use lazarus you must have the fpc (Free Pascal Compiler) installed. It is on portage but you have to ACCEPT_KEYWORDS=~x86.
Once the fpc is installed it is very easy to build lazarus.
Download the latest version and unpack it to a directory (for example ~/lazarus), cd on this directory and run make. Run it with ./lazarus
Lazarus is very simple to install and run, you don't have to be root.
Once the fpc is installed it is very easy to build lazarus.
Download the latest version and unpack it to a directory (for example ~/lazarus), cd on this directory and run make. Run it with ./lazarus
Lazarus is very simple to install and run, you don't have to be root.
Keep Slamming...
Can't compile lazarus
I've just emerged fpc and tried to install lazarus. However, when i type make, I get the following error:
-Fl/usr/kde/3.1/lib -Fl/usr/games/lib -Fl/usr/lib/fltk-1.1 -di386 alllclunits.pp
intfgraphics.pas(34,29) Fatal: Can't find unit FPIMAGE
make[1]: Leaving directory `/usr/share/lazarus/lcl'
-Fl/usr/kde/3.1/lib -Fl/usr/games/lib -Fl/usr/lib/fltk-1.1 -di386 alllclunits.pp
intfgraphics.pas(34,29) Fatal: Can't find unit FPIMAGE
make[1]: Leaving directory `/usr/share/lazarus/lcl'
The lazarus download site, has links to sourceforge downloads where a version of fpc and lazarus (that are matched to each other) are located.
I've been leary of trying it myself. I'm emersed with C++ these days and haven't got time to play with it. But if you go ahead let me know how you made out.
http://www.lazarus.freepascal.org/
I've been leary of trying it myself. I'm emersed with C++ these days and haven't got time to play with it. But if you go ahead let me know how you made out.
http://www.lazarus.freepascal.org/
Well I tried it...
Well I tried it. And I was blown away. I first tried it on XP at work. It seemed very similar to delphi. Right down to Ctrl-Space showing possible tags. The windows install is very easy. (almost as easy as emerge
I then tried downloading it and installing it in Gentoo. I got tripped up a bit because I had previously installed fpc under gentoo, so it went to my /usr/bin directory. Installing it myself (with a newer version of fpc) put it into /usr/local/bin
I had to uninstall the previous version of fpc, and then things went fine.
I tried porting GLScene over to it, but had no luck. I'm not familiar enough with the system to know if it is me or Lazarus that's at fault.
In any case if you are at all interested in Pascal/Delphi/Fast development this project is probably worth looking at.
I then tried downloading it and installing it in Gentoo. I got tripped up a bit because I had previously installed fpc under gentoo, so it went to my /usr/bin directory. Installing it myself (with a newer version of fpc) put it into /usr/local/bin
I had to uninstall the previous version of fpc, and then things went fine.
Code: Select all
Pros:
Very fast compile, Very easy to create an executable, cross platform code. Easy language to learn. Point and click form development.Code: Select all
Cons:
A number of rough edges. If it crashes it crashes fast (no chance to save). It crashes often when adding components to the form. The executables are large (although it might just be my settings).In any case if you are at all interested in Pascal/Delphi/Fast development this project is probably worth looking at.
The ebuilds are in. I've also posted a mini howto on configuration at http://forums.gentoo.org/viewtopic-p-23 ... ml#2373297



