Bug 24803 - в Lazarus запуск xterm прописан в /usr/X86-что-то  там/bin,  а  по  факту  он  лежит в /usr/bin/
Summary: в Lazarus запуск xterm прописан в /usr/X86-что-то  там/bin,  а  по  факту  он...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: lazarus (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 00:52 MSK by ashen
Modified: 2013-05-24 19:21 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ashen 2010-12-22 00:52:20 MSK
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)';
Comment 1 Andrey Cherepanov 2010-12-22 15:21:11 MSK
xterm ... Не существует 
:(
Походу, нужен полный путь.
Comment 2 ashen 2010-12-22 15:39:00 MSK
точнее вывод.
Comment 3 Anton Farygin 2011-12-09 12:40:09 MSK
и полный путь не помогает.  Сейчас так после включения запуска через консоль:
Failed to load file: /usr/bin/xterm: 320236321202320272320260320267320260320275320276 320262 320264320276321201321202321203320277320265.

на p6 вылезло в школе.
Comment 4 Anton Farygin 2011-12-09 12:46:57 MSK
даже если оставить один xterm в пути запуска, всё равно не работает
Comment 5 Anton Farygin 2011-12-09 12:49:06 MSK
При запуске программы:

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] ""
Comment 6 Anton Farygin 2012-02-08 17:13:32 MSK
ping ?
Comment 7 Andrey Cherepanov 2013-01-06 00:10:32 MSK
Всего в Lazarus 1.0.4 254 упоминания /usr/(X11R6/)?bin/xterm
Очевидно, правильнее приводить к /usr/bin/xvt. Посмотрю.
Comment 8 Repository Robot 2013-05-24 19:21:03 MSK
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