Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-02

Easy way to install FPC 2.6.x on Mint Linux?

12 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

I am lazy and want to find the easiest way to install FPC 2.6.x on Mint Linux, which is compatible with Ubuntu.
Has anyone made a repository which can be used with apt-get?

Juha

Reply by email

Ludo Brands
to Juha Manninen
I am lazy and want to find the easiest way to install FPC 2.6.x on Mint Linux, which is compatible with Ubuntu. Has anyone made a repository which can be used with apt-get?

Grab it from the debian sid repository.

Ludo

Reply by email

Juha Manninen
to Juha Manninen

2012/2/20, Ludo Brands :

Grab it from the debian sid repository.

How?

Juha

2012/2/20, Juha Manninen :

Show quoted text 7 lines
2012/2/20, Ludo Brands : > Grab it from the debian sid repository. How? Juha

Reply by email

Ludo Brands
to Juha Manninen
Show quoted text 5 lines
2012/2/20, Ludo Brands : > Grab it from the debian sid repository. How?

I retract my proposal :) If you haven't installed from a foreign distribution repository before then there are too many risks for messing up your complete installation. You asked for an easy way: this isn't easy when never done something similar before.

Cant you use the debs from
http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/deb/ ? Or is that what you are trying to avoid?

Ludo

Reply by email

Juha Manninen
to Ludo Brands

2012/2/20, Ludo Brands :

Show quoted text 8 lines
I retract my proposal :) If you haven't installed from a foreign distribution repository before then there are too many risks for messing up your complete installation. You asked for an easy way: this isn't easy when never done something similar before. Cant you use the debs from http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/deb/ ? Or is that what you are trying to avoid?

I exactly wanted to avoid them. The download page looks like a joke. It has 44 files. How is one supposed to know which ones are needed? Or, if they are all needed, how do I download all of them without clicking them one-by-one?

There is the default .tar.gz package which has a good install script and I decided to go with that. Installing was easy but ...

Linking ../lazarus
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o when searching for /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o when searching for /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o
/usr/bin/ld: cannot find /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o /usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lc
lazarus.pp(136,1) Error: Error while linking
lazarus.pp(136,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

Now I don't have any working FPC on this system.
Earlier I have managed to build and use FPC trunk, even wrote documents about it
(http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_FPC_SVN_development_version) but now I can't install a released FPC version to the world's most popular Linux distro (Mint).

Uhhh, I became a distro-hopper again because of other serious problems with other distros.
It is funny how people still think the Debian based package system is the best. It was so maybe 10 or 15 years ago but not any more.

Juha

Reply by email

Mattias Gaertner
to Juha Manninen
Show quoted text 46 lines
2012/2/20, Ludo Brands : > I retract my proposal :) If you haven't installed from a foreign > distribution repository before then there are too many risks for messing up > your complete installation. You asked for an easy way: this isn't easy when > never done something similar before. > > Cant you use the debs from > http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/deb/ ? Or is > that what you are trying to avoid? I exactly wanted to avoid them. The download page looks like a joke. It has 44 files. How is one supposed to know which ones are needed? Or, if they are all needed, how do I download all of them without clicking them one-by-one? There is the default .tar.gz package which has a good install script and I decided to go with that. Installing was easy but ... Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o when searching for /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o when searching for /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o /usr/bin/ld: cannot find /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -ldl /usr/bin/ld: cannot find -lc lazarus.pp(136,1) Error: Error while linking lazarus.pp(136,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Now I don't have any working FPC on this system. Earlier I have managed to build and use FPC trunk, even wrote documents about it (http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_FPC_SVN_development_version) but now I can't install a released FPC version to the world's most popular Linux distro (Mint). Uhhh, I became a distro-hopper again because of other serious problems with other distros. It is funny how people still think the Debian based package system is the best. It was so maybe 10 or 15 years ago but not any more.

Don't blame Debian here.
The packages are meant for the repositories. IMO it makes not much sense to put these onto sf. IMO on sf should be only a few files to download.

Linux Mint:
That's what I did:

sudo apt-get install lazarus subversion build-essential

Now you have some old Lazarus, FPC and all needed libs.

Download the fpc+lazarus svn or zip and build the latest and greatest.

Mattias

Reply by email

Juha Manninen
to Henry Vermaak

2012/2/20 Henry Vermaak

Show quoted text 8 lines
On 20/02/12 14:03, Juha Manninen wrote: > It is funny how people still think the Debian based package system is > the best. It was so maybe 10 or 15 years ago but not any more. > These problems have nothing to do with Debian packages. You need to install some development libraries.

Which libraries? It used to work with 2.4.4.
The 44 files do have something to do with Debian packages. I guess the answer to my original question about an _easy_ way to install is: "no, there is no easy way".
I know I will manage to do it somehow after spending time with the issue. I also have other things to do and I really thought this could go without struggle.
IMO installation should go without struggle.

Juha

Reply by email

Juha Manninen
to Mattias Gaertner: On Mon, 20 Feb 2012 16:03:02 +0200 Don't blame Debian here. The packages are meant for…

2012/2/20 Mattias Gaertner

Show quoted text 9 lines
Linux Mint: That's what I did: sudo apt-get install lazarus subversion build-essential Now you have some old Lazarus, FPC and all needed libs. Download the fpc+lazarus svn or zip and build the latest and greatest.

Can you build FPC trunk with FPC 2.4.4. I guess not. So this is not really an easy way, but sure it can be done.

Juha

Reply by email

Rainer Stratmann
to Juha Manninen: 2012/2/20 Henry Vermaak Which libraries? It used to work with 2.4.4. The 44 files do have…
Juha Manninen wrote 17 lines
2012/2/20 Henry Vermaak > On 20/02/12 14:03, Juha Manninen wrote: >> It is funny how people still think the Debian based package system is >> the best. It was so maybe 10 or 15 years ago but not any more. > > These problems have nothing to do with Debian packages. You need to > install some development libraries. Which libraries? It used to work with 2.4.4. The 44 files do have something to do with Debian packages. I guess the answer to my original question about an _easy_ way to install is: "no, there is no easy way". I know I will manage to do it somehow after spending time with the issue. I also have other things to do and I really thought this could go without struggle. IMO installation should go without struggle.

Yes the discussion is always the same.

Isn't it possible to put all in one directory and then easy install?

Reply by email

Peter
to Juha Manninen: 2012/2/20, Ludo Brands : How? Juha
Juha Manninen wrote 12 lines
2012/2/20, Ludo Brands: > Grab it from the debian sid repository. > How? Juha _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Start from here
http://packages.debian.org/sid/fp-compiler

and use gdebi-gtk to install them. It worked for me, but please heed Ludo's words of caution.

The fp-compiler-2.6.0 package is a meta package that just states other packages for inclusion. One can follow the links on the site for dependencies & recommends, and each has a short descrition there.

Pete

Reply by email