Lazarus

Programming => Packages and Libraries => Topic started by: regent@air-g.net on May 09, 2019, 02:39:07 am

Title: idemake.cfg not found if accute in file path
Post by: regent@air-g.net on May 09, 2019, 02:39:07 am
With lazarus 2.0.0 RC3 and below all was working fine whwn rebuilding IDE after adding package

with 2.0.0 finale and 2.0.2 install goes well and IDE opens, but if i add a package and try to rebuild IDE i get

C:\Users\RÙgent\AppData\Local\lazarus\idemake.cfg is missing

it should be:
C:\Users\Régent\AppData\Local\lazarus\idemake.cfg

If i un-install all and re-install 2.0.0 RC3 all is working again when i rebuild
Title: Re: idemake.cfg not found if accute in file path
Post by: khoward on May 15, 2019, 03:49:23 pm
Hi Regent,
I can confirm similar behavior, except, with mine, it removes all of the slashes from the directory path! :(
It worked in 2.0, but 2.0.2 does not work. 
I get: 
Fatal: Unable to open file C:UserskhowardAppDataLocallazarusidemake.cfg -dx86_64
If you should find a solution, I'm most interested.I'll let you know if I learn anything as well.
Thanks!
Keith
Title: Re: idemake.cfg not found if accute in file path
Post by: af0815 on May 16, 2019, 07:33:53 am
it should be:
C:\Users\Régent\AppData\Local\lazarus\idemake.cfg
It looks you have a special character in your path, this (can) make troubles.
Title: Re: idemake.cfg not found if accute in file path
Post by: khoward on May 16, 2019, 04:48:07 pm
Hi Andreas,
As Regent and myself pointed out, though, it used to work in an earlier version.I suppose we are looking for confirmation and, perhaps if enough other people experience this, file a bug report.My situation is really weird though.....no directory slashes for some reason.I installed Laz 2.0.2 on a spare laptop and I can rebuild the IDE....no problem.I don't know what the difference could be.
Thanks.
Keith
Title: Re: idemake.cfg not found if accute in file path
Post by: ducagheorghe on August 21, 2019, 01:24:38 pm
Hi, I'm a beginner in Lazarus and I have a problem starting with version 2.0.2. If I try to install a new component I receive the following error message:
Build IDE: Exit code 2, Errors: 1, Warnings: 1
Warning: svn not in path.
Fatal: Unable to open file C: LazarusConfigidemake.cfg -di386
The real parh is
  C: \ LazarusConfig \ idemake.cfg -di386
I use windows 8.1 and Lazarus 2.0 works well. Lazarus 2.0.2 and 2.0.4 displays the above error.
Do you have any answers?
Title: Re: idemake.cfg not found if accute in file path
Post by: marcov on August 21, 2019, 03:24:04 pm
Problems with backslashes is typically something with non lazarus provided make/binutils/shellutils in the path. (e.g. mingw or cygwin).

Accents is a different matter, but could be related also.
Title: Re: idemake.cfg not found if accute in file path
Post by: mattias on November 06, 2019, 05:25:10 pm
The bug appears only on some systems. It seems there is a conflict with some tools in PATH.

Lazarus trunk and fixes now adds " quotes around idemake.cfg only if there are spaces.