R-2.2.1-INSTALL Issue with TCLTK

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

R-2.2.1-INSTALL Issue with TCLTK

Bhola, Gautam
Hi

 

I am not able to have a working tcltk library in R-2.2.1 inspite of
trying different options suggested in the FAQ's. I am using the
following configure option and I do get the tcltk package installed but
with a missing libs folder.

 

./configure -prefix= "~R-2.2.1"  --enable-R-shlib --enable-linux-lfs
--with-zlib --with-gnu-ld --with-tcltk
--with-tcl-config="~tcl-8.4.12/lib" --with-tk-config="~tk-8.4.12/lib"

 

I have ensured that I have a valid tclsh in my path and have even
provided the include path for covering the tcl.h

 

Operating system: RHEL

 

The error I get while trying to invoke the libarary for tcltk is:

 

Error in firstlib(which.lib.loc, package) :

 Tcl/Tk support is not available on this system

Error in library(tcltk) : .First.lib failed for 'tcltk'

Execution halted

 

Any help to identify the cause is highly appreciated.

 

Respectfully

Gautam

----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: R-2.2.1-INSTALL Issue with TCLTK

Prof Brian Ripley
Those don't look like valid paths to config files to me.  On FC3 they
would be

/usr/lib/tclConfig.sh
/usr/lib/tkConfig.sh

So even if you have users tcl-8.4.12 and tk-8.4.12 (do you?), your paths
are almost surely not to config files.

Configure reports what works, including that it is not going to build
tcl/tk support.  Look back at the relevant parts of its output.

On Fri, 3 Feb 2006, Bhola, Gautam wrote:

> Hi
>
>
>
> I am not able to have a working tcltk library in R-2.2.1 inspite of
> trying different options suggested in the FAQ's. I am using the
> following configure option and I do get the tcltk package installed but
> with a missing libs folder.
>
>
>
> ./configure -prefix= "~R-2.2.1"  --enable-R-shlib --enable-linux-lfs
> --with-zlib --with-gnu-ld --with-tcltk
> --with-tcl-config="~tcl-8.4.12/lib" --with-tk-config="~tk-8.4.12/lib"
>
>
>
> I have ensured that I have a valid tclsh in my path and have even
> provided the include path for covering the tcl.h
>
>
>
> Operating system: RHEL
>
>
>
> The error I get while trying to invoke the libarary for tcltk is:
>
>
>
> Error in firstlib(which.lib.loc, package) :
>
> Tcl/Tk support is not available on this system
>
> Error in library(tcltk) : .First.lib failed for 'tcltk'
>
> Execution halted
>
>
>
> Any help to identify the cause is highly appreciated.
>
>
>
> Respectfully
>
> Gautam
>
> ----------------------------------------------------------------------
> LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: R-2.2.1-INSTALL Issue with TCLTK

Bhola, Gautam
In reply to this post by Bhola, Gautam
I haven't seen any updates/suggestions on this topic, so just
wondering??


-----Original Message-----
From: Prof Brian Ripley [mailto:[hidden email]]
Sent: Friday, February 03, 2006 3:20 PM
To: Bhola, Gautam
Cc: [hidden email]
Subject: Re: [R] R-2.2.1-INSTALL Issue with TCLTK

Those don't look like valid paths to config files to me.  On FC3 they
would be

/usr/lib/tclConfig.sh
/usr/lib/tkConfig.sh

So even if you have users tcl-8.4.12 and tk-8.4.12 (do you?), your paths

are almost surely not to config files.

Configure reports what works, including that it is not going to build
tcl/tk support.  Look back at the relevant parts of its output.

On Fri, 3 Feb 2006, Bhola, Gautam wrote:

> Hi
>
>
>
> I am not able to have a working tcltk library in R-2.2.1 inspite of
> trying different options suggested in the FAQ's. I am using the
> following configure option and I do get the tcltk package installed
but

> with a missing libs folder.
>
>
>
> ./configure -prefix= "~R-2.2.1"  --enable-R-shlib --enable-linux-lfs
> --with-zlib --with-gnu-ld --with-tcltk
> --with-tcl-config="~tcl-8.4.12/lib" --with-tk-config="~tk-8.4.12/lib"
>
>
>
> I have ensured that I have a valid tclsh in my path and have even
> provided the include path for covering the tcl.h
>
>
>
> Operating system: RHEL
>
>
>
> The error I get while trying to invoke the libarary for tcltk is:
>
>
>
> Error in firstlib(which.lib.loc, package) :
>
> Tcl/Tk support is not available on this system
>
> Error in library(tcltk) : .First.lib failed for 'tcltk'
>
> Execution halted
>
>
>
> Any help to identify the cause is highly appreciated.
>
>
>
> Respectfully
>
> Gautam
>
> ----------------------------------------------------------------------
> LEGAL NOTICE\ Unless expressly stated otherwise, this
messag...{{dropped}}
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>

