Where can I find the instructions to install FPC 2.7.1 on ubuntu 12.04? lazarus / 1-Linux ---------------------------------------------------------------------- laguna · 2012-09-29 13:58 Where can I find the instructions to install FPC 2.7.1 on ubuntu 12.04? There is a package. "Deb" for ubuntu? Thanks to all ---------------------------------------------------------------------- Leledumbo · 2012-09-29 14:14 QuoteWhere can I find the instructions to install FPC 2.7.1 on ubuntu 12.04? There is a package. "Deb" for ubuntu?No deb, except if you create it yourself. The installation instruction is here, those with SVN in title. This is a source based approach, where you compile everything from source yourself and it requires last stable FPC version for a successful compilation guarantee. ---------------------------------------------------------------------- laguna · 2012-09-29 15:04 What I've tried, but with poor results. I installed the packages FPC 2.6.0; I downloaded the 2.7.1 with svn I also downloaded the FTP folder of FPC 2.7.1 for linux with the compiler in the $ HOME I fpc (from svn) and lazarus 1.1 I set the path in lazarus but every time I compile, is called FPC 2.6.0 and not 2.7.1 I could lend a hand, step by step. Thanks to All ---------------------------------------------------------------------- BigChimp · 2012-09-29 15:14 You must switch the compiler in the Lazarus options. ---------------------------------------------------------------------- Leledumbo · 2012-09-29 15:17 Quotebut every time I compile, is called FPC 2.6.0 and not 2.7.1 I could lend a hand, step by step.Check your ppcXXX symlink in /usr/bin, update it to point to 2.7.1 version ---------------------------------------------------------------------- laguna · 2012-09-29 15:43 Quote from: BigChimp on September 29, 2012, 05:14:29 pmYou must switch the compiler in the Lazarus options. where exactly? I did not find this option! $home   !   +--Lazarus 1.1 (svn version)   !   !-- fpc.2.7.1          !          +--- fpc (binary)          !          +--- scr (source code svr) Output lazarus compiling [TMainIDE.DoRunProject] INIT TMainIDE.DoInitProjectRun Check build ... TMainIDE.CheckIfProjectNeedsCompilation  Src has changed Project /home/vincenzo/lazprojet/unit1.pas TCompiler.Compile WorkingDir="/home/vincenzo/lazprojet/" CompilerFilename="/home/vincenzo/fpc271/fpc/bin/fpc" CompilerParams=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/vincenzo/lazprojet/lib/i386-linux -Fl/opt/gnome/lib -Fu/home/vincenzo/lazarus/lcl/units/i386-linux/gtk2 -Fu/home/vincenzo/lazarus/lcl/units/i386-linux -Fu/home/vincenzo/lazarus/components/lazutils/lib/i386-linux -Fu/home/vincenzo/lazarus/packager/units/i386-linux -Fu/home/vincenzo/lazprojet/ -FU/home/vincenzo/lazprojet/lib/i386-linux/ -l -dLCL -dLCLgtk2 project1.lpr" [TCompiler.Compile] CmdLine="/home/vincenzo/fpc271/fpc/bin/fpc  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/vincenzo/lazprojet/lib/i386-linux -Fl/opt/gnome/lib -Fu/home/vincenzo/lazarus/lcl/units/i386-linux/gtk2 -Fu/home/vincenzo/lazarus/lcl/units/i386-linux -Fu/home/vincenzo/lazarus/components/lazutils/lib/i386-linux -Fu/home/vincenzo/lazarus/packager/units/i386-linux -Fu/home/vincenzo/lazprojet/ -FU/home/vincenzo/lazprojet/lib/i386-linux/ -l -dLCL -dLCLgtk2 project1.lpr" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.6.0-1 [2012/01/13] for i386 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: Linux for i386 Compiling project1.lpr Compiling unit1.pas Compiling resource /home/vincenzo/lazprojet/lib/i386-linux/project1.or Linking project1 /usr/bin/ld: warning: link.res contains output sections; did you forget -T? 51 lines compiled, 1.0 sec 2 hint(s) issued [TCompiler.Compile] end TMainIDE.DoInitProjectRun ProgramFilename=/home/vincenzo/lazprojet/project1 [TMainIDE.DoRunProject] Debugger=TGDBMIDebugger [TMainIDE.DoRunProject] END TGDBMIDebugger.StartDebugging WorkingDir="/home/vincenzo/lazprojet/" ---------------------------------------------------------------------- BigChimp · 2012-09-29 17:19 Quote from: laguna on September 29, 2012, 05:43:45 pmQuote from: BigChimp on September 29, 2012, 05:14:29 pmYou must switch the compiler in the Lazarus options. where exactly? I did not find this option! It's the file paths on your screenshot. If your fpc is set up well, it should just work. Quick glance at your debug output seems to confirm it is set correctly though!?? Troubleshooting: if you create a new empty project, go to project options, and click test, check the output. Do you see anything mentioning FPC 2.6.0? Also the screens in view, IDE internals... ---------------------------------------------------------------------- laguna · 2012-09-29 17:49 This error Screen 3 - Click Ignora if you set this path in the first launch of Lazarus /home/vincenzo/fpc271/$(FPCVER) I get this output Directory: /home/vincenzo/fpc271/2.6.0/ Screen 4 ---------------------------------------------------------------------- laguna · 2012-09-29 18:47 Ok  (screen5.png) in $home/fpc271/2.7.1 run make clean all install INSTALL_PREFIX=/home/vincenzo/fpc271 I do not know if this code "make" is served, we need someone better than me for a check and maybe complete the post with a guide set Compiler fpc /home/vincenzo/fpc271/fpc/lib/fpc/2.7.1/ppc386 rename fpc scr in 2.7.1 set source fpc /home/vincenzo/fpc271/$(FPCVER) Ok Run, is correct!???? Output player, verify please! Thanks [TMainIDE.DoRunProject] INIT TMainIDE.DoInitProjectRun Check build ... TBuildManager.CheckIfProjectNeedsCompilation  SrcFile outdated Project TCompiler.Compile WorkingDir="/tmp/" CompilerFilename="/home/vincenzo/fpc271/fpc/lib/fpc/2.7.1/ppc386" CompilerParams=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -Filib/i386-linux -Fl/opt/gnome/lib -Fu/home/vincenzo/lazarus/lcl/units/i386-linux/gtk2 -Fu/home/vincenzo/lazarus/lcl/units/i386-linux -Fu/home/vincenzo/lazarus/components/lazutils/lib/i386-linux -Fu/home/vincenzo/lazarus/packager/units/i386-linux -FUlib/i386-linux/ -l -dLCL -dLCLgtk2 /tmp/project1.lpr" [TCompiler.Compile] CmdLine="/home/vincenzo/fpc271/fpc/lib/fpc/2.7.1/ppc386  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Filib/i386-linux -Fl/opt/gnome/lib -Fu/home/vincenzo/lazarus/lcl/units/i386-linux/gtk2 -Fu/home/vincenzo/lazarus/lcl/units/i386-linux -Fu/home/vincenzo/lazarus/components/lazutils/lib/i386-linux -Fu/home/vincenzo/lazarus/packager/units/i386-linux -FUlib/i386-linux/ -l -dLCL -dLCLgtk2 /tmp/project1.lpr" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.7.1-r1:22501M [2012/09/29] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386 Compiling /tmp/project1.lpr Compiling unit1.pas Compiling resource lib/i386-linux/project1.or Linking /tmp/project1 /usr/bin/ld: warning: link.res contains output sections; did you forget -T? 51 lines compiled, 0.9 sec 2 hint(s) issued [TCompiler.Compile] end TMainIDE.DoInitProjectRun ProgramFilename=/tmp/project1 [TMainIDE.DoRunProject] Debugger=TGDBMIDebugger [TMainIDE.DoRunProject] END TGDBMIDebugger.StartDebugging WorkingDir="/tmp/"