Giter Club home page Giter Club logo

Comments (4)

btubbs avatar btubbs commented on May 27, 2024

Update: I got R 3.0.2 to build using the script at https://github.com/yougov/heroku-buildpack-r/blob/master/support/build-r. I actually got Shiny running with that (see http://shiny-example-2.herokuapp.com/), but found that images wouldn't work (see http://shiny-example-1.herokuapp.com/).

So another couple hours of Googling and fiddling led me to your newer build script at https://gist.github.com/virtualstaticvoid/6104311 that includes Cairo, and in building that I get this:

make[4]: Entering directory `/app/R-3.0.2/src/extra/zlib'
gcc -std=gnu99 -I.  -DUSE_MMAP -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H   -fopenmp -fpic  -g -O2  -fvisibility=hidden -c adler32.c -o adler32.o
In file included from zutil.h:28,
                 from adler32.c:8:
/usr/include/string.h:546: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/string.h:547: error: nonnull argument with out-of-range operand number (argument 1, operand 3)
/usr/include/string.h:550: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/string.h:551: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
make[4]: *** [adler32.o] Error 1
make[4]: Leaving directory `/app/R-3.0.2/src/extra/zlib'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/app/R-3.0.2/src/extra/zlib'
make[2]: *** [make.zlib] Error 2
make[2]: Leaving directory `/app/R-3.0.2/src/extra'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/app/R-3.0.2/src'

Given that the error's occurring in string.h, I assume that's one error fixed by using the custom glibc.

I think I'm close to having a buildpack for Shiny though! :) If only I could find a working download URL for that glibc.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

@btubbs Hi Brent

The build script gist 6104311 has been incorporated into the master branches support/build-r script.

I'll take a look at the glibc issue.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

It appears that the Ubuntu archive no longer hosts the glibc assets, however I found it on the official site - http://ftp.gnu.org/gnu/glibc/glibc-2.7.tar.gz

I'll update the support/build-r script accordingly.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

Fixed in f892cfd commit

from heroku-buildpack-r.

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.