[Lazarus] TIniFile bug?
Kjow
antispammoni at gmail.com
Tue May 18 14:13:43 CEST 2010
On Tue, 18 May 2010 09:37:34 +0800
Brad Campbell <brad at wasp.net.au> wrote:
> > Mattias Gärtner wrote:
> >> No, no. You have probably just some wrong source paths (too many)
> >> which created duplicate ppu files.
>
> Ok, I'm pretty sure there is a bug here.
> Steps to reproduce.
>
> rm ~/.lazarus
> cp -a lazarus.clean lazarus.a
> cd lazarus.a
> make
> lazarus
> <here I simply set the ide build options to all and re-build the IDE from within lazarus. I need to
> do this so lazarus will create an ~/.lazarus/idemake.cfg file>
lazbuild can create that.
./lazbuild -B --build-ide=
idemake.cfg contains the search paths to your packages. A "make clean"
in the lazarus directory does *not* clean up your packages.
And a "make all" in the lazarus directory does *not* compile your
packages.
You have to do that yourself.
Or use lazbuild.
> cd ..
> cp -a lazarus.clean lazarus.b
> cd lazarus.b
> make all idepkg
> <snip>
> make[2]: Entering directory `/home/brad/devel/fpc/lazarus.b/ide'
> /opt/cross/bin/ppc386 -gl -dlclgtk2 -Fu../lcl/units/i386-linux -Fu../lcl/units/i386-linux/gtk2
> -Fu../components/codetools/units/i386-linux -Fu../components/synedit/units/i386-linux
> -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/i386-linux -Fu../designer
> -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames
> -Fu../packager/units/i386-linux -Fu../units/i386-linux -Fuframes -Fu. -Fiinclude -Fiinclude/linux
> -Fi../images -FE.. -FU../units/i386-linux -Fl/usr/lib/gcc/i486-linux-gnu/4.2.4 -Flinclude
> -Fl/etc/ld.so.conf.d/*.conf @/home/brad/.lazarus/idemake.cfg -di386 lazarus.pp
> Free Pascal Compiler version 2.4.1 [2010/02/13] for i386
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling lazarus.pp
> Fatal: Can't find unit codetools used by Lazarus
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[2]: Leaving directory `/home/brad/devel/fpc/lazarus.b/ide'
> make[1]: *** [idepkg] Error 2
> make[1]: Leaving directory `/home/brad/devel/fpc/lazarus.b/ide'
> make: *** [idepkg] Error 2
>
> lazarus.clean is a pristine svn checkout.
Check if idemake.cfg points to search paths outside lazarus.clean.
> I have to do the lazarus.a build / run to recreate my ~/.lazarus directory. No packages installed,
> no pre-existing configuration.
Mattias
More information about the Lazarus
mailing list