This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
Re: insight/58
- To: fnasser at cygnus dot com
- Subject: Re: insight/58
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: 22 Nov 2000 22:13:00 -0000
- Cc: insight-prs at sourceware dot cygnus dot com,
- Reply-To: Fernando Nasser <fnasser at cygnus dot com>
The following reply was made to PR insight/58; it has been noted by GNATS.
From: Fernando Nasser <fnasser@cygnus.com>
To: insight-gnats@sourceware.cygnus.com, Rebecca_R_Krause@notes.seagate.com,
nobody@sourceware.cygnus.com
Cc:
Subject: Re: insight/58
Date: Wed, 22 Nov 2000 17:05:56 -0500
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=58&database=insight
Adding e-mail messages that were not registered:
Hello Mr.Nasser,
I apologize for e-mailing you directly rather than going through the
newsgroups or the "contact us" e-mail address on the Insight website. I
tried to do both those
things but my e-mail kept being returned by mailer-daemon because
apparently my server is on some ORBS list so you think I am spam!! Again,
I apologize but
I am in desperate need for help as I have run out of ideas!
I did a custom install of RedHat Linux 7.0 then tried to install Insight
using the following steps:
go to usr/src
unzip the file with the following command: tar -xvzf insight-5.0.tar.gz
go to usr/src/insight-5.0
enter the following command: ./configure
at this point I get the following error:
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no
configure: error: Could not find a term library
Configure in /usr/src/insight-5.0/gdb failed, exiting
If I go back and do a workstation install of RedHat Linux 7.0, Insight installs correctly. I don't want to be
forced into a workstation install of
Linux so I am trying to
find a way around this. First I thought I was missing a RPM so I made sure that every RPM that gets installed
through a workstation install is
installed
on my custom machine. I then tried to install Insight but I still received the same error as above. After
that idea failed, I have been following
another trail.
Tgetent is a function in libtermcap which is a basic system library for accessing the termcap database. This
led me to believe that something was
different
in the termcap database. The termcap files found at /etc/termcap are identical between the two machines. If I
use the "set" command, both the custom
and
workstation installed machines have TERM =xterm.
Any ideas on how to fix this error other than doing a workstation install of Linux?
Thanks,
Rebecca Krause
I am afraid the information that you do not have a term library got cached somehow.
have you tried "configure" in an empty directory?
We never use the source directory itself for building around here.
You can create any directory, cd to it and specify the full path to configure:
/usr/src/insight-5.0/configure
Or whatever path your sources are on.
Please try this and let me know.
Fernando
Hi Fernando,
I created an empty directory called test. I did a cd into test. Then at
the prompt I typed "/usr/src/insight-5.0/configure" and received the
following error:
Configuring for an i686-pc-linux-gnu host
***Cannot configure here in "/test" when "/usr/src/insight-5.0" is
currently configured
What next?
Rebecca
Rebecca.R.Krause@seagate.com wrote:
>
> Hi Fernando,
>
> I created an empty directory called test. I did a cd into test. Then at
> the prompt I typed "/usr/src/insight-5.0/configure" and received the
> following error:
>
> Configuring for an i686-pc-linux-gnu host
> ***Cannot configure here in "/test" when "/usr/src/insight-5.0" is
> currently configured
>
> What next?
>
Your insight sources were poluted by the in-place configuration you did before.
You need to re-untar the sources from the tar file so they are plain sources.
I would have foreseen that, but as I said, we never do in-place configures around
here.
F.
Hi Fernando,
I created an empty directory /test
At /usr/src I un-tarred the insight-5.0.tar.gz file
At /test I entered the following command:
/usr/src/insight-5.0/configure
configure worked fine so then I entered the commen make
At make I get these errors:
make[2]: Leaving directory `/test/tcl/unix'
make[1]: Leaving directory `/test/tcl'
make[1]: Entering directory `/test/tk'
make[2]: Entering directory `/test/tk/unix'
gcc -c -g -O2 -I/usr/src/insight-5.0/tk/unix
-I/usr/src/insight-5.0/tk/unix/../generic
-I/usr/src/insight-5.0/tk/unix/../bitmaps
-I/usr/src/insight-5.0/tcl/generic -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
/usr/src/insight-5.0/tk/unix/tkAppInit.c
In file included from /usr/src/insight-5.0/tk/unix/tkAppInit.c:16:
/usr/src/insight-5.0/tk/generic/tk.h:77:29: X11/Xlib.h: No such file or
directory
make[2]: *** [tkAppInit.o] Error 1
make[2]: Leaving directory `/test/tk/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/test/tk'
make: *** [all-tk] Error 2
I can see the Xlib.h file in /usr/src/insight-5.0/tk/xlib/X11/Xlib.h
Can you tell me how to fix this error?
Thank you very much!
Rebecca Krause
Look if you system has
/usr/include/X11/Xlib.h
Maybe when you installed your Linux OS you didn't ask for the X11 *development* package.
Fernando
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9