Sign in Join

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

Mailing lists / fpc-devel / 2004-07

path problems in lastest fpc snap

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Unknown author

D:\Lazarus>make
make -C lcl all
make[1]: Entering directory `D:/Lazarus/lcl'
d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu d:/fpc/bin/win32/ppc386.exe -gl -Fu. -Fuwidgetset -Fiinclude -FUunits/i386/win32 -di386 alllclunits.pp
Hint: End of reading config file d:\fpc\bin\win32\fpc.cfg Free Pascal Compiler version 1.9.5 [2004/07/24] for i386 Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling alllclunits.pp
Compiling filectrl.pp
Compiling stdctrls.pp
Compiling graphics.pp
Fatal: Can't find unit CONTNRS
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `D:/Lazarus/lcl'
make: *** [lcl] Error 2

D:\Lazarus>

Reply by email

Jonas Maebe
to Unknown author
Show quoted text 17 lines
D:\Lazarus>make make -C lcl all make[1]: Entering directory `D:/Lazarus/lcl' d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu d:/fpc/bin/win32/ppc386.exe -gl -Fu. -Fuwidgetset -Fiinclude -FUunits/i386/win32 -di386 alllclunits.pp Hint: End of reading config file d:\fpc\bin\win32\fpc.cfg Free Pascal Compiler version 1.9.5 [2004/07/24] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp Compiling filectrl.pp Compiling stdctrls.pp Compiling graphics.pp Fatal: Can't find unit CONTNRS make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `D:/Lazarus/lcl'

There is no path problem with the compiler. You probably have some release installed, which is why compiler could find the necessary pacakges/fcl units without you specifying where they were. Newer compilers may have an incompatible ppu format, which means they can't use the older compiled units anymore. They will then try to recompile those units, which is what you are seeing above.

You can work around the omissions in Lazarus' makefile by adding the appropriate units paths using make
OPT="-Fu/path/to/necessary/snapshot/units"

Jonas

Reply by email

Joost van der Sluis
to Jonas Maebe

Hi all,

i have some fixes for the database implementation in FCL.

Changes in interbase.pp:
* Removed unused Fprepared
* Changed the error message 'database connect string not filled in' to 'database connect string (databasename) not filled in'
* Preparestatement and execute now checks if transaction is assigned (in stead of crashing if it isn't) and if the transaction isn't started, it calls starttransaction.

Changes in dataset.inc:
* In DoInternalOpen the buffers are now initialised before the dataset is set into browse-state

Changes in database.inc and db.pp:
* If the dataset is created from a stream, the database is opened after the dataset is read completely

Joost van der Sluis CNOC

Reply by email

Unknown author
to Jonas Maebe: There is no path problem with the compiler. You probably have some release installed,…

The snap should contain the latest units!???

Jonas Maebe wrote 41 lines
On 24 jul 2004, at 16:31, wrote: > D:\Lazarus>make > make -C lcl all > make[1]: Entering directory `D:/Lazarus/lcl' > d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu > d:/fpc/bin/win32/ppc386.exe -gl -Fu. -Fuwidgetset -Fiinclude > -FUunits/i386/win32 -di386 alllclunits.pp > Hint: End of reading config file d:\fpc\bin\win32\fpc.cfg > Free Pascal Compiler version 1.9.5 [2004/07/24] for i386 > Copyright (c) 1993-2004 by Florian Klaempfl > Target OS: Win32 for i386 > Compiling alllclunits.pp > Compiling filectrl.pp > Compiling stdctrls.pp > Compiling graphics.pp > Fatal: Can't find unit CONTNRS > make[1]: *** [alllclunits.ppu] Error 1 > make[1]: Leaving directory `D:/Lazarus/lcl' There is no path problem with the compiler. You probably have some release installed, which is why compiler could find the necessary pacakges/fcl units without you specifying where they were. Newer compilers may have an incompatible ppu format, which means they can't use the older compiled units anymore. They will then try to recompile those units, which is what you are seeing above. You can work around the omissions in Lazarus' makefile by adding the appropriate units paths using make OPT="-Fu/path/to/necessary/snapshot/units" Jonas _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Jonas Maebe
to Unknown author
The snap should contain the latest units!???

It does, but they don't overwrite the units installed by your release (not under *nix anyway, I don't know about the win32 version). As such, the new compiler is probably still trying to use old units.

Jonas

Reply by email

Unknown author
to Joost van der Sluis: Ok, since my development-machine had no internet-connection i've made the patch files…
Joost van der Sluis wrote 5 lines
> i have some fixes for the database implementation in FCL. Ok, since my development-machine had no internet-connection i've made the patch files myself, but the database.diff wasn't correct. Here are the right ones.

Thank you. Reviewed and applied.

Micha, this may solve your bug with the resync[] in an empty database ?

Michael.

Reply by email