Recent

Author Topic: Lazarus Release Candidate 3 of 1.8  (Read 60783 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3168
    • StrumPract is the musicians best friend
Re: Lazarus Release Candidate 3 of 1.8
« Reply #45 on: August 01, 2017, 11:30:59 pm »
@ Juha. > We cannot change Ubuntu or Mint repositories as you should know.

I know this and it is why I do not understand why you choose to give  only DEB package (highly linked with update from Ubuntu/Mint).
It would not be problems if there was no Lazarus package in the Ubuntu/Mint repository.

But there are and always outdated --> this make conflict.

And of course it is possible to use source and built all Lazarus.  But I think to all the no-guru people.

By the way, would it be so difficult that one of the Lazarus team compress his /Lazarus/ folder and gives it for release ?

Fre;D
« Last Edit: August 01, 2017, 11:34:07 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9857
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 3 of 1.8
« Reply #46 on: August 02, 2017, 01:17:40 am »
I don't know all the details about the various linux installers.

But afaik, the point is that they install dependencies (like various ...-dev packages).

So if you never had Lazarus installed on / or a new setup linux system, then simply copying someone else's folder will not work. You will get errors when you try to work with it.

The same applies to building from source.

I do not know if a script could easily solve this. But it would have - on each system - to successfully detect the exact syntax for installing each dependency.

I always thought that was why dep and rpm exist.

-----------------
From what I read in this thread:
- The problem is not deb/rpm itself, but that they (there content) conflicts.

So what exactly conflicts?

The name? The install directory?

I don't build those installers, so I don't know if any of this here will end up to change them.
But hypothetically would it help if name and target dir would be changed?

Btw does the installer that executes the deb file has option to specify overrides?

RayoGlauco

  • Full Member
  • ***
  • Posts: 179
  • Beers: 1567
Re: Lazarus Release Candidate 3 of 1.8
« Reply #47 on: August 02, 2017, 08:58:15 am »
I use Linux Mint and I know the Lazarus package on this repository is always outdated. So, I download the last version of .deb Lazarus package from http://lazarus-ide.org/
I think it is not so annoying or difficult.
To err is human, but to really mess things up, you need a computer.

Thaddy

  • Hero Member
  • *****
  • Posts: 14364
  • Sensorship about opinions does not belong here.
Re: Lazarus Release Candidate 3 of 1.8
« Reply #48 on: August 02, 2017, 10:19:30 am »
And of course it is possible to use source and built all Lazarus.  But I think to all the no-guru people.

By the way, would it be so difficult that one of the Lazarus team compress his /Lazarus/ folder and gives it for release ?

Fre;D
That's nonsense
It is a no brainer to build from source. Learn once, works everywhere... ;D ;D ;D
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Handoko

  • Hero Member
  • *****
  • Posts: 5150
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Candidate 3 of 1.8
« Reply #49 on: August 02, 2017, 10:36:52 am »
Do you have plan to give a zipped version of Lazarus for Linux (not a DEB file, a zip like fpc does) ?
This because using DEB file gives lot of problem with Linux Ubuntu/Mint.

What is the problem of using Lazarus deb file on Ubuntu? Can you provide more info or screenshots?

I've been using Lazarus using deb file installation on Ubuntu Mate but never have any serious problem. I admit sometimes it said something conflicting but simply ignoring that message then everything will work correctly.

m.abudrais

  • Jr. Member
  • **
  • Posts: 52
Re: Lazarus Release Candidate 3 of 1.8
« Reply #50 on: August 02, 2017, 11:50:48 am »
when you try to install any software after lazarus
you get errors like this:
Code: Pascal  [Select][+][-]
  1. Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution)
and
Code: Pascal  [Select][+][-]
  1. fp-units-fcl : Depends: fp-units-fcl-3.0.0 (= 3.0.0+dfsg-2) but it is not going to be installed
  2. thi
that was ubuntu 16 ,(in virtual box)
in ubuntu 17 i have no problem.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Lazarus Release Candidate 3 of 1.8
« Reply #51 on: August 02, 2017, 12:09:21 pm »
that was ubuntu 16 ,(in virtual box)
in ubuntu 17 i have no problem.
Indeed the problems depend on OS version. This makes the task for Lazarus team quite difficult. There should be installation packages for many distros and even many versions of them.
Mattias has built the .deb and .rpm packages so far. I believe he has also many other things to do.
If many different installation packages are really needed, somebody must volunteer to build and deliver them. Anybody?

A valid solution for people struggling with those packages is to switch to a rolling distro.
Their package systems are more advanced than DEB or RPM systems. Things have advanced in the last 15+ years ...
For example when FPC 3.0.4 will be released, my Manjaro will have it in a week or 2 without any effort from my side. The same will happen with the coming Lazarus 1.8.
Recommended.
« Last Edit: August 02, 2017, 12:15:22 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Handoko

  • Hero Member
  • *****
  • Posts: 5150
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Candidate 3 of 1.8
« Reply #52 on: August 02, 2017, 01:27:14 pm »
when you try to install any software after lazarus
you get errors like this:
Code: Pascal  [Select][+][-]
  1. Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution)
and
Code: Pascal  [Select][+][-]
  1. fp-units-fcl : Depends: fp-units-fcl-3.0.0 (= 3.0.0+dfsg-2) but it is not going to be installed
  2. thi
that was ubuntu 16 ,(in virtual box)
in ubuntu 17 i have no problem.

