GithubHelp home page GithubHelp logo

Comments (10)

cboettig avatar cboettig commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

@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.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

hmm, no go:

./bootstrap: line 78: aclocal: command not found

(after installing git, running bash a debian-r-base container)

from rocker.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

Hmm, guess it would be wiser to just wget and symlink the install2.r, installGithub.r and testInstalled.r scripts for now?

from rocker.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

Fixed by PR #25 . (we'll want to update r-base once the next littler is released though).

from rocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.