Re: building GDB 9.0.50.20191206

"Christian Biesinger via gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAPTJ0XFNkHO8T5eTk41t9FTQsBMF1mshPj4cHgwO9oTdYebMCw@mail.gmail.com>
On Thu, Dec 12, 2019 at 5:47 AM Wadud Miah <[email protected]> wrote:
>
> Hi everyone,
>
> I am trying to build GDB 9.0.50.20191206 from source and am getting the following error:
>
> configure: error: source directory already configured; run "make distclean" there first
> configure: error: .././../../gnulib/configure failed for build-gnulib-gdbserver
> configure: error: ./configure failed for gdbserver
> make[1]: *** [Makefile:9534: configure-gdb] Error 1
> make[1]: Leaving directory '/usr/local/src/gdb-9.0.50.20191206'
> make: *** [Makefile:852: all] Error 2
>
> I don't need the server component of GDB as I will be debugging locally, but could not find any option in the configure script to disable the building of the server component. Any help will be greatly appreciated.

For reference, the option to disable gdbserver is --disable-gdbserver
(see gdb/configure --help)

Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.