public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* build insight on RH7.1
@ 2001-10-19 10:40 Mike Sowka
  2001-10-19 11:13 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Sowka @ 2001-10-19 10:40 UTC (permalink / raw)
  To: insight

Hello,
I was just wandering if someone could tell me how to go about getting 
insight up and running. I understand RedHat offers insight as GNUPro... 
being a student, I figured I'll just get them 'gratis' by putting in a 
bit of effort and building them myself. Now I've done this before on the 
solaris machines at work before... but now when I sit down to do it on 
the school computer... I'm left scratching my head... :

- I can only build stuff into my ~/ (./configure --prefix=/home/msowka)
- gdb 5.0 is already installed on the systems as rpm
- I've tried building insight at home (--prefix=/usr, and gdb5.0 as rpms 
as well) and it wouldn't work

Question(s):
-how do I build insight into my ~/?
-do I need to rebuild gdb5.0 even though it's already there in the form 
of an rpm?
-what's the scoop on the development snapshots: why do both gdb & 
insight include dejagnu... and how do I build THAT?

Thank  you for any suggestions for the newbie...
Mike

-- 
/**********************************************************************\
|      Mike Sowka                     o      _     _         _         |
| An Aspiring Engi"Nerd"      _o     /\_   _ \\o  (_)\__/o  (_)        |
|  Carleton University      _< \_   _>(_) (_)/<_    \_| \   _|/' \/    |
| msowka@doe.carleton.ca   (_)>(_) (_)        (_)   (_)    (_)'  _\o_  |
| (home msowka@home.com)                                               |
\**********************************************************************/


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

* Re: build insight on RH7.1
  2001-10-19 10:40 build insight on RH7.1 Mike Sowka
@ 2001-10-19 11:13 ` Keith Seitz
  2001-10-19 16:01   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2001-10-19 11:13 UTC (permalink / raw)
  To: Mike Sowka; +Cc: insight

On Fri, 19 Oct 2001, Mike Sowka wrote:

> - I can only build stuff into my ~/ (./configure --prefix=/home/msowka)

Not a problem.

> - gdb 5.0 is already installed on the systems as rpm

Also not a problem.

> - I've tried building insight at home (--prefix=/usr, and gdb5.0 as rpms
> as well) and it wouldn't work

gdb5.0 was very bad for Insight. Try the 5.1 branch instead. These might
be available as snapshots. Worst case: use anonymous cvs to get the 5.1
branch. Instructions on how to do this are on the gdb page. Remember to
chek out the "insight+dejangu" module, not just the gdb module.

> Question(s):
> -how do I build insight into my ~/?

Simple. Use "--prefix=/home/msowka/INSTALLDIR". All of insight (including
its own versions of tcl, tk, tix, etc) will be installed there. Simply add
/home/msowka/INSTALLDIR/bin to the front of your path and viola! You'll
use the 5.1 gdb/Insight instead of /usr/bin/gdb.

> -do I need to rebuild gdb5.0 even though it's already there in the form
> of an rpm?

Nope. Just ignore gdb5.0

> -what's the scoop on the development snapshots: why do both gdb &
> insight include dejagnu... and how do I build THAT?

It's all automatic. When you download either the snapshot or checkout the
branch, you get all the sources you need to rebuild everything. Right now,
that means you'll get, bfd, gdb (and insight), dejagnu, expect, tcl8.0,
tk8.0, tix4.1, itcl3.0, and some other stuff. This "other stuff" is what
used to be called the "cygnus tree". It includes a toplevel configure
script which will build everything for you. All you need to do is run the
configure script (and optionally give it things like an install --prefix).

Dejagnu is the GNU testsuite framework, which is used by gdb, gas, gcc,
etc for testing.

So your process will (something) like:
$ cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
(Logging in to anoncvs@anoncvs.cygnus.com)
CVS password: [enter "anoncvs"]
$ cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r gdb_5_1-2001-07-29-branch insight+dejagnu
...
$ ls
src
$ mkdir obj; cd obj
$ ../src/configure --prefix=/home/msowka/insight-5.1
...
$ make; make install
...
$ export PATH=/home/msowka/insight-5.1/bin:$PATH
$ gdb -v
GNU gdb 5.0.91-2001-10-19-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".

Please note that right now, you MUST use the tcl, tk, etc that comes with
the checkout. You CANNOT use pre-installed versions. We are working to
eliminate this dependency in the mainline right now. Hopefully we'll be
ready for that with the next release.

Keith

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

* Re: build insight on RH7.1
  2001-10-19 11:13 ` Keith Seitz
@ 2001-10-19 16:01   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2001-10-19 16:01 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Mike Sowka, insight

They are available as snapshots.  see 
ftp://sources.redhat.com/pub/gdb/snapshots/5-1-branch/

I really should probably move the insight snapshots to pub/insight/...

Andrew

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

end of thread, other threads:[~2001-10-19 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-19 10:40 build insight on RH7.1 Mike Sowka
2001-10-19 11:13 ` Keith Seitz
2001-10-19 16:01   ` Andrew Cagney

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).