http://permalink.gmane.org/gmane.linux.altlinux.community/121324 Рещение - исправить $LAzarusDir/ide/runparamsopts.pas: const DefaultLauncherApplication = - '/usr/X11R6/bin/xterm -T ''Lazarus Run Output''' + + 'xterm -T ''Lazarus Run Output''' + ' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)';
xterm ... Не существует :( Походу, нужен полный путь.
точнее вывод.
и полный путь не помогает. Сейчас так после включения запуска через консоль: Failed to load file: /usr/bin/xterm: 320236321202320272320260320267320260320275320276 320262 320264320276321201321202321203320277320265. на p6 вылезло в школе.
даже если оставить один xterm в пути запуска, всё равно не работает
При запуске программы: Program gorod; var n:real;g:integer; begin n:=10500; g:=1995; while n<15000 do begin n:=0.03*n+n; g:=g+1; end; writeln (g); readLn; end. вылезает такое: Free Pascal Compiler version 2.5.1 [2011/08/29] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling /tmp/project1.lpr Linking /tmp/project1 /usr/bin/ld: warning: link.res contains output sections; did you forget -T? 13 lines compiled, 0.1 sec 2 hint(s) issued [TCompiler.Compile] end TMainIDE.DoInitProjectRun ProgramFilename=/tmp/project1 [TDebugger.SetFileName] "/tmp/project1" [TMainIDE.DoRunProject] B TGDBMIDebugger [TMainIDE.DoRunProject] END TGDBMIDebugger.StartDebugging WorkingDir="/tmp/" TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"FPC_THREADVAR_RELOCATE_PROC\" in current context." [Debugger] Log output: &"info functions FPC_CPUINIT\n" [Debugger] Log output: &"set width 50000\n" [Debugger] Log output: &"set inferior-tty /dev/null\n" [Debugger] Log output: &"info address main\n" [Debugger] Log output: &"ptype TObject\n" [Debugger] Log output: &"No symbol \"TObject\" in current context.\n" TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"TObject\" in current context." [Debugger] Log output: &"info address FPC_RAISEEXCEPTION\n" [Debugger] Log output: &"info address FPC_BREAK_ERROR\n" [Debugger] Log output: &"info address FPC_RUNERROR\n" [Debugger] Log output: &"info file\n" [Debugger] File type: elf32-i386 [Debugger] Entry point: 0x8064d80 TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"POINTER\" in current context." [Debugger] Log output: &"Function \"foo\" not defined.\n" [WARNING] Debugger: Unexpected async-record: =thread-group-started,id="i1",pid="13084" [Debugger] Log output: &"info program\n" [Debugger] Target PID: 13084 [Debugger] Notify output: =thread-exited,id="1",group-id="i1" [Debugger] Notify output: =thread-group-exited,id="i1" [TDebugger.SetFileName] ""
ping ?
Всего в Lazarus 1.0.4 254 упоминания /usr/(X11R6/)?bin/xterm Очевидно, правильнее приводить к /usr/bin/xvt. Посмотрю.
lazarus-1:1.0.8-alt1 -> sisyphus: * Fri May 24 2013 Andrey Cherepanov <cas@altlinux> 1:1.0.8-alt1 - New version 1.0.8 - Fix search FPC compiler with localized output from fpc (ALT #25991) - Set correct path to xterm for all existing modules (ALT #24803) - Update PowerPDF to 0.9.10 (ALT #24804) - Add libdbus-devel and xterm to requires - Pack man pages - Add patches from Fedora - Make symlink /usr/bin/lazarus for lazarus-ide - Add docs and examples in main package