Can't find unit lclbase used by lazarus lazarus / 1-Linux ---------------------------------------------------------------------- Andyk · 2012-06-28 21:25 I can't install any of my own packages, they compile ok but when I try and install, the error message in the subject line appears. Also, the default project loaded has no form and so a message appears unit1.pas(27) Error: Can't open resource file "/home/ubuntu/Lazprojects/unit1.lfm" I can create a new project and that works with the blank form but when I shut down lazarus and reload, the old project with the missing form gets reloaded. Also if I try and rebuild lazarus from tools/build lazarus, I get an error message saying This set of options to build Lazarus is not supported by this installation. The directory "/usr/lib/lazarus/0.9.30.4/" is not writable. See the Lazarus website for other ways to install Lazarus. I'm a Linux newbie, is the installation faulty ? ---------------------------------------------------------------------- HappyLarry · 2012-06-29 12:42 Try (in a terminal) gksudo startlazarus and then (in Lazarus) Environment/rescan FPC source directory ---------------------------------------------------------------------- Andyk · 2012-06-29 13:32 Did as you suggested with no luck. If I try tools/rebuild lazarus with packages I get the same error, "can't find unit lclbase used by lazarus". I don't get the permissions error though. ---------------------------------------------------------------------- Andyk · 2012-07-01 16:09 I guess through the lack of responses that Lazarus 9.30.4 does not function correctly on LinuxMint. I can't really progress with this, perhaps I should try the latest SVN version which I use on Windows and seems to work a lot better. I can't seem to make sense of how to upgrade to version 1.1 on Linux mint, all my attempts to follow the wiki instructions have failed. We really do need a proper installer for Linux. ---------------------------------------------------------------------- Leledumbo · 2012-07-01 16:18 There's another way, actually: ask someone to build one for you and give you in compressed form ---------------------------------------------------------------------- Andyk · 2012-07-02 08:01 Well I managed to download and install subversion. So I made a new directory and downloaded lazarus anew. did the "make clean all" which seemed to work. I then did "svn update" which all downloaded. Now when I run it shows the 1.1 splash screen and then it runs a tool which requires pointers to the various directories inputting. Now it says it can't find "fpc.cfg" and its destroyed the 0.9.30.4 install as well. fpc.cfg is in the place it normally is, ....in etc/, yet in can't find it. I think I'm at the point of completely giving up on Linux, I can see why commercial software vendors won't touch it. I repeat what I said before, Linux needs a proper installer, the inbuilt ways to install software can only be described as amateurish. ---------------------------------------------------------------------- Leledumbo · 2012-07-02 12:53 QuoteNow it says it can't find "fpc.cfg" and its destroyed the 0.9.30.4 install as well. fpc.cfg is in the place it normally is, ....in etc/, yet in can't find it.Hmm... I never had this problem. Could it be a permission problem? Check the output of: ls -l /etc/fpc.cfg At least the 'r' flag must be activated for all. QuoteI think I'm at the point of completely giving up on Linux, I can see why commercial software vendors won't touch it.People who start with Windows often have this problem because they still have and use Windows-ism in Linux world, which of course, won't work. Security is a high priority feature of Linux, which is why you have non-root/admin login by default and only have full permission to your own files. Admin tasks could still be executed (safely) though. I was (and is in my workplace) a Windows user and I hate its slow speed because my company has too powerful antivirus installed, it's overly configured that sometimes our own softwares are detected as viruses. Ridiculous. Something no longer happens in my home computer since I moved to Linux. Full speed, no virus, yet secured QuoteI repeat what I said before, Linux needs a proper installer, the inbuilt ways to install software can only be described as amateurish.There are some cross platform installer program like InstallJamer and MSE Installer, maybe you could ask a request in release engineering to package lazarus with one of these tools as well. ---------------------------------------------------------------------- Andyk · 2012-07-03 08:57 Thanks for your help, lele, but I've given up for now. I don't think Linux is worth the hassle. I may come back to it when I have more time to spare. ---------------------------------------------------------------------- Leledumbo · 2012-07-03 12:14 No problem, feel free to come back when you're ready to increase your geekness