Sign in Join

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

Mailing lists / fpc-pascal / 2015-11

fppkg compiler upgrade

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner

Hi,

I have fpc 2.6.4 on Linux and "fppkg list" shows the 2.6.4 packages. Then I install fpc 3.1.1 using "make install".
fppkg still shows the 2.6.4 packages.

What is the proper way of upgrading fppkg?

The wiki page does not tell me:
http://wiki.lazarus.freepascal.org/fppkg

Mattias

Mattias Gaertner
to leledumbo
Show quoted text 7 lines
> What is the proper way of upgrading fppkg? $ rm ~/.fppkg/config/default now rerun fppkg, it should create a new config. if it still shows 2.6.4, that means your 3.1.1 is inaccessible or has lower precedence than your 2.6.4.

Thanks.
Should I add this to the wiki?

Is this also needed when installing FPC with the other installers like deb, rpm, install.sh?

Mattias

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 13 lines
On Sun, 22 Nov 2015 20:55:14 -0700 (MST) leledumbo wrote: >> What is the proper way of upgrading fppkg? > > $ rm ~/.fppkg/config/default > > now rerun fppkg, it should create a new config. if it still shows 2.6.4, > that means your 3.1.1 is inaccessible or has lower precedence than your > 2.6.4. Thanks. Should I add this to the wiki?

Yes; But please mention that this is one way of doing it; I copied the ~/.fppkg/config/default to ~/.fppkg/config/3.1.1 and then use
fppkg -c 3.1.1

Is this also needed when installing FPC with the other installers like deb, rpm, install.sh?

Yes.

Michael.