Recent

Author Topic: Lazarus Release 3.2  (Read 39827 times)

fan2006

  • Newbie
  • Posts: 6
Re: Lazarus Release 3.2
« Reply #15 on: March 01, 2024, 02:35:57 pm »
each time when opening lazarus a warning of "The current FPC has no config file. It will probably
miss some units. Check your installation of fpc."  is displayed.(os:windows 10 x64)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4541
  • I like bugs.
Re: Lazarus Release 3.2
« Reply #16 on: March 01, 2024, 03:40:03 pm »
The help viewer LHelp got faster. Its slowness counted as a bug.
But Sections links still do not work.
How to reproduce? Is it reported?
For some reason my LHelp GUI is localized to Finnish language although my Lazarus is configured to use English.
Anyway all links seem to work here.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

tetrastes

  • Hero Member
  • *****
  • Posts: 600
Re: Lazarus Release 3.2
« Reply #17 on: March 01, 2024, 08:58:13 pm »
The help viewer LHelp got faster. Its slowness counted as a bug.
But Sections links still do not work.
How to reproduce? Is it reported?

https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40662#note_1797681816

For some reason my LHelp GUI is localized to Finnish language although my Lazarus is configured to use English.

LHelp uses system locale language, and hasn't setting to change it (at least I cannot find it).

Tomki

  • New Member
  • *
  • Posts: 35
Re: Lazarus Release 3.2
« Reply #18 on: March 02, 2024, 11:29:36 am »
Dearest Lazarus developers
I very much appreciate your work and love to use Lazarus.
But there is one issue which persists since V3 RC1, RC2 and even in the latest version of Lazarus 3.2 if using the packages for macOS !
The install goes well and the first start of Lazarus as well. But if one wants to install an additional package a recompile of the IDE is necessary. This recompile fails every time, because there is an issue datetimepicker.pas cannot be found.
This is really annoying. Especially since this issue persists for quite a while now and has been prompted by many users. Please could you look into this  :(

Once installed the package (*.pkg), I tried to do an install from source, which was a workaround for V 3.0 - but even this does now not help any more. Lazarus is unusable right now - and I am not even able to revert to an older version because there is obviously some leftovers somewhere in the system which I cannot find. I used the UninstallFPC.sh script as well before a new clean install - and even this didn't help. All because of datetimepicker cannot be found on recompile.  :'(

Regards
Thomas


The Lazarus team is glad to announce the release of Lazarus 3.2.

This is a bugfix release and was built with FPC 3.2.2.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Here is the list of fixes for Lazarus 3.x:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_3_0/

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 3.2" directory.

Checksums for the SourceForge files:
https://www.lazarus-ide.org/index.php?page=checksums#3_2

Minimum requirements:

Windows:
  2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only)

FreeBSD/Linux:
  gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit.

Mac OS X:
  Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only).

Note: Since Macos Sonoma (14) debugging takes some time to start the application, especially on first start.
« Last Edit: March 02, 2024, 11:32:50 am by Tomki »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4541
  • I like bugs.
Re: Lazarus Release 3.2
« Reply #19 on: March 02, 2024, 12:07:53 pm »
Once installed the package (*.pkg), I tried to do an install from source, which was a workaround for V 3.0 - but even this does now not help any more.
Was the source from GitLab repository? Did you build it with "make"?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10557
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 3.2
« Reply #20 on: March 02, 2024, 12:16:22 pm »
I don't have a Mac for testing. But I have seen similar issues on other Platforms before.

From distant memory... Try this:

When the error happens:
- Open the package DateTimeControls
- Hit the Compile button.
- Hit the Compile button, again
- Then go to the IDE menu Tools (may be preferences on Mac???) and chose "Configure Build Lazarus"
- Ensure "make clean" is not selected
- Build

It is possible you need to do this for the package DateTimeControlsDsgn ...


In the past, I have seen such errors due to a bug in fpc which did change ppu files without updating dependencies. This happened, if
- There are circular unit dependencies (within a single package, here DateTimeControls)
- There are inlined routines.

However  DateTimeCtrl(Dsgn) does not seem to have this....


Make sure you only have ONE unit of that name.

E.g. if you use DateTimePicker from the Lazarus install, make sure there is no package (from OPM, or otherwise) that also has a unit of that name.

Open (both of) the package .lpk files (DateTimeControls/Dsgn) from the current install path, using "Package > Open Package".
If the IDE has an outdate path to that package (from a prior install), then this should update that.
« Last Edit: March 02, 2024, 12:26:29 pm by Martin_fr »

