Lazarus
Using the Lazarus IDE => General => Topic started by: iru on February 23, 2017, 12:31:22 pm
-
Gentlefolk,
Environment, ancient Toshiba 840W,Linux Mint, 18 Mate.
New install, absolutely clean. Only application installed Lazarus 1.6.2.
Laz installed via Debian gdebi......
Initial load of Laz, compile the default project, woops......
Failed with error:
project1.lpr(9,3) Fatal: Cannot find interfaces used by project1, incompatible ppu=/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux/gtk2/interfaces.ppu, package LCL
Tried various suggestions from forum entries,, no luck
Help, Ian
-
Looks like this problem springs up at several Mint users: http://forum.lazarus.freepascal.org/index.php?topic=35214.0 and http://forum.lazarus.freepascal.org/index.php?topic=34389.0 Check those solutions...
-
I did a check and both of you are right, but this is a case for the package manager(s) of Mint, because it is a packaging issue.
So this real bug should be reported to Mint instead of here.
The good news is that the FPC compiler itself is there and you can use that to build FPC and Laz from source. I verified that the compiler itself is working.
I also verified that a simple "make clean all install" works. I didn't test Lazarus, though.
-
Check that the OS and CPU are correctly set in 'Tools - Configure "Build Lazarus" - should be 'Linux' and 'x86_64'.
-
Gentlefolk,
Thanks for the responses. I have followed the suggestions and links they contain.
Unfortunately no good luck.
Allways working from a clean version of Mint. Tried the following:
Mint 18.1 Mate.
Mint 18 Cinammon.
Used the debian file: lazarus-project_1.6.2-1_amd64.deb
On Mint 18 tried the "Software manager" LAZ 1.6+dfsg-1.
Always the same problem with "interfaces".
I will pursue the FPC.source IDE path....
iru
-
If you like Debian and KDE, try Netrunner (http://www.netrunner.com/).
And enable 'Rolling release' if you like really up to date software.
It is rock solid, Debian based and has great KDE support.
I recently convinced at least two Lazarus users to switch to that distribution. ;D
I stopped using Ubuntu, and Mint, years ago. Because it constantly broke my system, and had a lot of weirdness.
Netrunner team is also actively working with the Debian team and makes sure that improvements goes back upstream (unlike Ubuntu).
You probably don't want to hear that, but I thought I'd mention that option. :D
-
Maybe a permission problem, meaning the IDE can't overwrite it with a newer version of ppu?
-
Yes, indeed.
Building from source - Fpcupdeluxe - is in my mind the only real option on Linux.
Considering that the standard install puts everything in /usr/local.
-
I have the same problem from a fresh install. This is the message:
Compile Project, Target: Test1: Exit code 256, Errors: 1
Test1.lpr(9,3) Fatal: Cannot find Interfaces used by Test1, incompatible ppu=/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux/gtk2/interfaces.ppu, package LCL
I'm using MX-Linux v16, x64, based on Debian Jessie. Lazarus 1.6.0 worked fine yesterday. I removed all pieces of fpc and Laz and reinstalled from the Lazarus page: https://sourceforge.net/projects/lazarus/files/latest/download?source=files
https://sourceforge.net/projects/lazarus/files
then installed in this order:
1) https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc_3.0.0-151205_amd64.deb/download
2) https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc-src_3.0.0-151205_amd64.deb/download
3) /Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/lazarus-project_1.6.2-1_amd64.deb/download
and
all installed with no errors.
I see tonight that there is now a version 1.6.4.
Could that mean that the Interfaces problem has been overcome?
I'll start downloading again, in hopes that it is true.
Regards, Richard.
-
Got a message from Lazarus that version 1.6.4 is not available, yet.
Downloading a fresh copy of 1.6.0 for this new install.
fpc versions haven't changed.
[NOTE: Installed OK, then Debian has some updates: The following NEW packages will be installed:
lazarus-1.6 (1.6-0.1), lazarus-doc-1.6 (1.6-0.1), lazarus-ide (1.6-0.1),
lazarus-ide-1.6 (1.6-0.1), lazarus-ide-gtk2-1.6 (1.6-0.1),
lazarus-src-1.6 (1.6-0.1), lcl-1.6 (1.6-0.1), lcl-gtk2-1.6 (1.6-0.1),
lcl-nogui-1.6 (1.6-0.1), lcl-units-1.6 (1.6-0.1)
lcl-utils-1.6 (1.6-0.1)
The following packages will be upgraded:
lazarus (1.6 => 1.6-0.1)
1 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Time will tell.
Richard.
-
And it works again!
Compile Project, Target: Test1: Success
using
Lazarus v1.6-0.1 with FPC v3.0.0 on x86_64-linux-gtk2
Looking forward to Laz-1.6.4.
-
...and today,
http://forum.lazarus.freepascal.org/index.php/topic,36052.msg239853/topicseen.html#new
says that
"Lazarus 1.6.4 - Released".
HOWEVER, he reports similar Interfaces problem?
-
With 1.6.0 under Windows it works ok. I have uninstalled 1.6.4 and deleted lazarus directory and configuration.
Now i have installed 1.6.4 newly and cleanly.
Result.
Compiles OK, no problems, no error :)s.
-
May be the problem is in configuration files?
-
Could be a config problem but I don't know where to start looking. :)
I downloaded the new fpc-3.0.2 and Lazarus-1.6.4, but then tried fpcupdeluxe and it ran into a problem that I'm asking about in the fpcupdeluxe thread.
NOTE: ended up installing from Debian repo, Laz-1.6-0.1 and FPC-3.0.0-0.1 which compiles Laz sucessfully.
Will continue making installs with Fpcupdeluxe in /home/richard, with 3.0.2 and 1.6.4.