Recent

Author Topic: Can't find unit lclbase used by lazarus  (Read 7314 times)

Andyk

  • Jr. Member
  • **
  • Posts: 72
Can't find unit lclbase used by lazarus
« on: June 28, 2012, 11:25:14 pm »
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

  • Full Member
  • ***
  • Posts: 155
Re: Can't find unit lclbase used by lazarus
« Reply #1 on: June 29, 2012, 02:42:29 pm »
Try (in a terminal)
gksudo startlazarus

and then (in Lazarus)
Environment/rescan FPC source directory

Use Lazarus and Free Pascal and stand on the shoulders of giants . . . very generous giants. Thank you.

Andyk

  • Jr. Member
  • **
  • Posts: 72
Re: Can't find unit lclbase used by lazarus
« Reply #2 on: June 29, 2012, 03:32:23 pm »
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

  • Jr. Member
  • **
  • Posts: 72
Re: Can't find unit lclbase used by lazarus
« Reply #3 on: July 01, 2012, 06:09:06 pm »
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

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Can't find unit lclbase used by lazarus
« Reply #4 on: July 01, 2012, 06:18:21 pm »
There's another way, actually: ask someone to build one for you and give you in compressed form :P

Andyk

  • Jr. Member
  • **
  • Posts: 72
Re: Can't find unit lclbase used by lazarus
« Reply #5 on: July 02, 2012, 10:01:03 am »
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

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Can't find unit lclbase used by lazarus
« Reply #6 on: July 02, 2012, 02:53:49 pm »
Quote
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.
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.
Quote
I 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 ;)
Quote
I 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

  • Jr. Member
  • **
  • Posts: 72
Re: Can't find unit lclbase used by lazarus
« Reply #7 on: July 03, 2012, 10:57:13 am »
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

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Can't find unit lclbase used by lazarus
« Reply #8 on: July 03, 2012, 02:14:04 pm »
No problem, feel free to come back when you're ready to increase your geekness 8)

 

TinyPortal © 2005-2018