* * *

Author Topic: Issue on startup?  (Read 2268 times)

scottr99

  • Newbie
  • Posts: 4
Issue on startup?
« 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?

Leledumbo

  • Hero Member
  • *****
  • Posts: 5749
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Issue on startup?
« Reply #1 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)?

scottr99

  • Newbie
  • Posts: 4
Re: Issue on startup?
« Reply #2 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.

Leledumbo

  • Hero Member
  • *****
  • Posts: 5749
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Issue on startup?
« Reply #3 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.)

scottr99

  • Newbie
  • Posts: 4
Re: Issue on startup?
« Reply #4 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.

Leledumbo

  • Hero Member
  • *****
  • Posts: 5749
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Issue on startup?
« Reply #5 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.

scottr99

  • Newbie
  • Posts: 4
Re: Issue on startup?
« Reply #6 on: July 24, 2012, 02:35:45 am »
Sorry, USC = Ubuntu Software Center.  I am running Ubuntu 12.04.

Leledumbo

  • Hero Member
  • *****
  • Posts: 5749
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Issue on startup?
« Reply #7 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.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus