Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-09

e: Lazarus - Cant compile ZeosDBO

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Terry A. Haimann

I went back and fired up Lazarus as my regular user and I got several popups complaining about the installation. So this may be the problem even though I don't see the actual problem. As I said before, this is an Intel i5 (112th Gen) and the OS is currently Ubuntu 21.02. I installed this from the current Debian Packages I found on your web site.

Popup 1:

The current FPC has no config file. It will probably miss some units. Check your installation of fpc.

terry at quickfox:~$ sudo ls -la /etc/fpc.*
-rw-r--r-- 1 root root 7794 Sep 20 13:37 /etc/fpc.cfg

I have looked over the config file and it looks very similar to the config file on my old laptop. The compiler points to /usr/bin/fpc which does exist. Don't know where fpc defines it's source directories.

terry at quickfox:~$ ls -la /usr/bin/fpc
-rwxr-xr-x 1 root root 508112 Jul 6 2020 /usr/bin/fpc

Popup 2:

The project uses target OS=linux and CPU=x86_64. The system.ppu for this target was not found in the FPC binary
directoies. Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.

ls -la /usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/system.ppu -rw-r--r-- 1 root root 882770 Jul 6 2020
/usr/lib/fpc/3.2.0/units/x86_64-linux/rtl/system.ppu

I don't know where the rtl is defined in Lazarus, but the file is there. Also, I have compiled a few toy pascal programs and they seem to compile and run fine. Lazarus seems to compile them too after complaining.

Reply by email

Mattias Gaertner
to Terry A. Haimann
Show quoted text 14 lines
I went back and fired up Lazarus as my regular user and I got several popups complaining about the installation. So this may be the problem even though I don't see the actual problem. As I said before, this is an Intel i5 (112th Gen) and the OS is currently Ubuntu 21.02. I installed this from the current Debian Packages I found on your web site. Popup 1: The current FPC has no config file. It will probably miss some units. Check your installation of fpc. terry at quickfox:~$ sudo ls -la /etc/fpc.* -rw-r--r-- 1 root root 7794 Sep 20 13:37 /etc/fpc.cfg

Just to make sure, please do:
IDE menu Tools / Rescan FPC Source directory

Then check:
View / IDE Internals / About FPC

Does it use the correct fpc?

Mattias

Reply by email

Terry A. Haimann
to Mattias Gaertner

I beleive it rescanned correctly. The popup errors have gone away. But it will still not compile ZeosDBO, I am satill getting that original compile errors.

If you need to see the files, let me know where to send them to.

Show quoted text 31 lines
On Tue, 21 Sep 2021 17:02:05 -0500 "Terry A. Haimann via lazarus" wrote: > I went back and fired up Lazarus as my regular user and I got > several > popups complaining about the installation. So this may be the > problem > even though I don't see the actual problem. As I said before, this > is > an Intel i5 (112th Gen) and the OS is currently Ubuntu 21.02. I > installed this from the current Debian Packages I found on your web > site. > > Popup 1: > > The current FPC has no config file. It will probably miss some > units. > Check your installation of fpc. > > terry at quickfox:~$ sudo ls -la /etc/fpc.* > -rw-r--r-- 1 root root 7794 Sep 20 13:37 /etc/fpc.cfg Just to make sure, please do: IDE menu Tools / Rescan FPC Source directory Then check: View / IDE Internals / About FPC Does it use the correct fpc? Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210923/6ebe2060/attachment.html>

Reply by email