Comments (4)
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.
@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.
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.
Fixed in f892cfd commit
from heroku-buildpack-r.
Related Issues (20)
- I would really appreciate a walkthrough for a regular R user HOT 3
- renv 12 in my renv.lock file breaks the 'compilation' HOT 5
- GPG error HOT 3
- Rplumber test application delivers error HOT 5
- Increasing timeout HOT 1
- Support heroku-20 stack HOT 1
- Building with dokku HOT 2
- IsoSpecR not installed
- Skip BUILD_DIR to /app rsync when building in /app
- There is no package called 'renv' HOT 2
- Multiple-app hosting unavailable HOT 6
- Timeout when installing HOT 3
- Slow build time - Caching issue? HOT 2
- Authentication/Browser Problem when deployed. HOT 7
- Add Support for Heroku-22 HOT 9
- Add telegram.bot example and default packages HOT 6
- Use reticulate package HOT 1
- Aptfile installation fails HOT 1
- Could I use cloud native build packs? HOT 2
- renv 1.0.2 Error in if (n == 1) word else paste(word, "s", sep = ""): app[web.1]: the condition has length > 1 HOT 4
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 heroku-buildpack-r.