Recent

Author Topic: [SOLVED] trunk: can not properly handle fppkg.cfg when start  (Read 9392 times)

baldzhang

  • New Member
  • *
  • Posts: 33
[SOLVED] trunk: can not properly handle fppkg.cfg when start
« on: February 24, 2020, 10:08:06 pm »
every time start lazarus, got the initial wizard because fppkg configuration problem (Fppkg reports that the RTL is not installed.)
try to do "Restore Fppkg configuration", not success.

already found why this happened:
in my environments have multi fpc version installed,
I put them all in C:\fpc directory, and by {FPCVERSION}-{TARGETOS} directory,
currently have: 3.0.4-win32, 3.0.4-win64, 3.2.0-win64,
lazarus-trunk was build by 3.2.0-win64

in the "Generate new Fppkg configuration files" dialog,
it said need a prefix that contain "3.2.0\units" and/or "3.2.0\fpmkinst"

in my situation, I can not give any valid prefix that contained "{FPCVERSION}\{units,fpmkinst}"
the multi fpc version layout was used for years and I think it's good for multi version co-exists

so, is there any **smarter** solution to make fppkg work? is this prefix required by fpc or lazarus?


@2020-03-03:
  I update my build scripts, now put win32/win64 to c:\fpc\3.2.0 directory together.
« Last Edit: March 03, 2020, 08:35:20 pm by baldzhang »

loaded

  • Hero Member
  • *****
  • Posts: 824
Re: [SOLVED] trunk: can not properly handle fppkg.cfg when start
« Reply #1 on: January 27, 2022, 07:09:29 am »
I faced such a problem today and I developed a solution as follows. Let's put it here, maybe it will help someone one day.
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

nachoap

  • New Member
  • *
  • Posts: 22
Re: [SOLVED] trunk: can not properly handle fppkg.cfg when start
« Reply #2 on: August 17, 2022, 06:23:34 pm »
I faced such a problem today and I developed a solution as follows. Let's put it here, maybe it will help someone one day.

Works fine. Thank you very much.

Blavatsky

  • New Member
  • *
  • Posts: 10
Re: [SOLVED] trunk: can not properly handle fppkg.cfg when start
« Reply #3 on: August 16, 2023, 02:31:05 am »
after some time....
the filepath appeared in the lower window

C:\Users\########-########\AppData\Local\FreePascal\fppkg\fppkg.cfg

so I did a copy and paste then deleted the filename at the end of the path statement then clicked select. It seemed to work after that little hiccup

thewoho

  • Newbie
  • Posts: 1
Re: [SOLVED] trunk: can not properly handle fppkg.cfg when start
« Reply #4 on: October 10, 2023, 07:01:48 pm »
Yes it works, Blavatsky.

Restore the fppkg.cfg button. -> Next
Copy the "Fppkg configuration:" generated route, without the "fppkg.cfg" at the end. -> Next
Paste it in the browser text input. -> OK

That's it.

A link in spanish https://www.youtube.com/watch?v=aW8GtEAETV4

 

TinyPortal © 2005-2018