Install distributedR Ubuntu 12.04

I have problems installing this on Ubunutu 12.04. It get's through the first part fine, but stops at HPdata:
Setting up vertica-distributedr (0.7.0) ...mkdir: created directory '/tmp/distributedR_addons'
Installing Rcpp_0.11.2.tar.gz
Installing RInside_0.2.11.tar.gz
Installing XML_3.98-1.1.tar.gz
Installing data.table_1.8.10.tar.gz
Installing randomForest_4.6-7.tar.gz
Installing distributedR
Installing Executor
Installing MatrixHelper
Installing HPDGLM
Installing HPdcluster
Installing HPdgraph
Installing HPdclassifier
Installing HPdata
... error
dpkg: error processing vertica-distributedr (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:

/tmp/distributedR_addons/vertica_distributedR_addon_install.log has the following errors in the end:
g++ -I/usr/share/R/include -DNDEBUG 'Rscript -e 'Rcpp:::CxxFlags()''  -I"/usr/local/lib/R/site-library/Rcpp/include"   -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FOR
TIFY_SOURCE=2 -g  -c hpdsplitter.cpp -o hpdsplitter.o
g++: error: WARNING:: No such file or directory
g++: error: ignoring: No such file or directory
g++: error: environment: No such file or directory
g++: error: value: No such file or directory
g++: error: of: No such file or directory
g++: error: R_HOME: No such file or directory
make: *** [hpdsplitter.o] Error 1
ERROR: compilation failed for package ‘HPdata’
* removing ‘/usr/local/lib/R/site-library/HPdata’
[email protected]:/data20/USA_EXTRA_RP_FL$ g++
g++: fatal error: no input files
compilation terminated.
Any help is appreciated.


  • I also tried to install from scratch (DistributedR-master) and get  
    /usr/bin/ld: cannot find -latomicio
    This library is built before, but the path is set wrong. it's in third_party/atomicio
    Any easy way to solve this?

    g++ -g -O2 -fopenmp -finline-limit=10000 -DNDEBUG -DBOOST_LOG_DYN_LINK -DCSTACK_DEFNS -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -I /third_party/install/include -I /platform/messaging/gen-cpp -I /third_party/boost_threadpool/threadpool -I /third_party/atomicio -I platform/common '/usr/lib/R/bin/R CMD config --cppflags' 'Rscript -e "Rcpp:::CxxFlags()"' 'Rscript -e "RInside:::CxxFlags()"' -lm -rdynamic -L /lib -Wl,-rpath,/lib '/usr/lib/R/bin/R CMD config --ldflags' -lpthread -L/third_party/install/lib -Wl,-rpath,/third_party/install/lib -lboost_thread -lboost_system -lboost_log -lboost_log_setup -lboost_chrono -L /third_party/atomicio -Wl,-rpath,/third_party/atomicio -latomicio 'Rscript -e "Rcpp:::LdFlags()"' 'Rscript -e "RInside:::LdFlags()"' -laio -lrt -Wno-deprecated-declarations -DSTRICT_R_HEADERS          -fPIC -shared -o /lib/ -lprotobuf /platform/messaging/gen-cpp/ /platform/messaging/gen-cpp/ /platform/messaging/gen-cpp/ cannot find -latomicio
    collect2: ld returned 1 exit status
    make: *** [/lib/] Error 1

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.