PINE64
+PINEBOOK: Newbie Trying to Compile RStudio On Pinebook - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: +PINEBOOK: Newbie Trying to Compile RStudio On Pinebook (/showthread.php?tid=4907)



+PINEBOOK: Newbie Trying to Compile RStudio On Pinebook - MiningBrutus - 08-12-2017

Hello Pine64 Community,

I am new to Linux and am trying to get Rstudio on my Pinebook with Q40s installed on the emmc module.  I found instructions from:

 http://herb.h.kobe-u.ac.jp/raspiinfo/rstudio_en.html who documents their experience on a Raspberry Pi 2/3, but I have encountered errors.. Also note that I  did not edit or create a swapfile (I had trouble / didnt feel comfortable, but I also didnt use nano.. I tried just in the GUI with the default program and got a permissions error). Also I didn't mess with the shell... so pretty much everything in the "Requirements" section I passed by  Blush

Aside from the first section I followed their instructions exactly although with my corresponding directories...

But, I get to the line..

cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release

When I execute the command and I am experiencing an error.. here is what the output says in my terminal..
Code:
root@pine64:/home/adminq/Documents/rstudio/build# cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- LSB release: debian
-- Boost version: 1.63.0
-- Using RStudio-provided Boost 1.63.0
-- Performing Test HAVE_SCANDIR_POSIX
-- Performing Test HAVE_SCANDIR_POSIX - Success
-- Looking for SA_NOCLDWAIT
-- Looking for SA_NOCLDWAIT - found
-- Looking for SO_PEERCRED
-- Looking for SO_PEERCRED - found
-- Looking for inotify_init1
-- Looking for inotify_init1 - found
-- Looking for getpeereid
-- Looking for getpeereid - not found
-- Looking for setresuid
-- Looking for setresuid - found
-- Found LibR: /usr/lib/R
-- Found R: /usr/lib/R
-- Performing Test LIBR_MINIMUM_VERSION
-- Performing Test LIBR_MINIMUM_VERSION - Success
CMake Error at src/cpp/desktop/CMakeLists.txt:84 (find_package):
 By not providing "FindQt5WebChannel.cmake" in CMAKE_MODULE_PATH this
 project has asked CMake to find a package configuration file provided by
 "Qt5WebChannel", but CMake did not find one.

 Could not find a package configuration file provided by "Qt5WebChannel"
 with any of the following names:

   Qt5WebChannelConfig.cmake
   qt5webchannel-config.cmake

 Add the installation prefix of "Qt5WebChannel" to CMAKE_PREFIX_PATH or set
 "Qt5WebChannel_DIR" to a directory containing one of the above files.  If
 "Qt5WebChannel" provides a separate development package or SDK, be sure it
 has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/adminq/Documents/rstudio/build/CMakeFiles/CMakeOutput.log".
See also "/home/adminq/Documents/rstudio/build/CMakeFiles/CMakeError.log".


So, would anyone be able to assist me with troubleshooting? 

Thanks in advance,
MiningBrutus


RE: +PINEBOOK: Newbie Trying to Compile RStudio On Pinebook - MarkHaysHarris777 - 08-12-2017

I have deleted your original duplicate posting .


RE: +PINEBOOK: Newbie Trying to Compile RStudio On Pinebook - MiningBrutus - 08-12-2017

(08-12-2017, 03:59 PM)MarkHaysHarris777 Wrote: I have deleted your original duplicate posting .

I thought I had deleted it after I re-posted.. I guess not?..  Thank you for deleting


RE: +PINEBOOK: Newbie Trying to Compile RStudio On Pinebook - MarkHaysHarris777 - 08-12-2017

(08-12-2017, 04:24 PM)MiningBrutus Wrote:
(08-12-2017, 03:59 PM)MarkHaysHarris777 Wrote: I have deleted your original duplicate posting .

I thought I had deleted it after I re-posted.. I guess not?..  Thank you for deleting

You are welcome;  your delete is called a "soft delete"  --  the moderators come along later and clean things up permanently once they understand you intent.