Espectr0

  • Full Member
  • ***
  • Posts: 221
Re: Lazarus Release 3.2
« Reply #21 on: March 02, 2024, 03:14:49 pm »
@Martin_fr,

I have the same problem and following your steps I cannot solve it either  :(

TRon

  • Hero Member
  • *****
  • Posts: 3650
Re: Lazarus Release 3.2
« Reply #22 on: March 02, 2024, 03:24:17 pm »
I don't have a Mac for testing. But I have seen similar issues on other Platforms before.

From distant memory... Try this:
Not very distant (link) :).
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10557
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 3.2
« Reply #23 on: March 02, 2024, 04:11:57 pm »
I have the same problem and following your steps I cannot solve it either  :(

Just checking some assumptions...
- You run the installer as Admin/root? (so it could install into /applications/.....)
- You run your IDE as user?

Then that is interesting, because the ppu that supposedly changed is not writeable to your user account.

Try starting the IDE as admin/root and do the rebuild. (with "clean all" checked)

After that, go back to running the IDE as user (even, if you add further packages, and even if you rebuild again).
« Last Edit: March 02, 2024, 04:13:51 pm by Martin_fr »

Espectr0

  • Full Member
  • ***
  • Posts: 221
Re: Lazarus Release 3.2
« Reply #24 on: March 02, 2024, 04:35:28 pm »
@Martin_fr,

I only have the admin user account and previous versions of lazarus worked for me :-\

Tomki

  • New Member
  • *
  • Posts: 35
Re: Lazarus Release 3.2
« Reply #25 on: March 02, 2024, 08:30:16 pm »
No - the istall was by executing the pkg install file - as with the previous versions.

If I install by compiling the source code this issue does not arise. I simply don‘t understand this. The difference with the pkg install vs compiling the source code is, that if I use the pkg, Lazarus will use the mac light and dark desktop schemes. Compiling the source code (make), Lazarus ignores the macOS desktop scheme and always shows the light scheme. But therefore the issue with the datetimepicker component does not arise and I can install additional packages. All this is quite strange.
Coming back to the pkg install: the install goes well - and I can also use the datetimepicker component. Also, I find the component in the source code - so it‘s there, amongst the other components. I simply don‘t get it.
If I install using the source code with make, the IDE- recompile after installing an additional package works fine! However - no dark mode >:(


Once installed the package (*.pkg), I tried to do an install from source, which was a workaround for V 3.0 - but even this does now not help any more.
Was the source from GitLab repository? Did you build it with "make"?

Tomki

  • New Member
  • *
  • Posts: 35
Re: Lazarus Release 3.2
« Reply #26 on: March 02, 2024, 08:31:42 pm »
Maybe it‘s solved for Ubuntu - certainly not for macOS!


I don't have a Mac for testing. But I have seen similar issues on other Platforms before.

From distant memory... Try this:
Not very distant (link) :).

Tomki

  • New Member
  • *
  • Posts: 35
Re: Lazarus Release 3.2
« Reply #27 on: March 03, 2024, 04:51:54 pm »
I did now delete Lazarus completely from the system (everything I could find) and recompiled it again with make.
The IDE starts up and work so far. But - after installing new packages and recompile of the IDE I get a new error message (see picture). Obviously by experimenting with all the tipps I ruined the whole system  >:( >:( >:(
Now I finally can't do anything any more, because there's obviously something hidden which I cannot find  >:(

Jonax

  • New Member
  • *
  • Posts: 20
Re: Lazarus Release 3.2
« Reply #28 on: March 03, 2024, 08:13:24 pm »
Installation and a first Hello World went well in a Debian Bookworm VM.  :)
So far so good.

Many thanks to the FPC and Lazarus team for the good work  :)

czaerlag

  • Newbie
  • Posts: 2
Re: Lazarus Release 3.2
« Reply #29 on: March 04, 2024, 10:47:37 am »
I downloaded and installed the 3.2.0 .deb package.
The /usr/share/lazarus/3.2.0 directory was created, but the executable says it's of version 3.0, and it warns of wrong lazarus directory at startup.

UPD: Seems that the problem was with the ~/.lazarus/bin directory with old executables in it. I renamed that executables and started the IDE -- now it worked well, and the entire directory disappeared :)
I was upgrading 2.2.4 -> 3.0, then 3.0 -> 3.2. In both cases I deleted the old version using dpkg -P before installing new one. Version 3.0 started with no problem.
« Last Edit: March 04, 2024, 11:07:42 am by czaerlag »

 

TinyPortal © 2005-2018