* * *

Author Topic: Uses Interface problem  (Read 2568 times)

iru

  • Full Member
  • ***
  • Posts: 197
Uses Interface problem
« 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





Eugene Loza

  • Sr. Member
  • ****
  • Posts: 484
    • My "almost daily" development blog
Re: Uses Interface problem
« Reply #1 on: February 23, 2017, 12:57:20 pm »
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...
Lazarus 1.9 + FPC 3.1.1 Debian Jessie 64 bit.

My Free and Open Source games in Lazarus/FreePascal/CastleGameEngine:
https://decoherence.itch.io/
(and some ancient games in Turbo Pascal too)
Sources are here: https://github.com/eugeneloza?tab=repositories

Thaddy

  • Hero Member
  • *****
  • Posts: 4525
Re: Uses Interface problem
« Reply #2 on: February 23, 2017, 01:33:08 pm »
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.
« Last Edit: February 23, 2017, 01:35:24 pm by Thaddy »
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

jacmoe

  • Sr. Member
  • ****
  • Posts: 259
    • Jacmoe's Cyber SoapBox
Re: Uses Interface problem
« Reply #3 on: February 23, 2017, 06:30:40 pm »
Check that the OS and CPU are correctly set in 'Tools - Configure "Build Lazarus" - should be 'Linux' and 'x86_64'.
more signal - less noise

iru

  • Full Member
  • ***
  • Posts: 197
Re: Uses Interface problem
« Reply #4 on: February 24, 2017, 09:33:51 am »
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



jacmoe

  • Sr. Member
  • ****
  • Posts: 259
    • Jacmoe's Cyber SoapBox
Re: Uses Interface problem
« Reply #5 on: February 24, 2017, 01:32:28 pm »
If you like Debian and KDE, try Netrunner.
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
more signal - less noise

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5744
Re: Uses Interface problem
« Reply #6 on: February 24, 2017, 01:41:46 pm »
Maybe a permission problem, meaning the IDE can't overwrite it with a newer version of ppu?

jacmoe

  • Sr. Member
  • ****
  • Posts: 259
    • Jacmoe's Cyber SoapBox
Re: Uses Interface problem
« Reply #7 on: February 24, 2017, 01:48:43 pm »
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.
more signal - less noise

Richard

  • New member
  • *
  • Posts: 12
Re: Uses Interface problem
« Reply #8 on: March 01, 2017, 03:05:35 am »
I have the same problem from a fresh install. This is the message:
Quote
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.



« Last Edit: March 01, 2017, 03:18:53 am by Richard »
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

Richard

  • New member
  • *
  • Posts: 12
Re: Uses Interface problem
« Reply #9 on: March 01, 2017, 03:17:32 am »
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:
Quote
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.
« Last Edit: March 01, 2017, 03:47:50 am by Richard »
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

Richard

  • New member
  • *
  • Posts: 12
Re: Uses Interface problem
« Reply #10 on: March 01, 2017, 04:10:19 am »
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.
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

Richard

  • New member
  • *
  • Posts: 12
Re: Uses Interface problem
« Reply #11 on: March 02, 2017, 04:48:16 pm »
...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?
« Last Edit: March 02, 2017, 07:22:31 pm by Richard »
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

jma_sp

  • Full Member
  • ***
  • Posts: 128
  • El conocimiento si ocupa lugar.
Re: Uses Interface problem
« Reply #12 on: March 02, 2017, 05:28:17 pm »
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.

Debian 8.6 - (JWM/ROX/iDesk) - Devuan Jessie 1.0 ( without systemd ) - Puppy -  Quirky Xerus 8.2 - Windows XP - ReactOS 0.4.xx  - FreeDos - OctaOS - KolibriOS

jma_sp

  • Full Member
  • ***
  • Posts: 128
  • El conocimiento si ocupa lugar.
Re: Uses Interface problem
« Reply #13 on: March 02, 2017, 05:29:40 pm »
May be the problem is in configuration files?
Debian 8.6 - (JWM/ROX/iDesk) - Devuan Jessie 1.0 ( without systemd ) - Puppy -  Quirky Xerus 8.2 - Windows XP - ReactOS 0.4.xx  - FreeDos - OctaOS - KolibriOS

Richard

  • New member
  • *
  • Posts: 12
Re: Uses Interface problem
« Reply #14 on: March 02, 2017, 07:50:26 pm »
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.
« Last Edit: March 04, 2017, 03:00:29 pm by Richard »
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

 

Recent

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