Recent

Author Topic: Lazarus 1.6.4 - Released  (Read 101990 times)

jma_sp

  • Full Member
  • ***
  • Posts: 150
  • El conocimiento si ocupa lugar.
Re: Lazarus 1.6.4 - Released
« Reply #15 on: March 02, 2017, 05:39:31 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 errors :).

Also Rebuild Lazarus OK.
« Last Edit: March 02, 2017, 05:41:13 pm by jma_sp »
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus 1.6.4 - Released
« Reply #16 on: March 02, 2017, 06:58:00 pm »
In case of errors like this you only have to get rid of old ppu files, but only Lazarus, not fpc. (very rarely an old pas file, if it got moved to a new location (then you have a duplicate).

The easiest way, is to go to the Tools menu, configure build lazarus, and choose "clean all" and rebuild.

Or you can uninstall the previous version / Same as deleting the installation dir.

You do NOT need to delete your config.
But if you installed as root/admin, and did builds as user, then you there may be a folder with ppu files in your config dir, and that folder may need to be deleted. But all xml files in the conf dir can be kept.

Ideally the installer (at least on windows) could detect such old ppu, and remove them. But that requires some special tools for the installer build process... And some one need to write them, and adapt the process. I can give some hints/ideas if someone wants to try it (you have to get to understand the current installer build process too.)

Richard

  • New Member
  • *
  • Posts: 12
Re: Lazarus 1.6.4 - Released
« Reply #17 on: March 02, 2017, 07:42:23 pm »
Thanks jma y Martin for the info.

I'll try the 3.0.2 and 1.6.4 again,
looking diligently for all .ppu files,
then rebuild as mentioned.
MX-16_x64 Xfce, sysvinit via systemd-shim.
Lazarus 1.6-0.1 & FPC 3.0.0.
=Louisiana en Venezuela=

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus 1.6.4 - Released
« Reply #18 on: March 02, 2017, 08:07:25 pm »
One more possibility

If you had an old installation, and your older fpc is still there, then your config will point to the old fpc. But lazarus comes with ppu for the newer.

So open tools > Options, and on the first page check what fpc is set.

lazie

  • New member
  • *
  • Posts: 9
Re: Lazarus 1.6.4 - Released
« Reply #19 on: March 03, 2017, 12:13:53 am »
First I have had a problem like jma_sp has written about - when compiling:
"ppu....interfaces.ppu...(missing or duplicates (EDIT: in "wrong" folder))"

The Problem came with the new name of the downloaded files - with "PROJECT" in name:
lazarus_1.6.2-0_amd64.deb  - was OK !
lazarus-project_1.6.2-0_amd64.deb  - (same version number) gave me that error instead of compiling....

It was the same Problem with the newest version 1.6.4 of today - this post is about !

So I tried it with a COMPLETELY NEW installed system (debian 8.7.1) and lazarus 1.6.4.
NOW - with new system - I get a different error when compiling (application or lazarus):
Projekt kompilieren, Ziel: /home/userxy/tmp/project1: Exit code 256, Fehler: 1
project1.lpr(20,1) Error: Error while linking
- In source-editor the line with the last end (end with point) is highlighted.
« Last Edit: March 03, 2017, 01:22:47 pm by lazie »

olly

  • New Member
  • *
  • Posts: 42
Re: Lazarus 1.6.4 - Released
« Reply #20 on: March 03, 2017, 03:49:05 am »
/home/userxy/tmp/project1: Exit code 256, Fehler: 1
project1.lpr(20,1) Error: Error while linking

I think https://travis-ci.org/nielsAD/travis-lazarus/jobs/207100268#L604 is the error you're having.

ecrypt

  • New Member
  • *
  • Posts: 16
Re: Lazarus 1.6.4 - Released
« Reply #21 on: March 03, 2017, 10:56:16 am »
Lazarus 1.6.4 win-64 and Lazarus 1.6.4 win-32 with fpc 3.0.2 install and run, no error under Win-7-64bit

Lazarus-1.6.4-amd64 for Linux Debian-8.2 with fpc 3.0.2 install ok, but, compile and running find "error while linking", compile stop.


« Last Edit: March 03, 2017, 11:05:36 am by ecrypt »
-Lazarus 2.2.7 64bit (Kubuntu-.22.04 amd64)
-ZeosDBO-7.xx
-PostgreSQL-14.3, SQLite-3

Cyr

  • Newbie
  • Posts: 6
Re: Lazarus 1.6.4 - Released
« Reply #22 on: March 03, 2017, 12:21:20 pm »
Lazarus-1.6.4-amd64 for Linux Debian-8.2 with fpc 3.0.2 install ok, but, compile and running find "error while linking", compile stop.
Same error on the clean Linuxmint 64 Rosa

Eugene Loza

  • Hero Member
  • *****
  • Posts: 656
    • My games in Pascal
Re: Lazarus 1.6.4 - Released
« Reply #23 on: March 03, 2017, 12:55:19 pm »
There's a typo in README.md
Quote
lazarus-1.6.4-fpc-3.0.0-win64.exe
should be
Quote
lazarus-1.6.4-fpc-3.0.2-win64.exe
and so on.

https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%201.6.4/
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

lazie

  • New member
  • *
  • Posts: 9
Re: Lazarus 1.6.4 - Released
« Reply #24 on: March 03, 2017, 01:05:00 pm »
When compiling whole lazarus, I get more messages about a linking-problem:

...
/usr/bin/ld: /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
/usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Error: (9013) Error while linking
/usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
make: *** [idepkg] Error 2
Makefile:4004: recipe for target 'lazarus' failed
make[2]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
Makefile:4430: recipe for target 'idepkg' failed
make[1]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
Makefile:3074: recipe for target 'idepkg' failed
make: Leaving directory '/usr/share/lazarus/1.6.4'

lazie

  • New member
  • *
  • Posts: 9
Re: Lazarus 1.6.4 - Released
« Reply #25 on: March 03, 2017, 01:44:49 pm »
Can anybody tell something about the background of the changings with the renaming of the downloadable file:

In time of 1.6.2 the name changed ("project" in name) - AND also it did not work for debian 8 anymore (near compiling)....
lazarus_1.6.2-0_amd64.deb (inst. every time OK) - changed to - lazarus-project_1.6.2-0_amd64.deb (never OK)

Since that time also the next new release did not compile (/ link).
(lazarus-project_1.6.4-0_amd64.deb)
« Last Edit: March 03, 2017, 07:54:11 pm by lazie »

Eugene Loza

  • Hero Member
  • *****
  • Posts: 656
    • My games in Pascal
Re: Lazarus 1.6.4 - Released
« Reply #26 on: March 03, 2017, 01:54:17 pm »
it did not work for debian 8 anymore (near compiling)....
I'm under Debian 8 (Jessie) x64 and both Lazarus 1.6.2 and 1.6.4 work for me.
While rebuilding the IDE I got an ambiguous "error while linking", however, I quickly solved it by searching this forum.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

ASwedan

  • Newbie
  • Posts: 1
Re: Lazarus 1.6.4 - Released
« Reply #27 on: March 03, 2017, 02:20:11 pm »
many many thanks lazarus team. well done.
ألف مبروك لمبرمجي فري باسكال، وتحية لفريق عمل لازاروس. أبدعتم.

guest58172

  • Guest
Re: Lazarus 1.6.4 - Released
« Reply #28 on: March 03, 2017, 03:33:54 pm »
Thanks, especially for the trailing null fix. What a relief.

BSaidus

  • Hero Member
  • *****
  • Posts: 538
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Lazarus 1.6.4 - Released
« Reply #29 on: March 03, 2017, 03:55:06 pm »
hen ...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..... thank you very much for all your efforts.  :D ;D
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

 

TinyPortal © 2005-2018