Comments (10)
Possible solutions here: http://stackoverflow.com/questions/26244530
Not sure what would be the best approach for patching install.r
and install2.r
; explicitly testing require
for each argument or just failing on warning? If we go with the former, perhaps it would be better to use an entirely new RUN
command after the call to install2
just to check if the packages can be loaded?
It would probably be best to implement only for install2.r
, turning this behavior on as an option, since it would be harder to support the optional behavior in install.r
.
from rocker.
@eddelbuettel Wondering if we want to install littler from Github now that the development version has a number of features that would be handy here? If so, would it be best to install from a tag?
In a related note, I haven't actually managed to install littler
from source successfully. INSTALL
suggests the usual ./configure
make
recipe, but there's no configure
script?
from rocker.
INSTALL
is wrong; try git log
on it -- it is from 2007. README
is therefore dated too.
Run ./bootstrap
as README.md
suggests.
from rocker.
hmm, no go:
./bootstrap: line 78: aclocal: command not found
(after installing git
, running bash a debian-r-base
container)
from rocker.
Any one of these:
- Look at
apt-get build-dep
, that's why they exists - Learn about GNU autoconf and its related tools. This is vanilla stuff.
- Follow the debian/rules file, it encodes all this (with the build dep)
- Or use a binary. You only care about the files in
examples/
right now anyway.
from rocker.
Thanks! Sorry to be dense, of course that worked like a charm.
It's not obvious to me why autoconf
isn't installed by apt-get build-dep
, but grabbing that as well and ./bootstrap
works just fine. Forgot all about the autoconf
step for configure.ac -> configure
, guess it's been too long since I've built things from source. I'm also a bit confused about the make install
, seems to be putting r
into usr/local/bin
as expected, but ./r
in the source directory shows that bootstrap
has built the correct version, while r
still calls the old version...
Anyway, how do you feel about me installing the Github littler version in debian-r-base
Dockerfile?
from rocker.
Hmm, guess it would be wiser to just wget
and symlink the install2.r
, installGithub.r
and testInstalled.r
scripts for now?
from rocker.
Sorry about the pains. Will update README, INSTALL, ... now. If you can glance at them at some point I'd appreciate it. That was obviously overdue.
Re autoconf
: It is probably part of the (virtual) build-essentials
package.
Re wget: Yes, either that, or I build a quick local deb we wget
and install. Manual wget
is probably simpler.
from rocker.
Turns out bootstrap
etc were discussed in INSTALL but further down. Back in the day people started from tarballs, and the release tarball has configure
...
from rocker.
Fixed by PR #25 . (we'll want to update r-base once the next littler is released though).
from rocker.
Related Issues (20)
- Migrating from Dockerhub? HOT 3
- Container for RStudio (not server) HOT 1
- MRAN repository snapshots were deleted - Failing jobs because packages can't be found anymore HOT 5
- docker v18 & packages repositories & rocker's images HOT 5
- unable to load shared object
- Update results in deletion of all install package...
- installation testing fails HOT 1
- r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
- Docker image r-base:4.2.1 not reproducible HOT 4
- Installing unstable apt packages? HOT 4
- Local Zotero Integration? HOT 3
- R session terminated HOT 1
- latest r-base breaks install of `curl` package HOT 8
- xz-utils backdoor HOT 4
- Potential high vulnerability in r-base:4.3.1 HOT 3
- Installing packages fails due to broken openssl package in debian testing HOT 2
- Alternative Methods of Extending Images? HOT 5
- update 'latest' version to 4.4.0 RDS security flaw HOT 2
- New `usrmerge` issues. HOT 5
- 502 Returned by Rstudio Server when executing 'client_init' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocker.