Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Can't build current gdb source tree -- gnulib dependency?
@ 2008-07-04  0:31 Michael Snyder
  2008-07-04  0:53 ` Daniel Jacobowitz
  2008-07-04  1:07 ` Joel Brobecker
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Snyder @ 2008-07-04  0:31 UTC (permalink / raw)
  To: gdb-patches

Hey guys, excuse me if this is already being covered.
I know there are some threads about eg. gnulib stdint, 
and I don't know if what I'm seeing is related.

Brand new cvs checkout of "gdb", main trunk, (just updated
a few minutes ago, in time to get version.in change).

configure --disable-nls on a FC7 x86 laptop
(yeah, I know it's not the latest)

On first running "make CFLAGS=-g all-gdb" it terminates with:


config.status: creating gnulib/Makefile
config.status: error: cannot find input file: gnulib/Makefile.in

(of course there's no gnulib in my source tree -- does it
need to be added to the gdb module?)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't build current gdb source tree -- gnulib dependency?
  2008-07-04  0:31 Can't build current gdb source tree -- gnulib dependency? Michael Snyder
@ 2008-07-04  0:53 ` Daniel Jacobowitz
  2008-07-04  1:07 ` Joel Brobecker
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-07-04  0:53 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

On Thu, Jul 03, 2008 at 05:30:43PM -0700, Michael Snyder wrote:
> Hey guys, excuse me if this is already being covered.
> I know there are some threads about eg. gnulib stdint, 
> and I don't know if what I'm seeing is related.
> 
> Brand new cvs checkout of "gdb", main trunk, (just updated
> a few minutes ago, in time to get version.in change).
> 
> configure --disable-nls on a FC7 x86 laptop
> (yeah, I know it's not the latest)
> 
> On first running "make CFLAGS=-g all-gdb" it terminates with:
> 
> 
> config.status: creating gnulib/Makefile
> config.status: error: cannot find input file: gnulib/Makefile.in
> 
> (of course there's no gnulib in my source tree -- does it
> need to be added to the gdb module?)

It's a subdir of gdb, like testsuite and config.  Do you have it in
there?  It shouldn't be any special.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't build current gdb source tree -- gnulib dependency?
  2008-07-04  0:31 Can't build current gdb source tree -- gnulib dependency? Michael Snyder
  2008-07-04  0:53 ` Daniel Jacobowitz
@ 2008-07-04  1:07 ` Joel Brobecker
  2008-07-04  1:54   ` Christopher Faylor
  2008-07-04  2:32   ` Michael Snyder
  1 sibling, 2 replies; 6+ messages in thread
From: Joel Brobecker @ 2008-07-04  1:07 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> (of course there's no gnulib in my source tree -- does it
> need to be added to the gdb module?)

That's really strange... I just did a checkout of the GDB sources
(I used "cvs -d sourceware.org:/cvs/src co gdb"), and it contains
the gnulib directory, as well as gnulib/Makefile.in. Are you sure
your checkout went OK? Just to make sure, I also built the debugger
from this checkout and things went fine.

-- 
Joel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't build current gdb source tree -- gnulib dependency?
  2008-07-04  1:07 ` Joel Brobecker
@ 2008-07-04  1:54   ` Christopher Faylor
  2008-07-04  2:34     ` Joel Brobecker
  2008-07-04  2:32   ` Michael Snyder
  1 sibling, 1 reply; 6+ messages in thread
From: Christopher Faylor @ 2008-07-04  1:54 UTC (permalink / raw)
  To: Michael Snyder, gdb-patches, Joel Brobecker

On Thu, Jul 03, 2008 at 06:06:32PM -0700, Joel Brobecker wrote:
>> (of course there's no gnulib in my source tree -- does it
>> need to be added to the gdb module?)
>
>That's really strange... I just did a checkout of the GDB sources
>(I used "cvs -d sourceware.org:/cvs/src co gdb"), and it contains
>the gnulib directory, as well as gnulib/Makefile.in. Are you sure
>your checkout went OK? Just to make sure, I also built the debugger
>from this checkout and things went fine.

Maybe a "cvs update -d" is required?

cgf


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't build current gdb source tree -- gnulib dependency?
  2008-07-04  1:07 ` Joel Brobecker
  2008-07-04  1:54   ` Christopher Faylor
@ 2008-07-04  2:32   ` Michael Snyder
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Snyder @ 2008-07-04  2:32 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Thu, 2008-07-03 at 18:06 -0700, Joel Brobecker wrote:
> > (of course there's no gnulib in my source tree -- does it
> > need to be added to the gdb module?)
> 
> That's really strange... I just did a checkout of the GDB sources
> (I used "cvs -d sourceware.org:/cvs/src co gdb"), and it contains
> the gnulib directory, as well as gnulib/Makefile.in. Are you sure
> your checkout went OK? Just to make sure, I also built the debugger
> from this checkout and things went fine.

OK, I'll do it again... ah, wait a minute, I think I see what happened.

... never mind! ...   ;-/




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't build current gdb source tree -- gnulib dependency?
  2008-07-04  1:54   ` Christopher Faylor
@ 2008-07-04  2:34     ` Joel Brobecker
  0 siblings, 0 replies; 6+ messages in thread
From: Joel Brobecker @ 2008-07-04  2:34 UTC (permalink / raw)
  To: Michael Snyder, gdb-patches

> >That's really strange... I just did a checkout of the GDB sources
> >(I used "cvs -d sourceware.org:/cvs/src co gdb"), and it contains
> >the gnulib directory, as well as gnulib/Makefile.in. Are you sure
> >your checkout went OK? Just to make sure, I also built the debugger
> >from this checkout and things went fine.
> 
> Maybe a "cvs update -d" is required?

It should definitely fix the problem, although I tend to avoid using
this command without specifying the directory I want to get, because
otherwise I end up pulling some directories from other modules (such
as insight). So I tend to do "cvs update -d DIRNAME" instead.  This
is one of the limitations of using shared CVS for several projects,
I guess.

But Michael said that he did a fresh checkout of the sources, and so
his sandbox should have contained gdb/gnulib.

-- 
Joel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-04  2:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-04  0:31 Can't build current gdb source tree -- gnulib dependency? Michael Snyder
2008-07-04  0:53 ` Daniel Jacobowitz
2008-07-04  1:07 ` Joel Brobecker
2008-07-04  1:54   ` Christopher Faylor
2008-07-04  2:34     ` Joel Brobecker
2008-07-04  2:32   ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox