How to build RStudio on Ubuntu 18.04?

community

#1

Hi.

Rstudio 1.1 on Ubuntu 18.04 does not integrate well with Gnome. This will solve colors and other issues: printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile + reboot.

However, I notice RStudio hangs after a few minutes on 18.04. I am trying to create a PPA building from source but after updating dependencies (i.e gstreamer1.0 replaces gstreamer0.1) I get this error:

pacha@XPS-13-9360:~/GitHub/rstudio/build$ sudo make install
Buildfile: /home/pacha/GitHub/rstudio/src/gwt/build.xml

ext:
   [jscomp] None of the files changed. Compilation skipped.

javac:
    [javac] Compiling 1 source file to /home/pacha/GitHub/rstudio/src/gwt/bin

gwtc:
     [java] Compiling module org.rstudio.studio.RStudio
     [java]    [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core' either directly or indirectly (most often by inheriting module 'com.google.gwt.user.User')

BUILD FAILED
/home/pacha/GitHub/rstudio/src/gwt/build.xml:110: Java returned: 1

Total time: 7 seconds
src/gwt/CMakeFiles/gwt_build.dir/build.make:57: recipe for target 'gwt_build' failed
make[2]: *** [gwt_build] Error 1
CMakeFiles/Makefile2:106: recipe for target 'src/gwt/CMakeFiles/gwt_build.dir/all' failed
make[1]: *** [src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2