public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Running Insight from CVS
@ 2000-11-28 14:53 Larry Smith
  2000-11-28 15:04 ` Fernando Nasser
  0 siblings, 1 reply; 5+ messages in thread
From: Larry Smith @ 2000-11-28 14:53 UTC (permalink / raw)
  To: insight; +Cc: Syd Polk

Something changed in the insight module in cvs from
sources.redhat.com.  A fresh checkout, config, build,
and install to a non-default directory leaves gdb unable
to run.  You need to add a link from the install directory,
libide/library to share/cygnus/gui.  It took me about a
day and half to figure this out.  This may be an install
problem or a configure problem, and I imagine it's related
to the renaming issue, but I'm not sure.

regards,
-- 
 .-.    .-. .---. .---. .-..-. | "Bill Gates is just a monocle
 | |__ / | \| |-< | |-<  >  /  | and a Persian Cat away from
 `----'`-^-'`-'`-'`-'`-' `-'   | being one of the bad guys in a
       My opinions only.       | James Bond movie." -- D Miller

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

* Re: Running Insight from CVS
  2000-11-28 14:53 Running Insight from CVS Larry Smith
@ 2000-11-28 15:04 ` Fernando Nasser
  2000-11-28 15:15   ` Larry Smith
  0 siblings, 1 reply; 5+ messages in thread
From: Fernando Nasser @ 2000-11-28 15:04 UTC (permalink / raw)
  To: lsmith; +Cc: insight, Syd Polk

Larry Smith wrote:
> 
> Something changed in the insight module in cvs from
> sources.redhat.com.  A fresh checkout, config, build,
> and install to a non-default directory leaves gdb unable
> to run.  You need to add a link from the install directory,
> libide/library to share/cygnus/gui.  It took me about a
> day and half to figure this out.  This may be an install
> problem or a configure problem, and I imagine it's related
> to the renaming issue, but I'm not sure.
> 

There are no changes related to the renaming yet.  Nor any other changes in
the install process that I am aware of (well, I've been away three weeks and
may have missed something).

It works for me, but maybe you are doing things a little bit different and triggering
some bug.

What was the configuration line that you've used?

have you specified both --prefix and --exec-prefix or just --prefix?

What is the host?

Where does your "install" program came from?

Have you looked at the log to see if there is any message from install about
not being able to create a link?

Does insight work from the build tree?

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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

* Re: Running Insight from CVS
  2000-11-28 15:04 ` Fernando Nasser
@ 2000-11-28 15:15   ` Larry Smith
  2000-11-28 15:30     ` Fernando Nasser
  0 siblings, 1 reply; 5+ messages in thread
From: Larry Smith @ 2000-11-28 15:15 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: insight, Syd Polk

Fernando Nasser wrote:

> Larry Smith wrote:

> > Something changed in the insight module in cvs from
> > sources.redhat.com.  A fresh checkout, config, build,
> > and install to a non-default directory leaves gdb unable
> > to run.  You need to add a link from the install directory,
> > libide/library to share/cygnus/gui.  It took me about a
> > day and half to figure this out.  This may be an install
> > problem or a configure problem, and I imagine it's related
> > to the renaming issue, but I'm not sure.

> There are no changes related to the renaming yet.  Nor any other changes in
> the install process that I am aware of (well, I've been away three weeks and
> may have missed something).

Hey, I was guessing...  =)

> It works for me, but maybe you are doing things a little bit different and triggering
> some bug.

Worked for me, too, until yesterday.  Then I started
getting the complaint:

> gdb
ide_initialize_paths failed: Can't find the GUI Tcl library in the
following directories:
    /usr/local/usr/share/cygnus/gui /usr/local/share/cygnus/gui
/usr/share/cygnus/gui /home/larry/rhwork/install/libgui/library
/usr/local/usr/share/cygnus/ide /usr/local/share/cygnus/ide
/usr/share/cygnus/ide /home/larry/rhwork/install/libide/library

By the way, this is not a great error message, there
isn't anything called the "GUI Tcl library", there
is just a bunch of tcl files in cygnus/gui.  I had
tried several rebuilds before I noticed that the
first several paths in the above message were looking
for .../cygnus/gui and decided that was what it was
really looking for.

> What was the configuration line that you've used?

../cvs/src/configure --prefix="/home/larry/rhwork/install"
--exec-prefix="/home/larry/rhwork/install"

> have you specified both --prefix and --exec-prefix or just --prefix?

Nope, both.

> What is the host?

From the configure log:
Configuring for a i686-pc-linux-gnu host.

> Where does your "install" program came from?

Just "make install"

> Have you looked at the log to see if there is any message from install about
> not being able to create a link?

I saw no complaints in the scroll.

> Does insight work from the build tree?

Hm!  Yes, it does.  Went to the build directory
and just did ./gdb.  I disabled the link that made
the install version work first, just to be sure.

regards,
-- 
 .-.    .-. .---. .---. .-..-. | "Bill Gates is just a monocle
 | |__ / | \| |-< | |-<  >  /  | and a Persian Cat away from
 `----'`-^-'`-'`-'`-'`-' `-'   | being one of the bad guys in a
       My opinions only.       | James Bond movie." -- D Miller

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

