Mon Apr 22, 2019 12:43 am
Login Register Lost Password? Contact Us


Error during R plugin installation

Questions and comments related to the rHPCC integration plugin

Mon Sep 26, 2016 7:10 pm Change Time Zone

Please refer attachment for error message and help me to fix this

VirtualBox version 5.1.6
HPCCSystemsVM-amd64-6.0.4-1

Note: I modified HPCC-Platform/cmake_modules/commonSetup.cmake and commented line 133 to 144 as I got the below error

hpccdemo@HPCCSystemsVM-amd64-6:~$ cmake -DREMBED=ON HPCC-Platform
CMake Error at cmake_modules/commonSetup.cmake:119 (message):
Cannot declare multiple plugins in a plugin package
Call Stack (most recent call first):
cmake_modules/commonSetup.cmake:149 (SET_PLUGIN_PACKAGE)
CMakeLists.txt:142 (include)
Attachments
1.jpg
(229.97 KiB) Downloaded 857 times
balajisampath
 
Posts: 63
Joined: Mon Jul 22, 2013 6:29 pm

Tue Sep 27, 2016 6:36 pm Change Time Zone

The error you're getting is due to commenting out lines 133-144.

CMake Error at cmake_modules/commonSetup.cmake:119 (message):
Cannot declare multiple plugins in a plugin package


This was guarding against what happened in your build. You were somehow able to build Rembed on top of a cmake cache that already had kafka enabled, which then caused both the R and Kafka plugins to be built, and packaged together. This is why you're getting package installation conflicts in the pasted output.

What I suggest is this. First remove your CMakeCache.txt file between builds. This insures that any settings from a previous build can't get carried over to a new one. Then hop into the HPCC-Platform directory and do a hard reset on your head so it matches up with master again. `git reset --hard origin/master` is generally the command, assuming origin is the hpcc-systems/HPCC-Platform.git repository. Then go and rerun CMAKE -DREMBED=ON HPCC-Platform.
mgardner
 
Posts: 13
Joined: Tue Jan 20, 2015 9:30 pm

Tue Sep 27, 2016 9:41 pm Change Time Zone

Thank You mgardner
It worked. I was able to build.
balajisampath
 
Posts: 63
Joined: Mon Jul 22, 2013 6:29 pm

Wed Sep 28, 2016 1:07 pm Change Time Zone

Hi,

If this is a VM from the downloads page, then it should have had R embed already installed. Was there some reason you tried to build it inside the VM?
clo
 
Posts: 51
Joined: Thu May 12, 2011 11:57 am

Wed Sep 28, 2016 3:53 pm Change Time Zone

Yes it is VM but, didn't have Rembed.

Not sure if I missed something.I was not able to run R embed until i installed rembed.
Also based on below lines in CMakeLists.txt I thought its not available and I build it.

# Component: Rembed

#####################################################
# Description:
# ------------
# Cmake Input File for Rembed
# Note that as RInside and RCpp are GPL licensed,
# Rembed must not be packaged with any Apache licenced
# software such as the HPCC platform or client tools
#####################################################
balajisampath
 
Posts: 63
Joined: Mon Jul 22, 2013 6:29 pm

Wed Sep 28, 2016 4:16 pm Change Time Zone

HPCCSystems uses Apache2.0 license and R uses a different license. This is the reason HPCCSystems VM build doesn't include R.
ming
 
Posts: 23
Joined: Wed Dec 18, 2013 12:38 pm


Return to R Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron