You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devel/lazarus shows an FPC sources missing error on startup dialog.
All the other items are fine, shows the following on FPC sources page:
Directory: /usr/local/share/lazarus/
Error: directory rtl not found
You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory
Here is a screenshot:
It is probably due to how the fpc sources are. It doesn't have the paths for *BSD platforms there. Even the dialog suggests a rtl/linux path. It seems there are sources for bsd. So maybe the rtl/linux is just an example?
The problem is also discussed here for PC-BSD and it has a probable solution:
... missing fpc files: I have downloaded the source files and made an
extra directory in /usr/pbi/lazarus-amd64/local/share/lazarus names
"fpc". I dumped all the files there, it wasn't enough to only copy the
"rtl" directory and I didn't want to search for the who and what. I
dumped everything there.
Now at start-up he still complains about missing rtl. Point him to the
self made fpc directory and ready.
Steps to reproduce:
Install the devel/lazarus port with make install
Run lazarus-ide
Current result:
Shows the FPC sources error above
Expected result:
Start up without the above error
EDIT: Crossed out some lines
The text was updated successfully, but these errors were encountered:
The problem is also discussed here for PC-BSD and it has a probable solution
I tried something like this:
cd ~/Downloads
ftp ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.2.2/source/fpc-3.2.2.source.tar.gz
cd /usr/local/share/lazarus
doas mkdir fpc
cd fpc
doas tar xvzf ~/Downloads/fpc-3.2.2.source.tar.gz
Then I entered the path /usr/local/share/lazarus/fpc/fpc-3.2.2 in the dialog box. It showed "OK" and I was able to get it working.
I was able to hit Run -> Run and the blank project was build successfully. So I guess this is a good workaround.
I ran a find /usr -name 'system.pp' before doing the above and it returned empty. So maybe we need a devel-fpc package?
devel/lazarus shows an FPC sources missing error on startup dialog.
All the other items are fine, shows the following on FPC sources page:
Here is a screenshot:
It is probably due to how the fpc sources are. It doesn't have the paths for *BSD platforms there. Even the dialog suggests aIt seems there are sources forrtl/linux
path.bsd
. So maybe thertl/linux
is just an example?The problem is also discussed here for PC-BSD and it has a probable solution:
Steps to reproduce:
make install
lazarus-ide
Current result:
Shows the FPC sources error above
Expected result:
Start up without the above error
EDIT: Crossed out some lines
The text was updated successfully, but these errors were encountered: