Zitat von Brad Campbell <[email protected]>:

Mattias Gärtner wrote:

The paths are correct.
Just to make sure: The file units/powerpc-darwin/keymapshortcutdlg.lfm does not exist, right?
[...]
Can you check what happens when you delete keymapshortcutdlg.ppu and then compile? Does it copy the lfm to units/powerpc-darwin/keymapshortcutdlg.lfm?
If not you found a bug in the compiler.

It does copy the lfm to units/powerpc-darwin/keymapshortcutdlg.lfm

It then just chokes on the next one.
[...]
Hrm.. it seems make distclean is leaving .ppu's in the powerpc-darwin directory. I can work around this bug by using :

find . -name *.ppu -exec rm {} +

..prior to the build.

aha!


Unfortunately when I execute :

make LCL_PLATFORM=gtk2 OPT="-gl -CX" all idepkg

make LCL_PLATFORM=gtk2 OPT="-gl -CX" all idepkg




I get this :

make[2]: Entering directory `/home/brad/devel/fpc/lazarus/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 -gl -CX @/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
Compiling /home/brad/devel/fpc/lazarus/TreeView/tv.pas
Compiling /home/brad/devel/fpc/lazarus/TreeView/directorytreeview.pas

There is no directory TreeView in the lazarus sources.
I guess you added it. And I guess, you have a misconfigured package there, which adds a source path to the IDE. A package should only inherit compiled unit paths. Please check the package there. See for example a new package or the package components/externhelp/externhelp.lpk.

(Note to myself: the search path checker should be done before 0.9.30)


directorytreeview.pas(408,4) Note: Local variable "I" not used
directorytreeview.pas(49,5) Note: Private field "TDirectoryTreeview.OldNode" is never used
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/ide'
make[1]: *** [idepkg] Error 2
make[1]: Leaving directory `/home/brad/devel/fpc/lazarus/ide'

Last time this happened I worked around it by deleting ~/.lazarus and reinstalling my packages from scratch, but that's so ugly I don't even consider it a workaround.

No, no. You have probably just some wrong source paths (too many) which created duplicate ppu files.


Mattias



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to