Lazarus

Installation => Linux => Topic started by: Almir Lima on May 28, 2018, 01:34:16 pm

Title: Erro tryed install in Linux ( ubuntu and MX Linux.) *** SOLVED ***
Post by: Almir Lima on May 28, 2018, 01:34:16 pm
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
Title: Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
Post by: marcov on May 28, 2018, 03:00:31 pm
Probably just browse to /usr/bin/gdb there.
Title: Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
Post by: Almir Lima 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.


Title: Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
Post by: ccrause 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...
Title: Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
Post by: Almir Lima 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.
Title: Re: Erro tryed install in Linux ( ubuntu and MX Linux.)
Post by: Almir Lima 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
TinyPortal © 2005-2018