Recent

Author Topic: Lazarus 0.9.31 + FPV 2.5.1 snapshot  (Read 17671 times)

Lacak2

  • Guest
Lazarus 0.9.31 + FPV 2.5.1 snapshot
« on: March 30, 2011, 10:57:20 am »
Hi,
I have just downloaded latest snapshot: Lazarus-0.9.31-30077-fpc-2.5.1-20110330-win32.exe

When I install and run, "Configure Lazarus IDE" dialogs appears, saying, that fpc.cfg is missing.
When I copy fpc.cfg from another instalation (Lazarus 0.9.31 + FPC 2.4.3) and replace "2.4.3" with "2.5.1" inside file. I can continue.

So it seems, that fpc.cfg is missing from installation package ?


TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #1 on: March 30, 2011, 01:49:45 pm »
Even though some other problems could contribute to Lazarus not finding some files, isn't it stated that snapshots are untested?

Perhaps you should try another day's snapshot when that happens?
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

eny

  • Hero Member
  • *****
  • Posts: 1595
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #2 on: March 30, 2011, 01:56:14 pm »
Even though some other problems could contribute to Lazarus not finding some files, isn't it stated that snapshots are untested?
Nothing wrong with signaling problems.
All posts based on: Win10 (Win64); Lazarus 1.8.0 'stable' (#56594 win64) unless specified otherwise...

Takeda

  • Full Member
  • ***
  • Posts: 157
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #3 on: May 04, 2011, 09:19:31 am »
Hi,
I have just downloaded latest snapshot: Lazarus-0.9.31-30077-fpc-2.5.1-20110330-win32.exe

When I install and run, "Configure Lazarus IDE" dialogs appears, saying, that fpc.cfg is missing.
When I copy fpc.cfg from another instalation (Lazarus 0.9.31 + FPC 2.4.3) and replace "2.4.3" with "2.5.1" inside file. I can continue.

So it seems, that fpc.cfg is missing from installation package ?



The problems is appear on me too and applied on me.
I have no idea, how to resolve this problems (I mean, not using "Copy-Paste" the other fpc.cfg)  :'(
Call me Takeda coz that's my true name.
Pascal coding using Lazarus => "Be native in any where.."

ƪ(˘⌣˘)┐ ƪ(˘⌣˘)ʃ ┌(˘⌣˘)ʃ

kodok_buncit

  • New Member
  • *
  • Posts: 33
    • fajardelphiscript
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #4 on: May 04, 2011, 09:59:08 am »
hello
try this
Quote
This can be done with the fpcmkcfg tool in the fpc bin directory. Steps:

 In a console, cd into the bin directory, e.g. C:\freepascal\fpc\2.4.3\bin\i386-win32.
 Enter: fpcmkcfg -d basepath=C:\freepascal\fpc\2.4.3\bin\i386-win32 -o fpc.cfg

source : http://wiki.lazarus.freepascal.org/Installing_Lazarus#STEP_.234:_Create_fpc.cfg_file
Peace and blessings be upon you all

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #5 on: August 31, 2011, 09:39:18 pm »
I don't get it. It is 31.08.2011 and the problem still exists in snapshots. (Lazarus-0.9.31-32127-fpc-2.5.1-20110831-win32.exe)

I know that it is untested software but I think it would be good for the software to atleast allow user to run it...

Half of year ago I did not have to craete fpc.cfg file and I did not have to explicitly pick path for fpc source files when I've downloaded a snapshot with bundled FPC.

I think that this is a step backward :( I've wasted 30 minutes of time for this instead of coding.

Just my point of view.

Regards.

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #6 on: September 01, 2011, 09:41:06 am »
Code: [Select]
D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32>fpcmkcfg.exe -d basepath=D:\pascal\la
zarus\fpc\2.5.1\bin\i386-win32 -o fpc.cfg
Error: Directory of file "fpc.cfg" does not exists. User -p to force creation.

D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32>fpcmkcfg.exe -d basepath=D:\pascal\la
zarus\fpc\2.5.1\bin\i386-win32 -o fpc.cfg -p
An unhandled exception occurred at $00414D49 :
EInOutError : Cannot create empty directory
  $00414D49
  $00403550
  $004038B4

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #7 on: September 01, 2011, 10:51:09 am »
I don't get it. It is 31.08.2011 and the problem still exists in snapshots. (Lazarus-0.9.31-32127-fpc-2.5.1-20110831-win32.exe)
Patches welcome, see bug:
http://bugs.freepascal.org/view.php?id=19895

@User137: try using a trailing backslash - I thought this might fix it - e.g.
Code: [Select]
D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32>fpcmkcfg.exe -d basepath=D:\pascal\la
zarus\fpc\2.5.1\bin\i386-win32\ -o fpc.cfg
or, even safer if you're in a different directory:
Code: [Select]
D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32>D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32\fpcmkcfg.exe -d basepath=D:\pascal\la
zarus\fpc\2.5.1\bin\i386-win32\ -o D:\pascal\la
zarus\fpc\2.5.1\bin\i386-win32\fpc.cfg
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #8 on: September 01, 2011, 11:28:51 am »
The last version executed from D:\ worked i think, no errors but no messages either and Lazarus doesn't complain about cfg.

However it complains about this if i try to run any or new empty application, or even if trying to BuildAll Lazarus:
Quote
D:\pascal\lazarus\packager\registration\registerfcl.pas(1,1) Fatal: Can't find unit ServiceManager used by RegisterFCL

I can find 3 files (.o .ppu .pas) of it under fpc 2.5.1 folder, for example
D:\pascal\lazarus\fpc\2.5.1\source\packages\fcl-extra\src\win\ServiceManager.pas

In Lazarus i configured directories for
Compiler path: D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32\fpc.exe
FPC source: D:\pascal\lazarus\fpc\2.5.1\source\
Make: D:\pascal\lazarus\fpc\2.5.1\bin\i386-win32\make.exe

Hmm i'll try this guide http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063956.html

Yeah that was it.
-Fu$LOCAL_APPDATA\FreePascal\fppkg/units/$FPCTARGET/*
Needed to be changed in format, and now my projects run again:
-Fu C:\lazarus\fpc\2.5.1\units\i386-win32\*
« Last Edit: September 01, 2011, 11:35:56 am by User137 »

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #9 on: September 01, 2011, 01:16:43 pm »
I just tried it, but now when I start Lazarus, it runs "TrackBar Demo v0.1" instead of Lazarus.  How do I get Lazarus???
Lazarus Trunk / fpc 2.6.2 / Win32

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #10 on: September 01, 2011, 05:06:14 pm »
Happens to me a lot, too. For some reason the wrong code was compiled. On Windows, I'd delete lazarus.exe, rename the old version of Lazarus to lazarus.exe, recompiled clean, turned around 3 times anti-clockward, rescanned FPC source dir etc., then it worked. (In other words, I don't really know what I'm doing but it works in the end).
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #11 on: September 01, 2011, 06:28:17 pm »
Thanks BigChimp.

 I am glad that this is a bug. I was afraid that it was a "feature".  :)

jixian.yang

  • Full Member
  • ***
  • Posts: 173
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #12 on: September 21, 2011, 03:14:46 pm »
Yesterday Lazarus 0.9.31 svn with freepascal 2.7.1 svn was copied on clean system, the "Trackbar Demo" window appeared.

It only appeared since is is rebuilt with menu "Clean Up + Build All", not on command line.

I can not remember how times it was rebuilt yesterday but the same "Trackbar Demo" window did always appear.

Today after the two package IDE0.0 and jcfidelazarus2.0 installed, the IDE back.


Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #13 on: September 21, 2011, 03:19:21 pm »
Tools/Options/Configure Build Options.  Uncheck "Examples" in the upper left corner.  I have already reported in Bugtracker and it has been fixed I think, but maybe not yet available.  I hope this helps.  It drove me crazy for a while.
Lazarus Trunk / fpc 2.6.2 / Win32

jixian.yang

  • Full Member
  • ***
  • Posts: 173
Re: Lazarus 0.9.31 + FPV 2.5.1 snapshot
« Reply #14 on: September 21, 2011, 04:08:31 pm »
"unit not found: Classes" appears.
It is solved by click menu "Rescan FPC source directory".


 

TinyPortal © 2005-2018