install lazarus on debian from source lazarus / 1-Linux ---------------------------------------------------------------------- Kees Bleijenberg · 2011-12-24 12:51 I run debian in Virtualbox. I work as root. This is what I've done: mkdir ~/programs/lazarus svn checkout http://svn.freepascal.org/svn/fpc/trunk apt-get install fp-compiler then the first problem make  <- unknown command? make all <- this works a half out later I'am back at the prompt. Many warnings but no errors. But where is lazarus, how do I start it ? Not in ~/programs/lazarus If it is not there how do I know what went wrong? Kees ---------------------------------------------------------------------- Blaazen · 2011-12-24 13:03 You downloaded and compiled freepascal compiler (FPC) only. To download Lazarus you need: Code: [Select] svn co http://svn.freepascal.org/svn/lazarus/trunk lazarusFollow wiki: http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_SVN ---------------------------------------------------------------------- IndianaJones · 2011-12-24 16:41 You can search from the repository if you are using Debian, Look at the fpc compiler and source files with the following command and follow the instructions as Blaazen told that. sudo apt-cache search fpc sudo apt-get install fp* ---------------------------------------------------------------------- Kees Bleijenberg · 2011-12-24 19:31 Quote from: Blaazen on December 24, 2011, 02:03:31 pmYou downloaded and compiled freepascal compiler (FPC) only. To download Lazarus you need: Code: [Select] svn co http://svn.freepascal.org/svn/lazarus/trunk lazarusFollow wiki: http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_SVN Of course .... ! I've installed the source as you said. While building lazarus I get the message I need at least FPC version 2.4.2. Apparently 'apt-get install fp-compiler' downloads a old version of the compiler (I have 2.4.0-2) Kees ---------------------------------------------------------------------- IndianaJones · 2011-12-24 19:42 Try Daily Snapshots link, download the deb.tar file and install the new fpc2.4.4 ---------------------------------------------------------------------- TurboRascal · 2012-01-16 16:45 Where did you unpack the source? Have you entered the source directory before running make? How did you specify the target installation directory to make? Maybe some of these questions seem superfluous, but since answers to them are not obvious from your post, it would be useful to have some sort of  checklist. Maybe you find a missing step that way... Oh and one more question, why installing in the home directory as root? That setup practically means you must be root to use Lazarus. You should either install it under your normal home directory, or systemwide under /usr/local. The last location is the easiest to insall to because it can be done in one step, as root do 'make install' in the source directory (although I usually do 'make' as normal user, and just 'make install' with root rights - the rule of minimizing root account use). When it finishes, you should have Lazarus under /usr/local/share/lazarus. If you need to install to another dir, you should change prefix.