prof@prof-desktop:/Projects/DoubleCmd/Svn/doublecmd/trunk$ ./build.sh NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed ERROR: Broken dependency: dcpcrypt strip: 'doublecmd': No such file
Скомпилировать в Lazarus не удается, т.к. сам Lazarus повисает так же как DoubleCmd при запуске. Выдает следующее:
Spoiler:
Code:
prof@prof-desktop:/Projects/DoubleCmd/Svn/doublecmd/trunk$ lazarus-ide TLazarusManager.Run DefaultDir="/usr/lib/lazarus/0.9.30.3/" CustomDir="/home/prof/.lazarus/bin/" TLazarusManager.Run starting /usr/lib/lazarus/0.9.30.3/lazarus ... TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/prof/.lazarus" SecondaryConfigPath="/etc/lazarus" NOTE: editor options config file not found - using defaults NOTE: miscellaneous options file not found - using defaults ЗАМЕТКА: файл параметров CodeTools не найден, поэтому используются значения по умолчанию TMainIDE.DoNewProject A
Может быть имеет смысл перенести это в раздел Ошибки?
При первой сборке необходимо предварительно собрать компоненты:
Code:
./build.sh components
После этого DC будет собираться командой:
Code:
./build.sh
prof1983 wrote:
Может быть имеет смысл перенести это в раздел Ошибки?
Думаю еще рано, не запуск под 12.04 версии от 11.10 скорее всего связан с различными версиями системных библиотек и не является ошибкой DC. Если и после сборки из исходников не заработает, тогда можно и в ошибки.
_________________ Windows XP SP3 Linux Mint Xfce Edition
Joined: Wed Aug 31, 2011 8:57 am Posts: 8 Location: Новосибирск
prof1983 wrote:
Скомпилировать в Lazarus не удается, т.к. сам Lazarus повисает так же как DoubleCmd при запуске.
Отключил репозиторий DoubleCmd. В нем была более новая версия Lazarus, чем в репозитории Ubuntu-12.04. Если не ошибаюсь версии 0.9.30.4 и 0.9.30.2 соответсвенно. Переустановил Lazarus и сопутввующие пакеты версии 0.9.30.2. После этого сам Lazarus стал запускаться. Работоспособность еще не проверял.
Alexx2000 wrote:
При первой сборке необходимо предварительно собрать компоненты:
Code:
./build.sh components
После этого DC будет собираться командой:
Code:
./build.sh
Попробовал собрать сначала компоненты, потом саму программу.
Spoiler:
Code:
prof@prof-desktop:/Projects/DoubleCmd/Svn/trunk$ ./build.sh components NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for chsdet 0.0 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scghi -Cro -O1 -g -gl -vewnhi -l -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/src -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/src/sbseq -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/lib/i386-linux/ chsdet.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling chsdet.pas Compiling ./src/Big5Freq.pas Compiling ./src/nsCore.pas Compiling ./src/CharDistribution.pas Compiling ./src/JISFreq.pas Compiling ./src/EUCKRFreq.pas Compiling ./src/EUCTWFreq.pas Compiling ./src/GB2312Freq.pas Compiling ./src/chsdIntf.pas Compiling ./src/nsUniversalDetector.pas Compiling ./src/CustomDetector.pas CustomDetector.pas(21,25) Hint: Parameter "aBuf" not used CustomDetector.pas(21,39) Hint: Parameter "aLen" not used Compiling ./src/nsGroupProber.pas Compiling ./src/nsMBCSMultiProber.pas Compiling ./src/MultiModelProber.pas Compiling ./src/nsCodingStateMachine.pas Compiling ./src/JpCntx.pas Compiling ./src/nsSBCSGroupProber.pas Compiling ./src/nsHebrewProber.pas Compiling ./src/nsSBCharSetProber.pas Compiling ./src/sbseq/LangCyrillicModel.pas Compiling ./src/sbseq/LangGreekModel.pas Compiling ./src/sbseq/LangBulgarianModel.pas Compiling ./src/sbseq/LangHebrewModel.pas Compiling ./src/nsEscCharsetProber.pas nsEscCharsetProber.pas(49,2) Hint: Local const "NUM_OF_ESC_CHARSETS" is not used nsEscCharsetProber.pas(40,17) Hint: Unit "CustomDetector" not used in nsEscCharsetProber Compiling ./src/nsLatin1Prober.pas Compiling ./src/MBUnicodeMultiProber.pas MBUnicodeMultiProber.pas(52,2) Hint: Local const "NUM_OF_PROBERS" is not used MBUnicodeMultiProber.pas(53,2) Note: Local variable "ONE_CHAR_PROB" not used Compiling ./src/EUCSampler.pas Compiling ./src/nsPkg.pas chsdet.pas(10,13) Hint: Unit "Big5Freq" not used in chsdet chsdet.pas(10,31) Hint: Unit "CharDistribution" not used in chsdet chsdet.pas(10,57) Hint: Unit "CustomDetector" not used in chsdet chsdet.pas(10,68) Hint: Unit "EUCKRFreq" not used in chsdet chsdet.pas(11,13) Hint: Unit "EUCSampler" not used in chsdet chsdet.pas(11,24) Hint: Unit "EUCTWFreq" not used in chsdet chsdet.pas(11,36) Hint: Unit "GB2312Freq" not used in chsdet chsdet.pas(11,45) Hint: Unit "JISFreq" not used in chsdet chsdet.pas(11,53) Hint: Unit "JpCntx" not used in chsdet chsdet.pas(11,75) Hint: Unit "MBUnicodeMultiProber" not used in chsdet chsdet.pas(12,19) Hint: Unit "MultiModelProber" not used in chsdet chsdet.pas(12,41) Hint: Unit "nsCodingStateMachine" not used in chsdet chsdet.pas(12,49) Hint: Unit "nsCore" not used in chsdet chsdet.pas(12,69) Hint: Unit "nsEscCharsetProber" not used in chsdet chsdet.pas(13,16) Hint: Unit "nsGroupProber" not used in chsdet chsdet.pas(13,32) Hint: Unit "nsHebrewProber" not used in chsdet chsdet.pas(13,48) Hint: Unit "nsLatin1Prober" not used in chsdet chsdet.pas(13,67) Hint: Unit "nsMBCSMultiProber" not used in chsdet chsdet.pas(13,74) Hint: Unit "nsPkg" not used in chsdet chsdet.pas(14,20) Hint: Unit "nsSBCharSetProber" not used in chsdet chsdet.pas(14,39) Hint: Unit "nsSBCSGroupProber" not used in chsdet chsdet.pas(14,60) Hint: Unit "nsUniversalDetector" not used in chsdet chsdet.pas(15,21) Hint: Unit "LangBulgarianModel" not used in chsdet chsdet.pas(15,40) Hint: Unit "LangCyrillicModel" not used in chsdet chsdet.pas(15,56) Hint: Unit "LangGreekModel" not used in chsdet chsdet.pas(15,73) Hint: Unit "LangHebrewModel" not used in chsdet 9126 lines compiled, 0.7 sec 33 hint(s) issued 1 note(s) issued Действие "Компиляция пакета chsdet 0.0" завершено NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for cmdbox 0.0 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scgi -O1 -gl -vewnhi -l "-Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/C:/Dokumente und Einstellungen/Nilius/Desktop/laz/CmdLine" -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/lib/i386-linux/ -dLCL -dLCLgtk2 cmdbox.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling cmdbox.pas Compiling ucmdbox.pas ucmdbox.pas(98,17) Note: Virtual method "TCmdBox.EraseBackground(HDC);" has a lower visibility (protected) than parent class TWinControl (public) ucmdbox.pas(460,41) Warning: Local variable "SameForeColor" does not seem to be initialized ucmdbox.pas(461,41) Warning: Local variable "SameBackColor" does not seem to be initialized ucmdbox.pas(462,37) Warning: Local variable "SameColorX" does not seem to be initialized ucmdbox.pas(462,48) Warning: Local variable "SameColorWidth" does not seem to be initialized ucmdbox.pas(98,33) Hint: Parameter "DC" not used ucmdbox.pas(1212,16) Hint: Local variable "c" does not seem to be initialized ucmdbox.pas(97,27) Hint: Parameter "Shift" not used ucmdbox.pas(95,27) Hint: Parameter "Button" not used ucmdbox.pas(95,47) Hint: Parameter "Shift" not used ucmdbox.pas(96,25) Hint: Parameter "Button" not used ucmdbox.pas(96,45) Hint: Parameter "Shift" not used ucmdbox.pas(96,63) Hint: Parameter "x" not used ucmdbox.pas(96,65) Hint: Parameter "y" not used ucmdbox.pas(1452,22) Hint: Local variable "ScrollInfo" does not seem to be initialized ucmdbox.pas(1478,22) Hint: Local variable "ScrollInfo" does not seem to be initialized ucmdbox.pas(169,46) Hint: Parameter "Index" not used ucmdbox.pas(1512,39) Warning: Symbol "Handle" is deprecated ucmdbox.pas(1513,28) Hint: Local variable "Metrics" does not seem to be initialized ucmdbox.pas(160,35) Hint: Parameter "Sender" not used 2428 lines compiled, 1.0 sec 5 warning(s) issued 16 hint(s) issued 1 note(s) issued Действие "Компиляция пакета cmdbox 0.0" завершено NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for dcpcrypt 2.0.4.1 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MDelphi -Sah -O1 -g -gl -vewnhi -l -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/Ciphers -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/Hashes -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/lib/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/lib/i386-linux/ -Xd dcpcrypt.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling dcpcrypt.pas Compiling dcpbase64.pas Compiling dcpblockciphers.pas Compiling dcpcrypt2.pas dcpcrypt2.pas(61,23) Hint: Parameter "Value" not used dcpcrypt2.pas(62,23) Hint: Parameter "Value" not used dcpcrypt2.pas(84,25) Hint: Parameter "Digest" not used dcpcrypt2.pas(90,28) Hint: Parameter "Buffer" not used dcpcrypt2.pas(90,36) Hint: Parameter "Size" not used dcpcrypt2.pas(121,23) Hint: Parameter "Value" not used dcpcrypt2.pas(122,23) Hint: Parameter "Value" not used dcpcrypt2.pas(142,26) Hint: Parameter "Key" not used dcpcrypt2.pas(142,47) Hint: Parameter "InitVector" not used dcpcrypt2.pas(150,29) Hint: Parameter "Indata" not used dcpcrypt2.pas(150,41) Hint: Parameter "Outdata" not used dcpcrypt2.pas(150,50) Hint: Parameter "Size" not used dcpcrypt2.pas(152,29) Hint: Parameter "Indata" not used dcpcrypt2.pas(152,41) Hint: Parameter "Outdata" not used dcpcrypt2.pas(152,50) Hint: Parameter "Size" not used dcpcrypt2.pas(188,29) Hint: Parameter "Key" not used dcpcrypt2.pas(188,34) Hint: Parameter "Size" not used dcpcrypt2.pas(197,27) Hint: Parameter "Value" not used dcpcrypt2.pas(199,25) Hint: Parameter "Value" not used dcpcrypt2.pas(210,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(210,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(212,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(212,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(214,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(214,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(214,53) Hint: Parameter "Size" not used dcpcrypt2.pas(216,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(216,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(216,53) Hint: Parameter "Size" not used dcpcrypt2.pas(218,36) Hint: Parameter "Indata" not used dcpcrypt2.pas(218,48) Hint: Parameter "Outdata" not used dcpcrypt2.pas(218,57) Hint: Parameter "Size" not used dcpcrypt2.pas(220,36) Hint: Parameter "Indata" not used dcpcrypt2.pas(220,48) Hint: Parameter "Outdata" not used dcpcrypt2.pas(220,57) Hint: Parameter "Size" not used dcpcrypt2.pas(222,37) Hint: Parameter "Indata" not used dcpcrypt2.pas(222,49) Hint: Parameter "Outdata" not used dcpcrypt2.pas(222,58) Hint: Parameter "Size" not used dcpcrypt2.pas(224,37) Hint: Parameter "Indata" not used dcpcrypt2.pas(224,49) Hint: Parameter "Outdata" not used dcpcrypt2.pas(224,58) Hint: Parameter "Size" not used dcpcrypt2.pas(226,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(226,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(226,53) Hint: Parameter "Size" not used dcpcrypt2.pas(228,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(228,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(228,53) Hint: Parameter "Size" not used dcpcrypt2.pas(230,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(230,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(230,53) Hint: Parameter "Size" not used dcpcrypt2.pas(232,32) Hint: Parameter "Indata" not used dcpcrypt2.pas(232,44) Hint: Parameter "Outdata" not used dcpcrypt2.pas(232,53) Hint: Parameter "Size" not used Compiling dcpconst.pas Compiling ./Hashes/dcphaval.pas Compiling ./Hashes/dcpmd4.pas Compiling ./Hashes/dcpmd5.pas Compiling ./Hashes/dcpripemd128.pas Compiling ./Hashes/dcpripemd160.pas Compiling ./Hashes/dcpsha1.pas Compiling ./Hashes/dcpsha256.pas Compiling ./Hashes/dcpsha512.pas dcpsha512.pas(216,3) Hint: Converting the operands to "Int64" before doing the multiply could prevent overflow errors. dcpsha512.pas(217,11) Hint: Converting the operands to "Int64" before doing the multiply could prevent overflow errors. Compiling ./Hashes/dcptiger.pas dcptiger.pas(270,3) Hint: Converting the operands to "Int64" before doing the multiply could prevent overflow errors. Compiling ./Hashes/dcpsfv.pas dcpcrypt.pas(10,14) Hint: Unit "DCPbase64" not used in dcpcrypt dcpcrypt.pas(10,31) Hint: Unit "DCPblockciphers" not used in dcpcrypt dcpcrypt.pas(10,41) Hint: Unit "DCPconst" not used in dcpcrypt dcpcrypt.pas(10,52) Hint: Unit "DCPcrypt2" not used in dcpcrypt dcpcrypt.pas(10,62) Hint: Unit "DCPhaval" not used in dcpcrypt dcpcrypt.pas(10,70) Hint: Unit "DCPmd4" not used in dcpcrypt dcpcrypt.pas(10,78) Hint: Unit "DCPmd5" not used in dcpcrypt dcpcrypt.pas(11,15) Hint: Unit "DCPripemd128" not used in dcpcrypt dcpcrypt.pas(11,29) Hint: Unit "DCPripemd160" not used in dcpcrypt dcpcrypt.pas(11,38) Hint: Unit "DCPsha1" not used in dcpcrypt dcpcrypt.pas(11,49) Hint: Unit "DCPsha256" not used in dcpcrypt dcpcrypt.pas(11,60) Hint: Unit "DCPsha512" not used in dcpcrypt dcpcrypt.pas(11,70) Hint: Unit "DCPtiger" not used in dcpcrypt dcpcrypt.pas(11,78) Hint: Unit "DCPsfv" not used in dcpcrypt 6018 lines compiled, 0.6 sec 72 hint(s) issued Действие "Компиляция пакета dcpcrypt 2.0.4.1" завершено NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for KASComp 1.7 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MDelphi -Scghi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/lib/i386-linux/ -dLCL -dLCLgtk2 kascomp.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling kascomp.pas Compiling kastoolbar.pas Compiling kasbarfiles.pas kastoolbar.pas(113,35) Hint: Parameter "WithThemeSpace" not used kastoolbar.pas(129,56) Hint: Parameter "sCommand" not used Compiling kasbarmenu.pas Compiling kasprogressbar.pas Fatal: Can't find unit Cairo used by gdk2 TExternalToolList.Run Exception: /media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/kasprogressbar.pas(1,1) Fatal: Can't find unit Cairo used by gdk2 ERROR: tool reported error NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/viewer/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for viewerpackage 1.0 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scgi -O1 -g -gl -vewnhi -l -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/viewer/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/viewer/lib/i386-linux/ -dLCL -dLCLgtk2 viewerpackage.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/viewer/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling viewerpackage.pas Compiling viewercontrol.pas Fatal: Can't find unit iconvenc used by LConvEncoding TExternalToolList.Run Exception: /media/Data/Projects/DoubleCmd/Svn/trunk/components/viewer/viewercontrol.pas(1,1) Fatal: Can't find unit iconvenc used by LConvEncoding ERROR: tool reported error NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/gifanim/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for pkg_gifanim 1.4 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scgi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/0.9.30.2/ide -Fu/usr/lib/lazarus/0.9.30.2/ideintf/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/gifanim/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/gifanim/lib/i386-linux/ -dLCL -dLCLgtk2 pkg_gifanim.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/gifanim/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling pkg_gifanim.pas Compiling gifanim.pas gifanim.pas(86,15) Hint: Type "TGifImage" redefinition gifanim.pas(248,14) Note: Virtual method "TGifFileNamePropertyEditor.GetFilter:AnsiString;" has a lower visibility (protected) than parent class TFileNamePropertyEditor (public) gifanim.pas(249,14) Note: Virtual method "TGifFileNamePropertyEditor.GetInitialDirectory:AnsiString;" has a lower visibility (protected) than parent class TFileNamePropertyEditor (public) gifanim.pas(182,22) Hint: Parameter "Sender" not used gifanim.pas(192,7) Hint: Parameter "WithThemeSpace" not used gifanim.pas(483,41) Hint: Local variable "NewHeight" does not seem to be initialized gifanim.pas(483,30) Hint: Local variable "NewWidth" does not seem to be initialized gifanim.pas(1026,20) Hint: Local variable "RGBEntry" does not seem to be initialized 1234 lines compiled, 0.7 sec 8 hint(s) issued 2 note(s) issued Действие "Компиляция пакета pkg_gifanim 1.4" завершено NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/ZVDateTimeCtrls/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for ZVDateTimeCtrls 1.3 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/0.9.30.2/ideintf/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/ZVDateTimeCtrls/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/ZVDateTimeCtrls/lib/i386-linux/ -dLCL -dLCLgtk2 zvdatetimectrls.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/ZVDateTimeCtrls/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling zvdatetimectrls.pas Compiling zvdatetimepicker.pas zvdatetimepicker.pas(273,27) Hint: Parameter "Shift" not used zvdatetimepicker.pas(283,45) Hint: Parameter "WithThemeSpace" not used zvdatetimepicker.pas(235,30) Hint: Parameter "Sender" not used zvdatetimepicker.pas(235,47) Hint: Parameter "Button" not used zvdatetimepicker.pas(236,45) Hint: Parameter "Shift" not used zvdatetimepicker.pas(236,65) Hint: Parameter "X" not used zvdatetimepicker.pas(236,68) Hint: Parameter "Y" not used zvdatetimepicker.pas(237,27) Hint: Parameter "Sender" not used zvdatetimepicker.pas(238,30) Hint: Parameter "Sender" not used zvdatetimepicker.pas(242,31) Hint: Parameter "Sender" not used zvdatetimepicker.pas(242,48) Hint: Parameter "Button" not used zvdatetimepicker.pas(243,45) Hint: Parameter "Shift" not used zvdatetimepicker.pas(244,30) Hint: Parameter "Sender" not used zvdatetimepicker.pas(240,31) Hint: Parameter "Sender" not used zvdatetimepicker.pas(240,63) Hint: Parameter "Shift" not used zvdatetimepicker.pas(245,38) Hint: Parameter "Sender" not used zvdatetimepicker.pas(246,32) Hint: Parameter "Sender" not used zvdatetimepicker.pas(247,33) Hint: Parameter "Sender" not used zvdatetimepicker.pas(248,35) Hint: Parameter "Sender" not used zvdatetimepicker.pas(241,30) Hint: Parameter "Sender" not used Compiling dbzvdatetimepicker.pas dbzvdatetimepicker.pas(50,26) Hint: Parameter "Sender" not used dbzvdatetimepicker.pas(52,26) Hint: Parameter "Sender" not used dbzvdatetimepicker.pas(53,28) Hint: Parameter "Sender" not used Compiling zvdatetimepickerpropedit.pas zvdatetimepickerpropedit.pas(57,39) Hint: Parameter "Sender" not used zvdatetimepickerpropedit.pas(58,39) Hint: Parameter "Sender" not used zvdatetimepickerpropedit.pas(59,39) Hint: Parameter "Sender" not used zvdatetimepickerpropedit.pas(60,38) Hint: Parameter "Sender" not used zvdatetimepickerpropedit.pas(61,37) Hint: Parameter "Sender" not used zvdatetimepickerpropedit.pas(62,28) Hint: Parameter "Sender" not used Compiling zvdatetimecontrolsreg.pas zvdatetimectrls.pas(10,21) Hint: Unit "ZVDateTimePicker" not used in ZVDateTimeCtrls zvdatetimectrls.pas(10,41) Hint: Unit "DBZVDateTimePicker" not used in ZVDateTimeCtrls 4002 lines compiled, 0.7 sec 33 hint(s) issued Действие "Компиляция пакета ZVDateTimeCtrls 1.3" завершено
Spoiler:
Code:
prof@prof-desktop:/Projects/DoubleCmd/Svn/trunk$ ./build.sh NOTE: miscellaneous options file not found - using defaults TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1325682925 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux RunFPCVerbose unable to create test file TFPCTargetConfigCache.Update WARNING: no unit paths: /usr/bin/fpc -Pi386 -Tlinux TFPCTargetConfigCache.Update: has changed TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/dcpcrypt/lib/i386-linux/" TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/chsdet/lib/i386-linux/" TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/ZVDateTimeCtrls/lib/i386-linux/" TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/gifanim/lib/i386-linux/" TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/CmdLine/lib/i386-linux/" TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/lib/i386-linux/" TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for KASComp 1.7 [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MDelphi -Scghi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux -Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/ -Fu. -FU/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/lib/i386-linux/ -dLCL -dLCLgtk2 kascomp.pas" WorkDir="/media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling kascomp.pas Compiling kastoolbar.pas Compiling kasbarfiles.pas kastoolbar.pas(113,35) Hint: Parameter "WithThemeSpace" not used kastoolbar.pas(129,56) Hint: Parameter "sCommand" not used Compiling kasbarmenu.pas Compiling kasprogressbar.pas Fatal: Can't find unit Cairo used by gdk2 TExternalToolList.Run Exception: /media/Data/Projects/DoubleCmd/Svn/trunk/components/KASToolBar/kasprogressbar.pas(1,1) Fatal: Can't find unit Cairo used by gdk2 ERROR: tool reported error strip: 'doublecmd': No such file
Видимо не доустановлены необходимые пакеты с исходниками FPC/Lazarus/LCL?
Joined: Wed Aug 31, 2011 8:57 am Posts: 8 Location: Новосибирск
Alexx2000 wrote:
Как минимум не установлено 2 пакета (что несколько странно, т.к. они входят в зависимость пакета fpc и по любому уже должны быть установлены):
Code:
fp-units-gfx fp-units-misc
Да. Сам уже догодался. Метапакет fpc не был установлен (он не входит в зависимости lazarus). В общем установил fpc (с ним вместе установились много пакетов fp-utils-*). После этого DoubleCmd стал собирсться без проблем и в Lazarus и из консоли. Заменил у себя в системе файл /usr/lib/doublecmd/doublecmd на скомпилированный и все работает.
Было бы класно, если в репозитории DoubleCmd на Launchpad появился пакет для Ubuntu-12.04 (precies). Пакет для oneiric почти полностью подходит, только в нем нужно заменить сам исполняемый файл. Могу я чем-то помочь?
А про Ubuntu-12.04-Beta1 могу сказать, что она довольно стабильная. Обновляюсь каждый день. При обновлениях почти ничего не отваливается. В Beta версиях предыдущих сборок (10.10, 11.04) были случаи когда система переставала загружаться. Сейчас такого не наблюдается. Хотя может это от железа зависит, возможно какое-то железо поддерживается хорошо и при обновлениях все проходит гладко. В общем стабильность на уровне Debian-testing. Уже можно использовать. Я, по крайней мере, для домашних целей использую Ubuntu-12.04-Beta1 начиная с момента ее появления.
Присоединяюсь к просьбе откомпилировать программу под precise. Данная версия ОС уже достаточно стабильная, и изменения функционала не планируются. Признаться, лишь отсутствие DC удерживает меня от перехода на новую версию убунты.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum