[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: finding Tcl and Tk



Title: RE: finding Tcl and Tk

That could be a problem.  If you just need the headers then it is likely going to be /usr/include.  The source was probably never installed, it was likely done via rpm package and it only installed the binaries and docs.  It should have installed the headers.  A quick look at what was installed with my system says that the header files are installed.  Try this:

rpm -qal | grep tcl > tempfile

This will give you a list of the files installed from the tcl package.  This should give you what you need I believe.

Drew

-----Original Message-----
From: Earl Eiland
To: Hamilton, Andrew
Cc: 'redhat-list redhat com '
Sent: 3/23/2004 12:21 PM
Subject: RE: finding Tcl and Tk

Oops!  I need the Tcl and Tk SOURCE DIRECTORIES.  Where/How do I find
those?
Earl
On Tue, 2004-03-23 at 09:39, Hamilton, Andrew wrote:
> You are looking for the wrong thing, try
> 'ls /usr/lib/libtcl*'
>
>
> -----Original Message-----
> From: Earl Eiland
> To: redhat-list redhat com
> Sent: 3/23/2004 11:32 AM
> Subject: RE: finding Tcl and Tk
>
> I'm looking for the libs.  I'm installing expect, and need to soft
> link
> them to the expect directory prior to installing.
> executing 'whereis tclsh' returns '/usr/bin/tclsh'
> 'ls /usr/lib/tcl*' returns a directory '/usr/lib/tclX8.3'
>
> Somehow, I suspect this is not what I need to link to my expect
> directory!
>
> Earl
> On Tue, 2004-03-23 at 08:58, Hamilton, Andrew wrote:
> > Do you mean the libs? or are you looking for tclsh and wish?
> >
> > for either of tclsh or wish just do a "whereis tclsh" or "which
> > tclsh", if they are in your search path you'll find out quickly.
> >
> > I'm pretty sure they follow the prefix that the binaries are
> installed
> > in so if you find tclsh under /usr/bin then the libs will be under
> > /usr/lib and likewise if it is under /usr/local/bin the libs will be
> > in /usr/local/lib.  Make sure that tclsh or wish are not links
> > though.  That may throw you off.
> >
> > Regards,
> >
> > Drew
> >
> > -----Original Message-----
> > From: Earl Eiland
> > To: General Red Hat Linux discussion list
> > Sent: 3/23/2004 10:49 AM
> > Subject: finding Tcl and Tk
> >
> > How do I find what directories Tcl and Tk are in?
> >
> > Earl Eiland
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe
> mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]