-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Errors on Travis (for R package) #154
Comments
The problem is |
I think the problem is the configure file, from https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Using-C_002b_002b11-code
I am trying to reproduce the error locally and will send a patch |
Actually I am mistaken, the gcc on travis is only 4.6.3, so you need to modify your |
So you have to install gcc-4.9 or greater and set CXX1X, CXX1XSTD in ~/.R/Makevars, e.g. https://github.com/jimhester/rio/blob/9026180fd731aaed34f21cba3b5e207124618e5b/.travis.yml#L8-L20 Which allows you to build successfully, https://travis-ci.org/leeper/rio/builds/131807863#L1367-L1380 This is pretty painful, but I am not sure what can be done to avoid it unless travis updates their default gcc or ubuntu version... |
is this resolved? |
Yes, @jimhester's travis setup worked for me. |
This fix would appear to cause other problems, though I am not sure whether this is actually an issue on If so, could this issue be reopened @leeper, @jimhester? Once I add the above fix to my
I'm not sure what to do about that, but the problem seems to stem from the commands added as per the above fix. Here's the complete
|
@maxheld83 I think that is actually a bug in readxl. It sets |
thanks @jimhester – is this the same issue as tidyverse/readxl#176 then? Seems like it is, as per your discussion – I'll then continue the discussion there. |
also here, FYI, just setting
|
- Add sections for building feather on travis; see <wesm/feather#154> (also needed gfortran in there) - Remove the "before script" stuff, as not necessary
I have an R package that imports feather. Builds on Travis are failing due feather failing to compile. Any ideas how to correct?
Here's the set of errors:
The text was updated successfully, but these errors were encountered: