Recent

Author Topic: Erro tryed install in Linux ( ubuntu and MX Linux.) *** SOLVED ***  (Read 3594 times)

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Hi everyone, i'm tried install Lazarus in two distro of Linux, MX-17.1_May_x64.iso  and Last distro of Ubuntu.
but i'm having problem, in both i have error msgs.
I'm use Windows... my knowhow in linux is very precary.
somebody can help-me?
thanks
« Last Edit: May 29, 2018, 12:04:31 am by Almir Lima »
Today better than yesterday.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
« Reply #1 on: May 28, 2018, 03:00:31 pm »
Probably just browse to /usr/bin/gdb there.

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
« Reply #2 on: May 28, 2018, 04:21:38 pm »
I Tryed it, but not find the file.
like if the Debug have not include in the packet.
I'm Instaled Linux in Virtual box machine, like as debiam type.

The IDE open normaly, compile, the project run, but i not can debug the code, the break point dont have efect.


Today better than yesterday.

ccrause

  • Hero Member
  • *****
  • Posts: 845
Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
« Reply #3 on: May 28, 2018, 05:03:04 pm »
I Tryed it, but not find the file.
To check if gdb is installed, simply type gdb in a terminal and press enter.  If a prompt is displayed then gdb is installed (type q to exit the gdb shell).

To locate the executable file for gdb, try one of the following commands in a terminal:
Code: Bash  [Select][+][-]
  1. which gdb
  2. locate -b gdb
  3. find -name gdb

Probably just browse to /usr/bin/gdb there.
Or follow marcov's suggestion above...

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
« Reply #4 on: May 28, 2018, 05:22:01 pm »
I tryed the commands, exist the directory but not have file executable inside.
i did the download of site oficial of lazarus, i go try get the file GDB of other source, i have the source code of GDB but i know compiling this. kkk
Thanks a lot.
Today better than yesterday.

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
« Reply #5 on: May 29, 2018, 12:03:55 am »
Hi everyone!
I installed more one distro of linux, but i not did having result, but i solved the problem... was more easy than i thinked.
I Install GDB from external source with this command:

$ sudo apt-get install libc6-dbg gdb valgrind

I did the instruction from the site:

https://www.tutorialspoint.com/gnu_debugger/installing_gdb.htm

Thanks a lot
Today better than yesterday.

 

TinyPortal © 2005-2018