Recent

Author Topic: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)  (Read 100235 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #15 on: October 14, 2017, 12:48:24 am »
I would expect that once you set it correct, it should be fine.

But you need to ask someone from the fpc team, how exactly ppc is found by fcp, and which places are searched.

Note that it looks that you had an 3.1.1 install at C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe

So inside the C:\lazarus18rc5.

That would be why the IDE picked it up when creating its initial conf.
The IDE looks in a few places itself, but only when it runs "setup", after that it sticks to config.


Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #16 on: October 14, 2017, 12:58:44 am »
Hi Martin,

Just checked the ppc in my rc5 folder and it reports itself as 3.0.4.
I am getting a little nervous now as to why it picked up the 3.1.1. and if it will do this again, i suspect its my config as I do have 3.1.1 installed.

Its midnight here now; so I will do some diagnostics tomorrow, if i can compile some bigs apps and packages and they all compile using 3.0.4 as its now set with its full path, Its not a big deal.

Maybe I should have tested some other RC version prior ..

« Last Edit: October 14, 2017, 01:00:42 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #17 on: October 14, 2017, 01:46:04 am »
Note the diff in the 2 pathes:

Code: Pascal  [Select][+][-]
  1. C:\lazarus18rc5\fpc\3.0.4\bin\i386-win32\
  2. C:\lazarus18rc5\fpc\bin\i386-win32\
  3.  

The upper one is good, and comes with the install.

The lower one does not come with the install, but can be found in your log.
But the lower one is all over your log. It got used, and it has the wrong fpc.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #18 on: October 14, 2017, 02:11:06 am »
Hi

This is what is worrying me a bit, that folder does not exist in my install, even though it's in the log....

I posted a screen capture of the folders and files previously, where you can see the folder fpc/bin/...  is not listed.

i think I will remove the whole install and start again, can I just remove the folder and start again, or is there a special means to remove it.

I have used fpcupdeluxe for a while now and everything is kept in install folder, from memory of a few years back laz kept settings in various locations.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #19 on: October 14, 2017, 02:32:08 am »
If that folder does not exist, then that is strange indeed.

That output is all done by fpc.

But if you look back at the data, you posted from the IDE view menu: IDE internals: The same wrong path was detected by the IDE.
So the IDE too thought that the folder exists.

----------------

You can just delete the folder.

The only thing outside the folder is the registry entry that says where the uninstaller is (not used by lazarus, just by innodb)

I am not sure that is kept for 2ndary installs.

Also startmenu entry, if you created it.

The config was in the forder, since you did set it the same folder.
I recommend c:\lazarusrc5\conf for that



Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #20 on: October 14, 2017, 02:40:30 am »
I'll remove and try again later today, its 1:30am now; so a clear head for next time I think is the order of the day.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #21 on: October 14, 2017, 12:46:22 pm »
Update
My problem is the fact that I have my fpc 311 set in my system path.
Attached issues when fpc311 is set in PATH.

If i remove from path and install, it all goes well and all locations are set correctly.



The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Eugene Loza

  • Hero Member
  • *****
  • Posts: 656
    • My games in Pascal
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #22 on: October 14, 2017, 02:07:55 pm »
Cool!!!! Thank you!
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

ahiggins

  • Jr. Member
  • **
  • Posts: 92
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #23 on: October 16, 2017, 11:24:01 am »
great work, many thanks

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #24 on: October 16, 2017, 03:48:33 pm »
If i remove from path and install, it all goes well and all locations are set correctly.
Even make in path can cause problems. This is a BAT workaround for CodeTyphon Win32 that could be adapted to work with Lazarus:
Code: Pascal  [Select][+][-]
  1. @echo off
  2. @set path=c:\codetyphon;c:\codetyphon\fpc\bin\i386-win32;c:\windows;c:\windows\system32
  3. c:
  4. cd c:\codetyphon\
  5. setup.bat
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #25 on: October 16, 2017, 07:09:35 pm »
I dont think a batch job is the way.

Also I am not sure how/if the path is used on other platforms.

I do think the setup screen of the IDE should warn, if there is an fpc in the laz_install/fpc  AND in $PATH.

Anyway this should probably go to mantis/bugtracker

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #26 on: October 17, 2017, 01:08:57 pm »
Hi there,

The installation went well for me. But when I tried to rebuild Lazarus with my previous confguration (Lazarus 1.8 Release 4), I got some errors in sourcefilemanager.pas. See screenshot

Thanks,

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #27 on: October 17, 2017, 02:25:59 pm »
Hi there,

The installation went well for me. But when I tried to rebuild Lazarus with my previous confguration (Lazarus 1.8 Release 4), I got some errors in sourcefilemanager.pas. See screenshot

Thanks,

JD

You are obviously not using a stable FPC release, so you have to keep your moving FPC branch/installation updated.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #28 on: October 17, 2017, 03:02:33 pm »
You are obviously not using a stable FPC release, so you have to keep your moving FPC branch/installation updated.

Are you trying to tell me that Lazarus 1.8 R5 is not stable?  :D :D
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #29 on: October 17, 2017, 03:45:51 pm »
Check that your Lazarus installation is using the correct version of FPC.
That is the one in your_laz_rc5_dir\fpc\3.0.4\....

Did you select "clean all" for the rebuild?

Did you make the install into an empty dir, or did you install over an old installation? (In case of the latter "clean all" may help, but not always)

 

TinyPortal © 2005-2018