* Build gdb without installing termcap?
@ 2009-08-26 22:08 Michael Snyder
2009-08-26 22:17 ` Joel Brobecker
0 siblings, 1 reply; 6+ messages in thread
From: Michael Snyder @ 2009-08-26 22:08 UTC (permalink / raw)
To: gdb
This is something I've run up against before...
Often when I try to build gdb on a new host, it fails because configure
can't find libtermcap (which I guess it wants both for TUI and
readline). I usually end up building and installing libtermcap from
sources, as root, into the system directory, but if it's someone else's
machine I'd rather not do that.
Is there some configure option that I can use to make it find a local
build or install of libtermcap?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build gdb without installing termcap?
2009-08-26 22:08 Build gdb without installing termcap? Michael Snyder
@ 2009-08-26 22:17 ` Joel Brobecker
2009-08-26 22:53 ` Tom Tromey
0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2009-08-26 22:17 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
> Is there some configure option that I can use to make it find a local
> build or install of libtermcap?
As far as I know, there is not. The reason why I think there is not,
is because I remember us discussing many many years ago adding the
possibility of specifying the location where the curses library (and
headers) is installed; something a-la --with-libexpat-prefix.
--
Joel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build gdb without installing termcap?
2009-08-26 22:17 ` Joel Brobecker
@ 2009-08-26 22:53 ` Tom Tromey
2009-08-26 23:05 ` Joel Brobecker
2009-08-27 8:09 ` Mark Kettenis
0 siblings, 2 replies; 6+ messages in thread
From: Tom Tromey @ 2009-08-26 22:53 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Michael Snyder, gdb
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> Is there some configure option that I can use to make it find a local
>> build or install of libtermcap?
Joel> As far as I know, there is not.
I don't think there is anything specific to termcap, but you should be
able to set CPPFLAGS and LDFLAGS on the configure command line.
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build gdb without installing termcap?
2009-08-26 22:53 ` Tom Tromey
@ 2009-08-26 23:05 ` Joel Brobecker
2009-08-27 16:51 ` Tom Tromey
2009-08-27 8:09 ` Mark Kettenis
1 sibling, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2009-08-26 23:05 UTC (permalink / raw)
To: Tom Tromey; +Cc: Michael Snyder, gdb
> I don't think there is anything specific to termcap, but you should be
> able to set CPPFLAGS and LDFLAGS on the configure command line.
I can't remember the details, but I sort of remember that we couldn't
make it work just using these variables... Maybe I'm wrong, it was
a while ago.
--
Joel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build gdb without installing termcap?
2009-08-26 22:53 ` Tom Tromey
2009-08-26 23:05 ` Joel Brobecker
@ 2009-08-27 8:09 ` Mark Kettenis
1 sibling, 0 replies; 6+ messages in thread
From: Mark Kettenis @ 2009-08-27 8:09 UTC (permalink / raw)
To: tromey; +Cc: brobecker, msnyder, gdb
> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 26 Aug 2009 16:48:54 -0600
>
> >>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>
> >> Is there some configure option that I can use to make it find a local
> >> build or install of libtermcap?
>
> Joel> As far as I know, there is not.
>
> I don't think there is anything specific to termcap, but you should be
> able to set CPPFLAGS and LDFLAGS on the configure command line.
I was going to point out the same thing. We can have --with-for,
--with-foo-include, --with-foo-lib for every library used by GDB, but
unlesss there is some other magic that needs to be done this only
complicates the autoconf script and makes the ./configure --help
output even more unwieldy.
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build gdb without installing termcap?
2009-08-26 23:05 ` Joel Brobecker
@ 2009-08-27 16:51 ` Tom Tromey
0 siblings, 0 replies; 6+ messages in thread
From: Tom Tromey @ 2009-08-27 16:51 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Michael Snyder, gdb
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Tom> I don't think there is anything specific to termcap, but you should be
Tom> able to set CPPFLAGS and LDFLAGS on the configure command line.
Joel> I can't remember the details, but I sort of remember that we couldn't
Joel> make it work just using these variables... Maybe I'm wrong, it was
Joel> a while ago.
Yeah, I remember now too:
http://sourceware.org/bugzilla/show_bug.cgi?id=8751
I wonder whether Ralf's recent auto* upgrade helped with this. I'm
guessing not but I didn't check. The reversion message sheds some light
on the problem:
http://sourceware.org/ml/gdb-patches/2008-11/msg00326.html
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-27 15:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-26 22:08 Build gdb without installing termcap? Michael Snyder
2009-08-26 22:17 ` Joel Brobecker
2009-08-26 22:53 ` Tom Tromey
2009-08-26 23:05 ` Joel Brobecker
2009-08-27 16:51 ` Tom Tromey
2009-08-27 8:09 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox