Sign in Join

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

Mailing lists / fpc-pascal / 2014-03

Installer (2.6.4 win32) and path issues

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Bart

Hi,

I installed 2.6.4 for win32.
I removed the 2.6.4rc1 installation.
After that I wanted to rebuild Lazarus, so I did a "make clean all" in Lazarus dir, but got only errors.
This was because make was now the make from D7, because the installer appended the path to fpc (so it was last).
Easily fixed of course.

I would have expected that the isntaller would (or ask me if I wanted to) put the path to the new fpc in place of the path of the old fpc:

Old path:
C:\....;C:\path\to\fpc2.4.4;...;C:\Program Files(x86)\Delphi; New Path after installation
C:\....;C:\path\to\fpc2.4.4;...;C:\Program
Files(x86)\Delphi;C:\path\to\fpc2.4.6;

Desired Path:
C:\....;C:\path\to\fpc2.4.6;...;C:\Program Files(x86)\Delphi;

Did anybody else experience similar "problems"?

Bart

Reinier Olislagers
to Bart
Bart wrote 10 lines
I installed 2.6.4 for win32. I removed the 2.6.4rc1 installation. After that I wanted to rebuild Lazarus, so I did a "make clean all" in Lazarus dir, but got only errors. This was because make was now the make from D7, because the installer appended the path to fpc (so it was last). Easily fixed of course. I would have expected that the isntaller would (or ask me if I wanted to) put the path to the new fpc in place of the path of the old fpc:

I wouldn't expect the installer to automatically put your new fpc before anything else as it can mess up batch scripts that expect certain binaries etc (say Delphi make or some special grep).

As for whether it should ask... well, perhaps, but that does complicate things...

Bart
to Reinier Olislagers
Reinier Olislagers wrote
I wouldn't expect the installer to automatically put your new fpc before anything else as it can mess up batch scripts that expect certain binaries etc (say Delphi make or some special grep).

Every which way you loose?

As for whether it should ask... well, perhaps, but that does complicate things...

Complications are good.

I'll try to see what happens to D7 if I remove it's path fform %PATH%...

Bart

Reinier Olislagers
to Bart
Bart wrote 7 lines
On 3/14/14, Reinier Olislagers wrote: > I wouldn't expect the installer to automatically put your new fpc before > anything else as it can mess up batch scripts that expect certain > binaries etc (say Delphi make or some special grep). Every which way you loose?

Quite ;)

Tomas Hajny
to Bart: Every which way you loose? Complications are good. I'll try to see what happens to D7 if…
Bart wrote
> As for whether it should ask... well, perhaps, but that does complicate > things... Complications are good.

Are they?

Anyway - as far as I can see, the usual solution appearing with other programs on MS Windows is either defaulting new version to the directory used for the previous one and/or suggestion that you should uninstall the previous version before installing the new version and that you're on your own otherwise. ;-)

I guess that we can go beyond this by adding a more specific note about possibly necessary manual editing of the PATH variable if people decide to upgrade while keeping the previous version to the readme and FAQ...

Tomas

Marco van de Voort
to Tomas Hajny

In our previous episode, Tomas Hajny said:

Show quoted text 11 lines
Are they? Anyway - as far as I can see, the usual solution appearing with other programs on MS Windows is either defaulting new version to the directory used for the previous one and/or suggestion that you should uninstall the previous version before installing the new version and that you're on your own otherwise. ;-) I guess that we can go beyond this by adding a more specific note about possibly necessary manual editing of the PATH variable if people decide to upgrade while keeping the previous version to the readme and FAQ...

A small diagnose application might be also worth the effort.