Please provide more information. Did you install it using Ubuntu Software Center or deb files provided by Lazarus team?

You should not use Ubuntu Software Center, it is a very bad tool. Alternatively you can try Synaptic Package Manager. Here is how I install Lazarus on Ubuntu Mate:

1. Remove all of them (Lazarus, FPC, FPC sources)
2. Retart you computer. Yes, do it. It ever caused me headache.
3. Download the 3 deb files.
4. Install fpc_3.0.2-170225_amd64.deb
5. Install fpc-src_3.0.2-170225_amd64.deb
6. Install lazarus-project_1.6.4-0_amd64.deb
7. Use Synaptic Package Manager to lock version of the installed things

Notes:
- The file names in step #4, #5, #6 may be different.
- If you get version conflict warning, ignore it and nothing bad will happen
- Ubuntu will ask you to use their version, don't use theirs.
- Your installation will be replace with Ubuntu's version when updating software, so you need to do step #7

Fred vS

  • Hero Member
  • *****
  • Posts: 3168
    • StrumPract is the musicians best friend
Re: Lazarus Release Candidate 3 of 1.8
« Reply #53 on: August 02, 2017, 01:39:44 pm »
> That's nonsense

No, God Thaddy Who Knows All Better Than Others And That Criticize Code Without To Read It, it has sense.  fpc does it (+ give a install-script), CT does it (and it works perfectly), MSEgui-ide does it, ideU does it.

Fre;D
« Last Edit: August 02, 2017, 01:53:04 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

ecrypt

  • New Member
  • *
  • Posts: 16
Re: Lazarus Release Candidate 3 of 1.8
« Reply #54 on: August 02, 2017, 01:41:28 pm »
when you try to install any software after lazarus
you get errors like this:
Code: Pascal  [Select][+][-]
  1. [b]Unmet dependencies[/b]. Try ‘apt-get -f install’ with no packages (or specify a solution)
and
Code: Pascal  [Select][+][-]
  1. fp-units-fcl : Depends: fp-units-fcl-3.0.0 (= 3.0.0+dfsg-2) but it is not going to be installed
  2. thi
that was ubuntu 16 ,(in virtual box)
in ubuntu 17 i have no problem.

That is an error, because dependencies not completed install
-Lazarus 2.2.7 64bit (Kubuntu-.22.04 amd64)
-ZeosDBO-7.xx
-PostgreSQL-14.3, SQLite-3

Fred vS

  • Hero Member
  • *****
  • Posts: 3168
    • StrumPract is the musicians best friend
Re: Lazarus Release Candidate 3 of 1.8
« Reply #55 on: August 02, 2017, 01:51:47 pm »
> Can you provide more info or screenshots?

And, sorry, but fpc.cfg is there in /etc/.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3168
    • StrumPract is the musicians best friend
Re: Lazarus Release Candidate 3 of 1.8
« Reply #56 on: August 02, 2017, 02:01:17 pm »
That's nonsense
It is a no brainer to build from source. Learn once, works everywhere... ;D ;D ;D

For me, a release 1.8 that has is called 1.6.4 (in deb package)  has no sense.
Also, IMHO, a release is a compiled version of a program, not source that must be compiled.

And for you Thaddy:

Read once before to comment everywhere...

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Lazarus Release Candidate 3 of 1.8
« Reply #57 on: August 02, 2017, 02:13:21 pm »
Also, IMHO, a release is a compiled version of a program, not source that must be compiled.
Yes, true, but the fact remains that Lazarus is easier to build from sources than eg. FPC.
It does not really require installation, just start it from its directory from console or by a shortcut.
So, building from sources is a good workaround for this problem.

In a perfect world we would have installation packages for every OS and all their versions, but we don't until somebody builds and maintans them.
Maybe you could help with the packages?

That is an error, because dependencies not completed install
No, I think it is related to the distro (Ubuntu, Mint) version. I remember similar reports earlier. I don't know details of what cause it.
Yes, it is a problem but not a big one because we have easy workarounds and solutions.
My personal favorite solution is to use a rolling Linux distro.
« Last Edit: August 02, 2017, 02:17:09 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Handoko

  • Hero Member
  • *****
  • Posts: 5150
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Candidate 3 of 1.8
« Reply #58 on: August 02, 2017, 04:00:05 pm »
> Can you provide more info or screenshots?

And, sorry, but fpc.cfg is there in /etc/.

Fre;D

Maybe you can try to completely remove the leftovers of the previous installation before you install/update the newer version:

01. Uninstall lazarus, fpc, fpc-src
02. Delete ~/.lazarus, except: editoroptions, environmentoptions
03. Delete /etc/fp.*
04. Delete /usr/share/fpcsrc
05. Delete /usr/lib/fpc
06. Delete /usr/bin/ppc*

The steps above tested on Ubuntu Mate, so far it never fails me. On the step #2 I keep editoroptions and environmentoptions because I want to keep the settings I have made on my IDE.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus Release Candidate 3 of 1.8
« Reply #59 on: August 02, 2017, 04:05:20 pm »
Also, IMHO, a release is a compiled version of a program, not source that must be compiled.

And for you Thaddy:

Read once before to comment everywhere...

Fre;D
I'am a little in between, for me it's still a release, if the source is compiled on installation. But after that, it has to be usable, meaning after installaton there have to be binaries, ready to use.
JEDI used to do something like that in their installation.     
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

 

TinyPortal © 2005-2018