-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm having some issues trying to compile R-devel on Ubuntu 14.04. library("tcltk") works fine on the version of R as installed from Debian packages; I've done "apt-get build-dep r-base" so I think I have all the tcltk libraries I need installed ... (and going back to things like apt-get tcl-dev and apt-get tk-dev confirms that they're really there ...) When I configure and build R without doing anything special, tcltk is not found and capabilities()["tcltk"] is FALSE. I modified config.site as follows: ## Use TCLTK_LIBS for all '-L' and '-l' options needed for linking TCLTK_LIBS="-L/usr/lib/x86_64-linux-gnu" ## Use TCLTK_CPPFLAGS for all '-I' options needed for finding the tcl.h TCLTK_CPPFLAGS="-I/usr/include/tcl" This makes capabilities()["tcltk"] TRUE, but trying library("tcltk") still returns Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: fun(libname, pkgname) error: Tcl/Tk support is not available on this system Any more suggestions on troubleshooting/diagnosing? I'm not sure what I should be telling R to look for ... thanks Ben Bolker PS (I chose /usr/lib/x86_64-linux_gnu for TCLTK_LIBS because that's where the tcl libraries seem to be located ... ls /usr/lib/x86_64-linux-gnu/libtcl* /usr/lib/x86_64-linux-gnu/libtcl8.5.a /usr/lib/x86_64-linux-gnu/libtcl8.6.so /usr/lib/x86_64-linux-gnu/libtclstub8.5.a /usr/lib/x86_64-linux-gnu/libtcl8.5.so /usr/lib/x86_64-linux-gnu/libtcl8.6.so.0 /usr/lib/x86_64-linux-gnu/libtclstub8.6.a /usr/lib/x86_64-linux-gnu/libtcl8.5.so.0 /usr/lib/x86_64-linux-gnu/libtcl.a /usr/lib/x86_64-linux-gnu/libtclstub.a /usr/lib/x86_64-linux-gnu/libtcl8.6.a /usr/lib/x86_64-linux-gnu/libtcl.so ) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJVZHxmAAoJEOCV5YRblxUHfe4IAL4RYDa89Hri91j7T//+RS+6 +/rnB6DH3QMVCYRtxmKFIZELhFyaU1pxe3/2p8gIWz8jIcVkGk3BEcdIeS0VgySk wwrnfwv1PNE6gaun4CIWC/ICFQlCTAjo+eLFFYtSElETcm7UbRKMlojyWQSHjrf9 0ioloHZ72uajbzxcZdezRsYG/8+VwgkKWtoa5MfmggH5T8EL5QGD5S2aGqEPtWJe UZUZCQFN43vRnHPgYxIQO3oXmjnnn0BsZlx+lXwqsRR7dplknCgQWyP0TEcv9Sur GaemV2oEuUIpAgkMBZt2vTSGIrDgWUIfGcKT0nHNwtvh+cLcDuysj6M+6/JZCaQ=xkGy -----END PGP SIGNATURE-----
Ben, At work with little time so _real brief_: -- we build r-devel "all the time", in fact nightly for rocker; and there are Dockerfiles to look at -- we build R all the time in Debian, Ubuntu, ... and my sources for that are not on GH but you can fetch the diff.gz -- there is an entire list dedicated to this: r-sig-debian so could you pretty-please post there (after registering, if needed) I'll be glad to help, preferably on r-sig-debian. Cheers, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 False alarm. Completely wiping out my build directory followed by ../R-devel/configure --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh; make seems to work. (My fault for assuming repeated cycles of ./configure; make would actually do the right thing ...) There seems to be a corollary of Clarke's Law ("any sufficient advanced technology is indistinguishable from magic") that says that any sufficiently complex software system may *not* be magic, but it's just easier to treat it as though it is ... Thanks for the offer of help ... Ben On 15-05-26 10:25 AM, Dirk Eddelbuettel wrote:> > Ben, > > At work with little time so _real brief_: > > -- we build r-devel "all the time", in fact nightly for rocker; and > there are Dockerfiles to look at > > -- we build R all the time in Debian, Ubuntu, ... and my sources > for that are not on GH but you can fetch the diff.gz > > -- there is an entire list dedicated to this: r-sig-debian so could > you pretty-please post there (after registering, if needed) > > I'll be glad to help, preferably on r-sig-debian. > > Cheers, Dirk >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJVZI2kAAoJEOCV5YRblxUHYEIH/j6jViruOP479yPNkRWXKNlA 0uXDYmZek/Zd2hwH6iHtmyTTLY3gR61metvLxFx/mpY3W/skM83Wpc9vWVHfUa8/ 8aOaOndZnREEs5AT2TZwuYymXKYO7zEUeqL1cArXyzzqej0irUi5MjpWQsxD5hNA M1LvpK3h31EWeJaJPdQHooZUMjgKKt1bJDrjIhs09J/jyVjUj5XANhsVfNUUbru5 pwXyMc3OMXfElgKM6/vO6gt1u2x7VHHpAZX7NrxgFksTaG4ceT0H8jUYIolCQmDy RC7//onh0t8sqZCS3a4koZWy5mfnrcSc8M5PZaTZFnEQtU6D0jFSGCGGQ3Ncmow=UCFD -----END PGP SIGNATURE-----