--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: R-2.2.1-INSTALL Issue with TCLTK

Peter Dalgaard
"Bhola, Gautam" <[hidden email]> writes:

> I haven't seen any updates/suggestions on this topic, so just
> wondering??

As far as I can see, the ball is on your half, so why are you
expecting any? Did you do as Brian suggested?
 

>
> -----Original Message-----
> From: Prof Brian Ripley [mailto:[hidden email]]
> Sent: Friday, February 03, 2006 3:20 PM
> To: Bhola, Gautam
> Cc: [hidden email]
> Subject: Re: [R] R-2.2.1-INSTALL Issue with TCLTK
>
> Those don't look like valid paths to config files to me.  On FC3 they
> would be
>
> /usr/lib/tclConfig.sh
> /usr/lib/tkConfig.sh
>
> So even if you have users tcl-8.4.12 and tk-8.4.12 (do you?), your paths
>
> are almost surely not to config files.
>
> Configure reports what works, including that it is not going to build
> tcl/tk support.  Look back at the relevant parts of its output.
>
> On Fri, 3 Feb 2006, Bhola, Gautam wrote:
>
> > Hi
> >
> >
> >
> > I am not able to have a working tcltk library in R-2.2.1 inspite of
> > trying different options suggested in the FAQ's. I am using the
> > following configure option and I do get the tcltk package installed
> but
> > with a missing libs folder.
> >
> >
> >
> > ./configure -prefix= "~R-2.2.1"  --enable-R-shlib --enable-linux-lfs
> > --with-zlib --with-gnu-ld --with-tcltk
> > --with-tcl-config="~tcl-8.4.12/lib" --with-tk-config="~tk-8.4.12/lib"
> >
> >
> >
> > I have ensured that I have a valid tclsh in my path and have even
> > provided the include path for covering the tcl.h
> >
> >
> >
> > Operating system: RHEL
> >
> >
> >
> > The error I get while trying to invoke the libarary for tcltk is:
> >
> >
> >
> > Error in firstlib(which.lib.loc, package) :
> >
> > Tcl/Tk support is not available on this system
> >
> > Error in library(tcltk) : .First.lib failed for 'tcltk'
> >
> > Execution halted
> >
> >
> >
> > Any help to identify the cause is highly appreciated.
> >
> >
> >
> > Respectfully
> >
> > Gautam
> >
> > ----------------------------------------------------------------------
> > LEGAL NOTICE\ Unless expressly stated otherwise, this
> messag...{{dropped}}
> >
> > ______________________________________________
> > [hidden email] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
>
> --
> Brian D. Ripley,                  [hidden email]
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> ----------------------------------------------------------------------
> LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

--
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([hidden email])                  FAX: (+45) 35327907

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: R-2.2.1-INSTALL Issue with TCLTK

Bhola, Gautam
In reply to this post by Bhola, Gautam
I am sorry but I think I didn't do a " reply all", when I replied to Prof. Ripley. I did try what he suggested.

 

I have installed tcl-8.4.12 and tk-8.4.12 in another folder and given explicit path to those lib folders for the tclConfig.sh & tkConfig.sh.

 

I also tried using the /usr/lib tcl/tk installs (version 8.3) and both times I am getting the tcltk package installed in my R version minus the libs folder.

 

bash-2.05b# cd /grid/gro/vol/minigrid/tcl-8.4.12/lib

bash-2.05b# ls -ltr

total 824

-rw-r--r--    1 rstat    rstat        7381 Feb  2 09:28 tclConfig.sh

drwxr-xr-x    8 rstat    rstat        1024 Feb  2 09:28 tcl8.4

-rw-rw-r--    1 rstat    rstat        1664 Feb  2 09:28 libtclstub8.4.a

-r-xr-xr-x    1 rstat    rstat      805566 Feb  2 09:28 libtcl8.4.so

 

bash-2.05b# pwd

/grid/gro/vol/minigrid/tk-8.4.12/lib

bash-2.05b# ls -ltr

total 984

-rw-r--r--    1 rstat    rstat        3816 Feb  3 11:28 tkConfig.sh

-rw-rw-r--    1 rstat    rstat        3258 Feb  3 11:28 libtkstub8.4.a

-r-xr-xr-x    1 rstat    rstat      974048 Feb  3 11:28 libtk8.4.so

drwxr-xr-x    5 rstat    rstat        2048 Feb  3 11:28 tk8.4

 

 

 

Furthermore, the only warning/error in get out of configure is:

 

 

R is now configured for i686-pc-linux-gnu

Source directory:          .

Installation directory:    /grid/gro/vol/minigrid/R-2.2.1

C compiler:                gcc  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -g -O2

C++ compiler:              g++  -g -O2

Fortran compiler:          g77  -g -O2

 

 Interfaces supported:      X11

 

  External libraries:        readline

 Additional capabilities:   iconv, MBCS, NLS

 Options enabled:           shared library, R profiling, Linux LFS

 Recommended packages:      yes

 

configure: WARNING: Tcl and Tk major or minor versions disagree

configure: WARNING: you cannot build info or html versions of the R manuals

 

 

Respectfully

Gautam

 

 

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Peter Dalgaard
Sent: Monday, February 06, 2006 6:56 PM
To: Bhola, Gautam
Cc: [hidden email]
Subject: Re: [R] R-2.2.1-INSTALL Issue with TCLTK

 

"Bhola, Gautam" <[hidden email]> writes:

 

> I haven't seen any updates/suggestions on this topic, so just

> wondering??

 

As far as I can see, the ball is on your half, so why are you

expecting any? Did you do as Brian suggested?

 

>

> -----Original Message-----

> From: Prof Brian Ripley [mailto:[hidden email]]

> Sent: Friday, February 03, 2006 3:20 PM

> To: Bhola, Gautam

> Cc: [hidden email]

> Subject: Re: [R] R-2.2.1-INSTALL Issue with TCLTK

>

> Those don't look like valid paths to config files to me.  On FC3 they

> would be

>

> /usr/lib/tclConfig.sh

> /usr/lib/tkConfig.sh

>

> So even if you have users tcl-8.4.12 and tk-8.4.12 (do you?), your paths

>

> are almost surely not to config files.

>

> Configure reports what works, including that it is not going to build

> tcl/tk support.  Look back at the relevant parts of its output.

>

> On Fri, 3 Feb 2006, Bhola, Gautam wrote:

>

> > Hi

> >

> >

> >

> > I am not able to have a working tcltk library in R-2.2.1 inspite of

> > trying different options suggested in the FAQ's. I am using the

> > following configure option and I do get the tcltk package installed

> but

> > with a missing libs folder.

> >

> >

> >

> > ./configure -prefix= "~R-2.2.1"  --enable-R-shlib --enable-linux-lfs

> > --with-zlib --with-gnu-ld --with-tcltk

> > --with-tcl-config="~tcl-8.4.12/lib" --with-tk-config="~tk-8.4.12/lib"

> >

> >

> >

> > I have ensured that I have a valid tclsh in my path and have even

> > provided the include path for covering the tcl.h

> >

> >

> >

> > Operating system: RHEL

> >

> >

> >

> > The error I get while trying to invoke the libarary for tcltk is:

> >

> >

> >

> > Error in firstlib(which.lib.loc, package) :

> >

> > Tcl/Tk support is not available on this system

> >

> > Error in library(tcltk) : .First.lib failed for 'tcltk'

> >

> > Execution halted

> >

> >

> >

> > Any help to identify the cause is highly appreciated.

> >

> >

> >

> > Respectfully

> >

> > Gautam

> >

> > ----------------------------------------------------------------------

> > LEGAL NOTICE\ Unless expressly stated otherwise, this

> messag...{{dropped}}

> >

> > ______________________________________________

> > [hidden email] mailing list

> > https://stat.ethz.ch/mailman/listinfo/r-help

> > PLEASE do read the posting guide!

> http://www.R-project.org/posting-guide.html

> >

>

> --

> Brian D. Ripley,                  [hidden email]

> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/

> University of Oxford,             Tel:  +44 1865 272861 (self)

> 1 South Parks Road,                     +44 1865 272866 (PA)

> Oxford OX1 3TG, UK                Fax:  +44 1865 272595

> ----------------------------------------------------------------------

> LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

>

> ______________________________________________

> [hidden email] mailing list

> https://stat.ethz.ch/mailman/listinfo/r-help

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

>

 

--

   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B

  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K

 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918

~~~~~~~~~~ - ([hidden email])                  FAX: (+45) 35327907

----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html