Lazarus 0.9.29 error compiling (ubuntu 10.04) lazarus / 1-Linux ---------------------------------------------------------------------- xinyiman · 2010-07-19 10:54 I've downloaded from the following page http://www.hu.freepascal.org/lazarus/ Linux AMD64 debs file Lazarus lazarus-0.9.29.26103-20100621.amd64.deb.tar I install everything correctly but when I go to add lazreport and recompile, I returned the following errors. It happens on any new component that I go to install. Why? make: Entering directory `/usr/lib/lazarus/0.9.29' /usr/bin/make -C ide all make[1]: Entering directory `/usr/lib/lazarus/0.9.29/ide' ../tools/svn2revisioninc .. revision.inc /usr/bin/make --assume-new=lazarus.pp lazarus make[2]: Entering directory `/usr/lib/lazarus/0.9.29/ide' /usr/bin/fpc -gl -dlclgtk2 -Fu../lcl/units/x86_64-linux -Fu../lcl/units/x86_64-linux/gtk2 -Fu../components/codetools/units/x86_64-linux -Fu../components/synedit/units/x86_64-linux -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/x86_64-linux -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../packager/units/x86_64-linux -Fu../units/x86_64-linux -Fuframes -Fu. -Fu/usr/lib/fpc/2.4.0/units/x86_64-linux/rtl -Fu/usr/lib/fpc/2.4.0/units/x86_64-linux/regexpr -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -Flinclude -Fl/etc/ld.so.conf.d/*.conf @/home/francesco/.lazarus/idemake.cfg -dx86_64 lazarus.pp Free Pascal Compiler version 2.4.0-2 [2010/03/06] for x86_64 Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for x86-64 Compiling lazarus.pp Compiling resource ../units/x86_64-linux/lazarus.or /usr/lib/lazarus/0.9.29/ide/lazarus.pp(127,1) Error: Error while compiling resources /usr/lib/lazarus/0.9.29/ide/lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping ---------------------------------------------------------------------- xinyiman · 2010-07-20 06:15 Help please ---------------------------------------------------------------------- Leledumbo · 2010-07-20 10:04 Permission problem? Make sure you have write access to /usr/lib/lazarus (and folders below) ---------------------------------------------------------------------- xinyiman · 2010-07-20 10:48 For security, I went into /usr/lib/ and typed the following command sudo chmod 777 -R lazarus This would solve the second what you say. Instead, the issue is still there. ---------------------------------------------------------------------- xinyiman · 2010-07-21 13:19 No idea on that? ---------------------------------------------------------------------- JuhaManninen · 2010-07-21 21:34 Quote from: xinyiman on July 21, 2010, 03:19:17 pmNo idea on that? The rights must be enough for /usr/lib/ directory. You should either install as root or install to your home directory as normal user. Juha ---------------------------------------------------------------------- Leledumbo · 2010-07-22 03:21 Well since he's been able to compile ide units, I don't think permission is the problem then. Anyone know what resource compiler is used on Unix platforms? @xinyman: Please right-click messages window and choose "copy all and hidden messages", paste the result here (just 10 lines around the linker error message). ---------------------------------------------------------------------- xinyiman · 2010-07-22 05:58 Quote from: Leledumbo on July 22, 2010, 05:21:04 amWell since he's been able to compile ide units, I don't think permission is the problem then. Anyone know what resource compiler is used on Unix platforms? @xinyman: Please right-click messages window and choose "copy all and hidden messages", paste the result here (just 10 lines around the linker error message). is what I did in the first post ---------------------------------------------------------------------- Leledumbo · 2010-07-22 07:24 Hmm...very unclear. I used to get this too, but I forgot how to solve it. Sorry, this is the best I can think of right now. ---------------------------------------------------------------------- xinyiman · 2010-07-22 07:43 Ok thank you. If you should come to mind let me know. To clarify, I have a 64-bit architecture. ---------------------------------------------------------------------- xinyiman · 2010-07-23 05:56 Solved: I uninstalled the old version, deleted the /usr/lib/lazarus and /home/$user/.lazarus and so I reinstalled svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus make Now everything works! I avoided using the Daily Snapshots. ---------------------------------------------------------------------- chrgra · 2010-10-01 19:10 Had today the same problem. For mine the install was sparring with a former installation (the default deb for ubuntu /usr/lib/lazarus/092....) while the install from the sources installs in usr/local/share/lazarus. So the simplest solution is to remove /usr/lib/lazarus and ~/.lazarus. and reinstall. Than at first startup lazarus complains that /usr/lib/lazarus/09... does not exist. Let it complain. I hope this helps Regards Chris