Mattias Gaertner wrote:
On Mon, 17 May 2010 06:41:48 +0200
cobines <[email protected]> wrote:
It's reported in Mantis.
http://bugs.freepascal.org/view.php?id=16389
http://bugs.freepascal.org/view.php?id=15699
The solution is to copy the needed .lfm files manually to the units
directory, where FPC can find them.
That is a workaround.
Both bug reports are in the category Lazarus, but they are FPC
issues. We need create to a FPC bug report otherwise they will never
be fixed.
As far as I know it is side effect of Lazarus switching to using FPC
resources for .lfms. You just only experienced it now. Some people,
like me, have never experienced this for example.
I never saw it too.
Brad, can you compile with -va and maybe find out what is happening?
Maybe you have to do a strace as well.
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
The build falls over on the first lfm file with a relative path.
[29.463] Searching file /sbin/FPCRES... not found
[29.463] Searching file /bin/fpcres... not found
[29.463] Searching file /bin/FPCRES... not found
[29.463] Searching file /usr/games/fpcres... not found
[29.463] Searching file /usr/games/FPCRES... not found
[29.463] Searching file /opt/cross/bin/fpcres... found
[29.463] Compiling resource ../units/powerpc-darwin/lazarus.or
[29.463] Calling resource compiler "/opt/cross/bin/fpcres" with "-o
../units/powerpc-darwin/lazarus.or -a powerpc -of mach-o -v
"@../units/powerpc-darwin/lazarus.reslst"" as command line
Debug: parsing command line parameters
Debug: parsing parameter '-o'
Debug: parsing parameter '-a'
Debug: parsing parameter '-of'
Debug: parsing parameter '-v'
Debug: parsing parameter '@../units/powerpc-darwin/lazarus.reslst'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/lcl/units/powerpc-darwin/finddlgunit.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/lcl/units/powerpc-darwin/replacedlgunit.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/lcl/units/powerpc-darwin/calendarpopup.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/frmselectprops.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/stringspropeditdlg.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/collectionpropeditform.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/graphicpropedit.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/lazstringgridedit.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/checklistboxeditordlg.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/checkgroupeditordlg.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/listviewpropedit.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/imagelisteditor.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/objectinspector.lfm'
Debug: parsing parameter '../units/powerpc-darwin/keymapshortcutdlg.lfm'
Debug: parsing parameter '../units/powerpc-darwin/editmsgscannersdlg.lfm'
Debug: parsing parameter
'/home/brad/devel/fpc/lazarus/lcl/units/powerpc-darwin/ldockctrledit.lfm'
Debug: parsing parameter '../units/powerpc-darwin/infobuild.lfm'
Debug: parsing parameter '../units/powerpc-darwin/idecontexthelpedit.lfm'
Debug: parsing parameter '../units/powerpc-darwin/exttooleditdlg.lfm'
Debug: parsing parameter '../units/powerpc-darwin/exttooldialog.lfm'
Debug: parsing parameter '../units/powerpc-darwin/aboutfrm.lfm'
<snip>
Debug: Resource information read
Debug: Trying to open file
/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/imagelisteditor.lfm...
Debug: Chosen reader: DFM resource reader
Debug: Reading resource information...
Debug: Resource information read
Debug: Trying to open file
/home/brad/devel/fpc/lazarus/ideintf/units/powerpc-darwin/objectinspector.lfm...
Debug: Chosen reader: DFM resource reader
Debug: Reading resource information...
Debug: Resource information read
Debug: Trying to open file ../units/powerpc-dError: Can't open file
'../units/powerpc-darwin/keymapshortcutdlg.lfm'
[30.622] Error while compiling resources
[30.622] Searching file
../units/powerpc-darwin/../units/powerpc-darwin/lazarus.o... not found
Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus