[Rd] [Fwd: problems installing rjags | tcltk]
egc
cooch17 at verizon.net
Thu Apr 30 19:38:14 CEST 2009
That was it - rebuilt R with --with-tcltk, then tried rebuilding rjags.
Seems to have done the trick.
egc wrote:
> Quick followup. Confirmed that TCl/Tk are both installed on the
> machine (they are, in both 32- and 64-bit flavours), as are all tcl
> and tk-related libs, devel packages, and about everything else I could
> find.
>
> It occurred to me that perhaps the R I compiled isn't 'tcltk' aware. I
> checked the config.log, and there is some hint that this might be the
> case. Just before ## File substitutions ## I see
>
> use_tcltk='no'
>
> Further upstream in the config.log, I see
>
> configure:42914: checking for tcl.h
> conftest.c:204:17: error: tcl.h: No such file or directory
> and
>
> ac_cv_env_TCLTK_CPPFLAGS_set=
> ac_cv_env_TCLTK_CPPFLAGS_value=
> ac_cv_env_TCLTK_LIBS_set=
> ac_cv_env_TCLTK_LIBS_value=
> and
>
> r_cv_header_tcl_h=no
> and
>
> TCLTK_CPPFLAGS=''
> TCLTK_LIBS=''
> TCL_CONFIG=''
> So, it seems as if my self-rolled R isn't TCLTK 'aware'. Is simply
> adding
>
> --with-tcltk
>
> to my configure call (i.e.,
>
> ./configure --with-lapack="-L/usr/lib64"
> --with-blas="-L/opt/acml4.2.0/gfortran64/lib -lacml" --with-tcltk
>
> the solution? I figure worth asking before I literally 'start over'. I
> see from the manual for linux installs there may be some issues with
> playing nice if both 32- and 64-bit versions of Tcl/Tk are installed.
>
>
>
> -------- Original Message --------
> Subject: [Rd] problems installing rjags | tcltk
> Date: Thu, 30 Apr 2009 11:26:43 -0400
> From: egc <cooch17 at verizon.net>
> To: r-devel at r-project.org
>
>
>
> Greetings.
>
> Running Fedora Cora 8 on multi-Opteron system - full 32- and 64-bit
> libs installed (R compiled 64-bit on this machine). R 2.9.0 - libs
> sitting in /usr/local/lib64/R/library. Trying to install JAGS, with
> rjags. Partial success.
>
> For JAGS install:
>
> |./configure --with-jags-modules=/usr/local/lib/JAGS/modules
> --libdir=/usr/local/lib64
> make
> make check
> make install
>
> Seems to work / no config or make errors, and jags fires up fine when
> I invoke it.
>
> Problems start with rjags. Download latest tarball, and try
>
> || R --with-jags-modules=/usr/local/lib/JAGS/modules/ CMD INSTALL
> rjags_1.0.3-8.tar.gz
>
>
> ||Here is the relevant part of the error messages I get:
>
> ** Preparing for lazy loading
> Loading required package: lattice
> Error: package 'tcltk' does not have a name space
> ERROR: lazy loading failing for package 'rjags'
> |* Removing '/usr/local/lib64/R/library/rjags'
>
> No idea what to do now. Only tcltk-like package I see is tcltk2. Tried
> installing it, get the following error:
>
> Error in library(pkg, character.only=TRUE, logical.return=TRUE,
> lib.loc-lib.loc) :
> 'tcltk' is not a valid installed package.
> ERROR: lazy loading failed for package 'tcltk2'
>
> So, I'm stumped.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
More information about the R-devel
mailing list