Compiling Lazarus from source on Linux lazarus / 1-Linux ---------------------------------------------------------------------- mrdebug · 2009-11-19 09:34 I'm trying to compile Lazarus an Linux. During compilation I obtain this error: Code: [Select]debianArm01:~/lazarus# make all clean ... Assembling fpdoceditwindow Compiling gotofrm.pas Assembling gotofrm Assembling sourceeditor sourceeditor.pp(7071) Error: Can't call the assembler, error -1 switching to external assembling sourceeditor.pp(7071) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/root/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/root/lazarus/ide' make: *** [ide] Error 2 debianArm01:~/lazarus# The compilation fails at sourceeditor.pp How can I do to resolve this problem? ---------------------------------------------------------------------- Marc · 2009-11-19 12:35 try to compile with -va to see what the compiler is looking for. Code: [Select]debianArm01:~/lazarus# make all OPT=-va PS. I would swap the clean and all, otherwise you will build first and right after that all is removed. ---------------------------------------------------------------------- alejol0 · 2009-11-19 20:51 Maybe the detailed instructions given by TheBlackSheep (Chris) in this thread: http://forum.lazarus.freepascal.org/index.php/topic,6016.msg31393/topi cseen.html#new can help you. Lazarus 0.9.28.2 now uses gtk2, an no need gtk1.2 files. Other possible solution: download my Puppy with Lazarus .iso file, burn a CD, reboot with it and copy the directory /lazarus to your Linux root directory. If you have a free pascal compiler working, this must to be work. Then, set the Debugger directory to "GNU debugger". The iso is in: http://www.megaupload.com/?d=10836C0B Size: 330MB, MD5: fa94102ecf1bf5c29f629148667399fc Cheers! :-) ---------------------------------------------------------------------- mrdebug · 2009-11-25 13:09 Is Puppy Linux for Amr? The error appens on TPkgManager Code: [Select][1340.488] procedure/function TPkgManager.DoSaveAllPackages(TPkgSaveFlags):LongInt; [1340.578] procedure/function TLazPackageDescriptors.GetItems(LongInt):TPackageDescriptor; [1340.598] procedure/function constructor TLazPackageDescriptors.Create; [1340.648] procedure/function destructor TLazPackageDescriptors.Destroy; [1340.691] procedure/function TLazPackageDescriptors.Count:LongInt; [1340.715] procedure/function TLazPackageDescriptors.GetUniqueName(const AnsiString):AnsiString; [1340.797] procedure/function TLazPackageDescriptors.IndexOf(const AnsiString):LongInt; [1340.875] procedure/function TLazPackageDescriptors.FindByName(const AnsiString):TPackageDescriptor; [1340.902] procedure/function TLazPackageDescriptors.RegisterDescriptor(TPackageDescriptor); 4300 118.056/120.640 Kb Used [1340.953] procedure/function TLazPackageDescriptors.UnregisterDescriptor(TPackageDescriptor); [1341.008] procedure/function TLazPackageDescriptors.AddDefaultPackageDescriptors; [1341.074] procedure/function constructor TPackageDescriptorStd.Create; [1341.117] procedure/function TPackageDescriptorStd.GetLocalizedName:AnsiString; [1341.152] procedure/function TPackageDescriptorStd.GetLocalizedDescription:AnsiString; [1341.215] Unit "BasicCodeTools" not used in PkgManager [1343.453] Assembling pkgmanager [1343.457] Searching file as... not found [1343.457] Searching file AS... not found [1343.461] Searching file /usr/local/lib/fpc/2.2.4/as... not found [1343.469] Searching file /usr/local/lib/fpc/2.2.4/AS... not found [1343.469] Searching file /usr/local/sbin/as... not found [1343.480] Searching file /usr/local/sbin/AS... not found [1343.484] Searching file /usr/local/bin/as... not found [1343.508] Searching file /usr/local/bin/AS... not found [1343.508] Searching file /usr/sbin/as... not found [1343.512] Searching file /usr/sbin/AS... not found [1343.520] Searching file /usr/bin/as... found [1343.539] Using assembler: /usr/bin/as [1343.547] Can't call the assembler, error -1 switching to external assembling [1343.551] There were 2 errors compiling module, stopping [1344.289] Searching file main.pp... found [1351.797] Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/root/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/root/lazarus/ide' make: *** [ide] Error 2 debianArm01:~/lazarus# ---------------------------------------------------------------------- alejol0 · 2009-11-25 23:03 Sorry, what is Amr? My language is Spanish and I do not understand certain English words. ---------------------------------------------------------------------- Blaazen · 2009-11-26 00:09 As I see of his console text: Code: [Select]debianArm01:~/lazarus# it probably means ARM processor. I don't know if puppy linux support ARM.