Lazarus

Installation => Linux => Topic started by: scottr99 on July 23, 2012, 06:25:19 pm

Title: Issue on startup?
Post by: scottr99 on July 23, 2012, 06:25:19 pm
Hi I just installed from USC, and I had all of the add-ons checked., so I should have received free pascal.  But on startup I get the following message:

The current Free Pascal source directory "/usr/share/fpcsrc//"
does not look correct.
Choose Ok to choose the default "".
Otherwise check Environment -> Environment Options -> Files

Anyone?
Title: Re: Issue on startup?
Post by: Leledumbo on July 23, 2012, 11:20:30 pm
Why don't you try to confirm what the IDE said? Do you install or save fpc source in /usr/share/fpcsrc// (the double slash doesn't look good for me)?
Title: Re: Issue on startup?
Post by: scottr99 on July 23, 2012, 11:56:04 pm
Thanks for replying.

I checked and there's no /usr/share/fpcsrc/ directory.

Could you recommend the best source for it.

Thank you.
Title: Re: Issue on startup?
Post by: Leledumbo on July 24, 2012, 12:34:06 am
If you install from a repository, there should be fpc-source package that contains the source code of fpc. Install that and point the IDE to the installation directory, it should have at least packages and rtl directories (the full source also contains compiler, ide, utils, etc.)
Title: Re: Issue on startup?
Post by: scottr99 on July 24, 2012, 12:52:07 am
Should I delete what I have first?  I hate purging in case there are dependencies that go along with it.
Title: Re: Issue on startup?
Post by: Leledumbo on July 24, 2012, 02:24:23 am
I don't know, what distro are you using? Or better, what package management? I don't know what USC stands for and how it handles dependencies.
Title: Re: Issue on startup?
Post by: scottr99 on July 24, 2012, 02:35:45 am
Sorry, USC = Ubuntu Software Center.  I am running Ubuntu 12.04.
Title: Re: Issue on startup?
Post by: Leledumbo on July 24, 2012, 09:33:31 am
hmm... so it should indeed contains fpc-source as dependencies. You don't have to uninstall, try searching for fpc-source package in USC, if it exists, install. The default location should be /usr/share/fpcsrc as the IDE first pointed as default value.
TinyPortal © 2005-2018