* Re: Running Insight from CVS
  2000-11-28 15:15   ` Larry Smith
@ 2000-11-28 15:30     ` Fernando Nasser
  2000-11-28 17:12       ` Larry Smith
  0 siblings, 1 reply; 5+ messages in thread
From: Fernando Nasser @ 2000-11-28 15:30 UTC (permalink / raw)
  To: lsmith; +Cc: insight, Syd Polk

Larry Smith wrote:
> 
> Worked for me, too, until yesterday.  Then I started
> getting the complaint:
> 
Weird.  Is there any recent ChangeLog entry related to configure.in,
Makefile.in ?

> > gdb
> ide_initialize_paths failed: Can't find the GUI Tcl library in the
> following directories:
>     /usr/local/usr/share/cygnus/gui /usr/local/share/cygnus/gui
> /usr/share/cygnus/gui /home/larry/rhwork/install/libgui/library
> /usr/local/usr/share/cygnus/ide /usr/local/share/cygnus/ide
> /usr/share/cygnus/ide /home/larry/rhwork/install/libide/library
> 
> By the way, this is not a great error message, there
> isn't anything called the "GUI Tcl library", there
> is just a bunch of tcl files in cygnus/gui.  I had
> tried several rebuilds before I noticed that the
> first several paths in the above message were looking
> for .../cygnus/gui and decided that was what it was
> really looking for.
> 

I agree.  It should give a more specific hint.


> > What was the configuration line that you've used?
> 
> ../cvs/src/configure --prefix="/home/larry/rhwork/install"
> --exec-prefix="/home/larry/rhwork/install"
> 
> > have you specified both --prefix and --exec-prefix or just --prefix?
> 
> Nope, both.
> 

The only difference between yours and mine is that I add "H-i686-pc-linux-gnu"
to the end of my --exec-prefix path.

Maybe, somewhere, someone makes use of ".." to look for things relative to
"exec-prefix" and fails if they are at the same level.  Note that the default
is at the same level, but is normally refered to as an absolute path.


> > What is the host?
> 
> >From the configure log:
> Configuring for a i686-pc-linux-gnu host.
> 
> > Where does your "install" program came from?
> 
> Just "make install"
> 

I meant the "install" program.

[18:24:35] > install --version
install (GNU fileutils) 4.0p
Written by David MacKenzie.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Don't think this is the problem though, unless something changed in your system
installation recently (an upgrade perhaps?)

> > Have you looked at the log to see if there is any message from install about
> > not being able to create a link?
> 
> I saw no complaints in the scroll.
> 

There is too much output.  You may use "tee" next time you "make install" so you
can search the output with emacs, grep or something afterwards.


> > Does insight work from the build tree?
> 
> Hm!  Yes, it does.  Went to the build directory
> and just did ./gdb.  I disabled the link that made
> the install version work first, just to be sure.
> 

That is good.

Any chance you could try --exec-prefix=<path used to --prefix>/H-i686-pc-linux-gnu ?


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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

* Re: Running Insight from CVS
  2000-11-28 15:30     ` Fernando Nasser
@ 2000-11-28 17:12       ` Larry Smith
  0 siblings, 0 replies; 5+ messages in thread
From: Larry Smith @ 2000-11-28 17:12 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: insight, Syd Polk

Fernando Nasser wrote:

> Larry Smith wrote:

> > Worked for me, too, until yesterday.  Then I started
> > getting the complaint:

> Weird.  Is there any recent ChangeLog entry related to configure.in,
> Makefile.in ?

Nope.  Checked for that.  At least, in the
top level directory, which is where those
files are.

> > > What was the configuration line that you've used?
> >
> > ../cvs/src/configure --prefix="/home/larry/rhwork/install"
> > --exec-prefix="/home/larry/rhwork/install"
> >
> > > have you specified both --prefix and --exec-prefix or just --prefix?
> >
> > Nope, both.
> >
> 
> The only difference between yours and mine is that I add "H-i686-pc-linux-gnu"
> to the end of my --exec-prefix path.
> 
> Maybe, somewhere, someone makes use of ".." to look for things relative to
> "exec-prefix" and fails if they are at the same level.  Note that the default
> is at the same level, but is normally refered to as an absolute path.

Plausible.

> > > Where does your "install" program came from?
> >
> > Just "make install"
> >
> 
> I meant the "install" program.

Must be later than I thought.  It's the standard
RH 6.2 one: install (GNU fileutils) 4.0

> Don't think this is the problem though, unless something changed in your system
> installation recently (an upgrade perhaps?)

No, nothing like that (that would've been my first
thought).  I'm still pending an upgrade to 7-no-dot-0,
but haven't had time with the press of crs needing to
be done.

> > > Have you looked at the log to see if there is any message from install about
> > > not being able to create a link?
> >
> > I saw no complaints in the scroll.
> >
> 
> There is too much output.  You may use "tee" next time you "make install" so you
> can search the output with emacs, grep or something afterwards.

I did just eyeball the scroll, but I saw nothing that
looked like an error.

> > > Does insight work from the build tree?
> >
> > Hm!  Yes, it does.  Went to the build directory
> > and just did ./gdb.  I disabled the link that made
> > the install version work first, just to be sure.
> >
> 
> That is good.
> 
> Any chance you could try --exec-prefix=<path used to --prefix>/H-i686-pc-linux-gnu ?

I'd be happy to, but I'm behind in my week's quota of
crs, so I'd prefer to come back to this issue later,
now that I have a workaround.  With the short week last
week I've really not managed to get anything done besides
get gdb running again...  =(

regards,
-- 
 .-.    .-. .---. .---. .-..-. | "Bill Gates is just a monocle
 | |__ / | \| |-< | |-<  >  /  | and a Persian Cat away from
 `----'`-^-'`-'`-'`-'`-' `-'   | being one of the bad guys in a
       My opinions only.       | James Bond movie." -- D Miller

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

end of thread, other threads:[~2000-11-28 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-28 14:53 Running Insight from CVS Larry Smith
2000-11-28 15:04 ` Fernando Nasser
2000-11-28 15:15   ` Larry Smith
2000-11-28 15:30     ` Fernando Nasser
2000-11-28 17:12       ` Larry Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).